dawn-cmake/src
James Price b2619443d9 reader/spirv: Propagate errors during composite extraction
This prevents nullptr dereferences when invalid OpConstantComposite
instructions make it past spirv-val.

Fixed: chromium:1231650
Change-Id: Iddfe04dcfdce382096ae7dec7af8718b579f7951
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/61080
Auto-Submit: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-08-06 20:31:59 +00:00
..
ast ast: Make the fields of WorkgroupDecoration const 2021-07-30 11:23:06 +00:00
diagnostic diag: Remove ICE bug report message 2021-08-04 20:19:28 +00:00
inspector Inspector: Add input [[sample_mask]] to EntryPoint 2021-08-06 00:26:31 +00:00
reader reader/spirv: Propagate errors during composite extraction 2021-08-06 20:31:59 +00:00
resolver validation: atomics access mode and storage class 2021-08-05 15:18:29 +00:00
sem validation: function scope variable store type must be constructible 2021-07-28 22:43:36 +00:00
transform spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
utils utils: Put temporary files in the tmp directory 2021-07-30 19:14:08 +00:00
val val: Remove source from validation result 2021-07-14 13:23:45 +00:00
writer spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
BUILD.gn reader/spirv: Handle the MatrixStride decoration 2021-07-27 08:17:29 +00:00
CMakeLists.txt Handle complex cases in Inspector::GenerateSamplerTargets 2021-07-27 15:42:51 +00:00
block_allocator.h Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
block_allocator_test.cc Add tint::BlockAllocator<T> 2021-01-21 15:30:10 +00:00
castable.cc Pull Is() out of castable and into a new TypeInfo 2021-03-02 20:30:08 +00:00
castable.h castable.h: Fix warning 2021-04-30 21:27:02 +00:00
castable_test.cc Castable: Add FLAGS template argument for Is,As 2021-04-16 15:05:44 +00:00
clone_context.cc Program: Track what transforms have been applied 2021-06-25 10:26:26 +00:00
clone_context.h transform/InlinePtrLets: Fix ICE for lets in for-loops 2021-07-15 22:20:29 +00:00
clone_context_test.cc CloneContext: Add an overload of Replace() that takes a function 2021-07-15 19:10:15 +00:00
debug.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
debug.h debug: Include system in assert string 2021-07-14 18:42:02 +00:00
debug_test.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
demangler.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
demangler.h Simplify calls to ast::Node::[to_]str() 2021-01-29 11:22:40 +00:00
demangler_test.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
intrinsic_table.cc Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
intrinsic_table.h IntrinsicTable: De-duplicate returned Intrinsics 2021-07-15 20:34:21 +00:00
intrinsic_table.inl intrinsics: Fix signature of ldexp() 2021-07-28 21:19:26 +00:00
intrinsic_table.inl.tmpl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
intrinsic_table_test.cc Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
intrinsics.def intrinsics: Fix signature of ldexp() 2021-07-28 21:19:26 +00:00
program.cc transform: Add a debug flag to dump WGSL 2021-07-15 20:24:38 +00:00
program.h transform: Add a debug flag to dump WGSL 2021-07-15 20:24:38 +00:00
program_builder.cc validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
program_builder.h spir-writer: handle break continuing block 2021-07-27 15:12:27 +00:00
program_builder_test.cc Remove typ::TypePair. 2021-05-20 15:10:48 +00:00
program_id.cc Add ProgramID feed it into all ast::Nodes 2021-04-13 23:27:27 +00:00
program_id.h diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
program_test.cc Validate that in/out storage classes are not used 2021-06-24 15:53:26 +00:00
scope_stack.h Add std::hash<tint::Symbol> specialization 2021-01-11 22:02:42 +00:00
scope_stack_test.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
source.cc Resolver: Check that every AST node is reached once 2021-04-19 19:16:12 +00:00
source.h wgsl parser: use new TypesBuilder factory functions, and set Source for ast::Type nodes 2021-04-27 17:32:37 +00:00
symbol.cc symbol: Add operator<() 2021-07-29 19:55:35 +00:00
symbol.h symbol: Add operator<() 2021-07-29 19:55:35 +00:00
symbol_table.cc Fix TextGenerator::UniqueIdentifier() failing with empty string arg 2021-06-29 22:07:05 +00:00
symbol_table.h Fix TextGenerator::UniqueIdentifier() failing with empty string arg 2021-06-29 22:07:05 +00:00
symbol_table_test.cc Fix TextGenerator::UniqueIdentifier() failing with empty string arg 2021-06-29 22:07:05 +00:00
symbol_test.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
test_main.cc transform: Add a debug flag to dump WGSL 2021-07-15 20:24:38 +00:00
traits.h Validate function call arguments 2021-06-09 20:17:59 +00:00
traits_test.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00