dawn-cmake/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matr...
Antonio Maiorano a8c202b8e7 HLSL: work around FXC failures when dynamically indexing matrices
This fixes errors like "error X3500: array reference cannot be used as
an l-value; not natively addressable". Note that FXC treats matrices
like arrays. We still get this error for dynamically indexed arrays in
structs.

Also improved HLSL assign tests, and add missing ones for vector
indexing.

Manually removed 20 e2e skip hlsl SKIP files that are now passing with
this change.

Bug: tint:1333
Change-Id: If23881a667857a4d4ec6881e72666af0a666ef10
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/71982
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2021-12-08 23:03:33 +00:00
..
0-opt.spvasm Add tests derived from VK-GL-CTS 2021-07-23 13:10:12 +00:00
0-opt.spvasm.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
0-opt.wgsl Add tests derived from VK-GL-CTS 2021-07-23 13:10:12 +00:00
0-opt.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00