dawn-cmake/test
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
..
access GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
array Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
buffer writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
bug HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
expressions writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
identifiers/underscore IntrinsicTable: remove double underscores 2021-11-22 15:24:16 +00:00
intrinsics Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
layout/storage/mat2x2 Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
let GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
loops Manually generate HLSL skip files for vk-gl-cts e2e tests 2021-12-08 04:26:58 +00:00
matrix/constructor/elements GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
ptr_ref GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
samples Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
shader_io writer/msl: Only use [[invariant]] on MSL 2.1+ 2021-12-03 21:58:53 +00:00
shadowing resolver: Support shadowing 2021-11-23 20:45:51 +00:00
statements resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00
struct GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
types GLSL: fix single-valued vector init. 2021-11-22 16:14:16 +00:00
unittest/reader/spirv Add more SPIR-V reader unit test samples 2021-09-27 20:55:53 +00:00
var Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
vk-gl-cts HLSL: work around FXC failures when dynamically indexing matrices 2021-12-08 23:03:33 +00:00
BUILD.gn resolver: Fixes for bitcasts 2021-12-03 21:29:13 +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