dawn-cmake/test/bug/fxc/matrix_assignment_dynamic_i...
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
..
local_assign_scalar_x.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_x.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_x.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_x.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_x.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_xy.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_xy.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_xy.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_xy.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_xy.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_y.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_y.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_y.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_y.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_scalar_y.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_vector.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_vector.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_vector.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_vector.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
local_assign_vector.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_x.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_x.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_x.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_x.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_x.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_xy.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_xy.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_xy.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_xy.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_xy.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_y.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_y.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_y.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_y.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_scalar_y.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_vector.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_vector.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_vector.wgsl.expected.msl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_vector.wgsl.expected.spvasm HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
module_assign_vector.wgsl.expected.wgsl HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00