dawn-cmake/test
Ben Clayton 3242d3e8c9 writer/hlsl: Use vector write helper for dynamic indices
This uses FXC compilation failure mitigation for _any_ vector index assignment that has a non-constant index. FXC can still fall over if the loop calls a function that performs the dynamic index.

Use some vector swizzle logic to avoid branches in the helper.

Fixed: tint:980
Change-Id: I2a759d88a7d884bc61b4631cf57feb4acc8178de
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57882
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2021-07-14 18:43:51 +00:00
..
access validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
array writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
buffer writer/hlsl: Simplify UBO accesses for static indexing 2021-07-13 12:18:13 +00:00
bug writer/hlsl: Use vector write helper for dynamic indices 2021-07-14 18:43:51 +00:00
expressions Revert "writer/hlsl: Special case negative zero" 2021-07-08 16:49:33 +00:00
fxc_bugs/vector_assignment_in_loop writer/hlsl: Use vector write helper for dynamic indices 2021-07-14 18:43:51 +00:00
intrinsics Make ArrayLengthFromUniform transform emit a valid UBO 2021-07-14 17:28:01 +00:00
loops test: Add loop test cases 2021-06-21 19:04:56 +00:00
ptr_ref writer/hlsl: Simplify UBO accesses for static indexing 2021-07-13 12:18:13 +00:00
samples writer/hlsl: Simplify UBO accesses for static indexing 2021-07-13 12:18:13 +00:00
shader_io writer/hlsl: Implement invariant attribute 2021-07-13 12:29:26 +00:00
statements/for reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
struct writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
types writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
var writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
BUILD.gn sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00