dawn-cmake/src
Ben Clayton 595b0547d4 writer[spirv,hlsl]: Call UnwrapRef() for splats
The TypeConstructorExpression logic that tested for splats was not considering references. This led to broken emission for the SPIR-V and HLSL backends.

Fixed: tint:992
Change-Id: I9824b71f526997f91d380c09b459f4fd73065b19
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58397
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-07-18 15:41:25 +00:00
..
ast validation: textureSample*() offset argument must be literal or const_expr 2021-07-16 13:38:05 +00:00
diagnostic diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
inspector IntrinsicTable: De-duplicate returned Intrinsics 2021-07-15 20:34:21 +00:00
reader reader/wgsl: Add source info to CallStatement 2021-07-18 14:45:24 +00:00
resolver Resolver: Validation for continuing blocks 2021-07-17 18:09:26 +00:00
sem Resolver: Validation for continuing blocks 2021-07-17 18:09:26 +00:00
transform transform/Robustness: Re-work the accessor clamping 2021-07-17 18:26:06 +00:00
utils IntrinsicTable: De-duplicate returned Intrinsics 2021-07-15 20:34:21 +00:00
val val: Remove source from validation result 2021-07-14 13:23:45 +00:00
writer writer[spirv,hlsl]: Call UnwrapRef() for splats 2021-07-18 15:41:25 +00:00
BUILD.gn sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
CMakeLists.txt Reland "Validate storage class constraints" 2021-07-15 19:09:25 +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 IntrinsicTable: De-duplicate returned Intrinsics 2021-07-15 20:34:21 +00:00
intrinsic_table.h IntrinsicTable: De-duplicate returned Intrinsics 2021-07-15 20:34:21 +00:00
intrinsic_table.inl [intrinsics]: Add texture_1d level overloads 2021-07-15 16:14:34 +00:00
intrinsic_table.inl.tmpl intrinsic_table.def: Support [[deprecated]] on fn 2021-06-10 17:31:54 +00:00
intrinsic_table_test.cc IntrinsicTable: De-duplicate returned Intrinsics 2021-07-15 20:34:21 +00:00
intrinsics.def [intrinsics]: Add texture_1d level overloads 2021-07-15 16:14:34 +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 Resolver: Validation for continuing blocks 2021-07-17 18:09:26 +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 diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
symbol.h Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +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