dawn-cmake/test/bug/tint
Stephen White a924ffe70c GLSL: fix sample_index, sample_mask and bitcasts
In GLSL, gl_SampleID and gl_SampleMask[In] require the
GL_OES_sample_variables extension, so output:

"#extension GL_OES_sample_variables : require"

in the header if those builtins is used.

Note that extensions must be inserted before the default precision
declaration, but helpers must be inserted after it, so we set a flag
and emit extensions, then the precision declaration, then helpers.

Further fixes:
- use gl_SampleMaskIn for input builtins, gl_SampleMask for output,
  necessitating the addition of a storage class to GLSLBuiltinToString()
- fix the handling of gl_SampleMaskIn: it's array<i32> in GLSL, not
  array<u32> as in SPIR-V
- centralize conversions for GLSL builtins used as input variables in
  FromGLSLBuiltin()
- implement bitcasts on assignment to GLSL builtin output variables,
  centralized in ToGLSLBuiltin()
- update the extension handling in the GLSL writer to check for both
  sample_index and sample_mask.
- call UnwrapRef() in GLSL's EmitBitcast(). In the test case, we were
  not recognizing the argument as a uint, yielding float() instead of
  uintBitsToFloat().

Bug: tint:1408, tint:1412, tint:1414

Change-Id: Ie01541eb6e7cdf4e21347341f988bff916346797
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78920
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-04 16:41:33 +00:00
..
219.spvasm Add test case for tint:219 2021-07-13 16:41:56 +00:00
219.spvasm.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
219.spvasm.expected.hlsl Add test case for tint:219 2021-07-13 16:41:56 +00:00
219.spvasm.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
219.spvasm.expected.spvasm Add test case for tint:219 2021-07-13 16:41:56 +00:00
219.spvasm.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
221.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
221.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
221.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
221.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
221.wgsl.expected.spvasm transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +00:00
221.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
292.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
292.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
292.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
292.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
292.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
292.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
294.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
294.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
294.wgsl.expected.hlsl wgsl: Remove [[access]] and [[offset]] decorations 2021-06-16 09:19:36 +00:00
294.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
294.wgsl.expected.spvasm wgsl: Remove [[access]] and [[offset]] decorations 2021-06-16 09:19:36 +00:00
294.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
369.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
369.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
369.wgsl.expected.hlsl [test]: Add test case for tint:369 2021-07-08 12:00:31 +00:00
369.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
369.wgsl.expected.spvasm [test]: Add test case for tint:369 2021-07-08 12:00:31 +00:00
369.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
403.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
403.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
403.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
403.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
403.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
403.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
413.spvasm test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
413.spvasm.expected.glsl GLSL: fix textureLoad() and textureStore(), depth textures, and more. 2022-02-03 22:39:13 +00:00
413.spvasm.expected.hlsl Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
413.spvasm.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
413.spvasm.expected.spvasm Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
413.spvasm.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
453.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
453.wgsl.expected.glsl GLSL: fix textureLoad() and textureStore(), depth textures, and more. 2022-02-03 22:39:13 +00:00
453.wgsl.expected.hlsl Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
453.wgsl.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
453.wgsl.expected.spvasm Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
453.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
492.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
492.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
492.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
492.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
492.wgsl.expected.spvasm transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +00:00
492.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
534.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
534.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
534.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
534.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
534.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
534.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
744.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
744.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
744.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
744.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
744.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
744.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
749.spvasm test: Move bug cases to sub-directories 2021-05-17 21:01:37 +00:00
749.spvasm.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
749.spvasm.expected.hlsl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
749.spvasm.expected.msl reader/spirv: Optimize MakeNullValue() 2022-01-05 20:24:22 +00:00
749.spvasm.expected.spvasm reader/spirv: Optimize MakeNullValue() 2022-01-05 20:24:22 +00:00
749.spvasm.expected.wgsl reader/spirv: Always run the cleanup transforms 2022-02-01 09:09:12 +00:00
757.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
757.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
757.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
757.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
757.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
757.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
764.wgsl test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
764.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
764.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
764.wgsl.expected.msl test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
764.wgsl.expected.spvasm test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
764.wgsl.expected.wgsl test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
782.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
782.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
782.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
782.wgsl.expected.msl Add transform/WrapArraysInStructs 2021-06-16 09:19:36 +00:00
782.wgsl.expected.spvasm test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
782.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
804.spv test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
804.spv.expected.glsl GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
804.spv.expected.hlsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
804.spv.expected.msl Update test expectation files 2021-11-08 20:16:48 +00:00
804.spv.expected.spvasm Update test expectation files 2021-11-08 20:16:48 +00:00
804.spv.expected.wgsl Update test expectation files 2021-11-08 20:16:48 +00:00
807.spv test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
807.spv.expected.glsl GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
807.spv.expected.hlsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
807.spv.expected.msl Update test expectation files 2021-11-08 20:16:48 +00:00
807.spv.expected.spvasm Update test expectation files 2021-11-08 20:16:48 +00:00
807.spv.expected.wgsl Update test expectation files 2021-11-08 20:16:48 +00:00
824.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
824.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
824.wgsl.expected.hlsl Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
824.wgsl.expected.msl Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
824.wgsl.expected.spvasm Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
824.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
825.wgsl Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
825.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
825.wgsl.expected.hlsl Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
825.wgsl.expected.msl Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
825.wgsl.expected.spvasm Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
825.wgsl.expected.wgsl Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
827.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
827.wgsl.expected.glsl GLSL: fix textureLoad() and textureStore(), depth textures, and more. 2022-02-03 22:39:13 +00:00
827.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
827.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
827.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
827.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
870.spvasm test: Add case for tint:870 2021-06-16 09:50:11 +00:00
870.spvasm.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
870.spvasm.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
870.spvasm.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
870.spvasm.expected.spvasm spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
870.spvasm.expected.wgsl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
913.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
913.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
913.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
913.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
913.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
913.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
914.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
914.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
914.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
914.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
914.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
914.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
922.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
922.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
922.wgsl.expected.hlsl wgsl-reader: reject identifiers starting with underscrore 2021-09-20 14:38:45 +00:00
922.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
922.wgsl.expected.spvasm wgsl-reader: reject identifiers starting with underscrore 2021-09-20 14:38:45 +00:00
922.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
926.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
926.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
926.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
926.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
926.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
926.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
942.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
942.wgsl.expected.glsl GLSL: fix textureLoad() and textureStore(), depth textures, and more. 2022-02-03 22:39:13 +00:00
942.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
942.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
942.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
942.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
943.spvasm test: Add more reported bug cases 2021-07-02 22:17:25 +00:00
943.spvasm.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
943.spvasm.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
943.spvasm.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
943.spvasm.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
943.spvasm.expected.wgsl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
948.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
948.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
948.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
948.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
948.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
948.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
949.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
949.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
949.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
949.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
949.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
949.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
951.spvasm [writer/hlsl,msl] Correctly generate inf and nan literals 2021-07-06 09:43:49 +00:00
951.spvasm.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
951.spvasm.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
951.spvasm.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
951.spvasm.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
951.spvasm.expected.wgsl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
959.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
959.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
959.wgsl.expected.hlsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
959.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
959.wgsl.expected.spvasm Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
959.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
977.spvasm test: Add case for tint:977 2021-07-15 22:36:44 +00:00
977.spvasm.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
977.spvasm.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
977.spvasm.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
977.spvasm.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
977.spvasm.expected.wgsl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
978.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
978.wgsl.expected.glsl GLSL: fix shadow samplers, and textures generally. 2022-02-02 15:25:42 +00:00
978.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
978.wgsl.expected.msl msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
978.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
978.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
980.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
980.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
980.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
980.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
980.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
980.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
990.wgsl validation: Error on obviously infinite loops 2022-01-14 17:16:32 +00:00
990.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
990.wgsl.expected.hlsl validation: Error on obviously infinite loops 2022-01-14 17:16:32 +00:00
990.wgsl.expected.msl validation: Error on obviously infinite loops 2022-01-14 17:16:32 +00:00
990.wgsl.expected.spvasm validation: Error on obviously infinite loops 2022-01-14 17:16:32 +00:00
990.wgsl.expected.wgsl validation: Error on obviously infinite loops 2022-01-14 17:16:32 +00:00
992.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
992.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
992.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
992.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
992.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
992.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
993.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
993.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
993.wgsl.expected.hlsl transform: Fixes for DecomposeMemoryAccess 2021-07-15 20:29:09 +00:00
993.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
993.wgsl.expected.spvasm transform: Fixes for DecomposeMemoryAccess 2021-07-15 20:29:09 +00:00
993.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
998.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
998.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
998.wgsl.expected.hlsl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
998.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
998.wgsl.expected.spvasm test: Add test case for tint:998 2021-07-15 20:29:09 +00:00
998.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1046.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
1046.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1046.wgsl.expected.hlsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
1046.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
1046.wgsl.expected.spvasm Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
1046.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
1064.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1064.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1064.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
1064.wgsl.expected.msl transform: LoopToForLoop - fix bad emission 2021-07-29 18:05:19 +00:00
1064.wgsl.expected.spvasm transform: LoopToForLoop - fix bad emission 2021-07-29 18:05:19 +00:00
1064.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1076.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1076.wgsl.expected.glsl GLSL: fix sample_index, sample_mask and bitcasts 2022-02-04 16:41:33 +00:00
1076.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1076.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1076.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
1076.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1081.wgsl validation: Require interpolate(flat) for integers 2022-01-25 01:01:39 +00:00
1081.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1081.wgsl.expected.hlsl validation: Require interpolate(flat) for integers 2022-01-25 01:01:39 +00:00
1081.wgsl.expected.msl validation: Require interpolate(flat) for integers 2022-01-25 01:01:39 +00:00
1081.wgsl.expected.spvasm validation: Require interpolate(flat) for integers 2022-01-25 01:01:39 +00:00
1081.wgsl.expected.wgsl validation: Require interpolate(flat) for integers 2022-01-25 01:01:39 +00:00
1083.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1083.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1083.wgsl.expected.hlsl Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
1083.wgsl.expected.msl tests: Regenerate expected outputs for HLSL / FXC 2021-07-29 18:05:19 +00:00
1083.wgsl.expected.spvasm tests: Regenerate expected outputs for HLSL / FXC 2021-07-29 18:05:19 +00:00
1083.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1086.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1086.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1086.wgsl.expected.hlsl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
1086.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
1086.wgsl.expected.spvasm msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
1086.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1088.spvasm reader/spirv: Partially handle MatrixStride on matrix arrays 2021-08-06 19:48:32 +00:00
1088.spvasm.expected.glsl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
1088.spvasm.expected.hlsl test: Update expected test output 2021-08-10 16:16:55 +00:00
1088.spvasm.expected.msl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
1088.spvasm.expected.spvasm reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
1088.spvasm.expected.wgsl reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
1113.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
1113.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1113.wgsl.expected.hlsl Fix FXC compile errors on modulo by zero 2021-12-22 15:02:09 +00:00
1113.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
1113.wgsl.expected.spvasm writer/hlsl: UnwrapRef() on atomic types 2021-08-12 18:23:10 +00:00
1113.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
1121.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1121.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1121.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
1121.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
1121.wgsl.expected.spvasm Rework Resolver so that we construct semantic types in a single pass. 2021-11-05 16:51:38 +00:00
1121.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1136.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1136.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1136.wgsl.expected.hlsl resolver: Allow parameters to shadow globals 2021-08-26 15:40:06 +00:00
1136.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
1136.wgsl.expected.spvasm resolver: Allow parameters to shadow globals 2021-08-26 15:40:06 +00:00
1136.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1321.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1321.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1321.wgsl.expected.hlsl test: Regenerated expected HLSL file 2021-11-26 15:28:49 +00:00
1321.wgsl.expected.msl test: Add a test case for tint:1321 2021-11-25 18:02:36 +00:00
1321.wgsl.expected.spvasm test: Add a test case for tint:1321 2021-11-25 18:02:36 +00:00
1321.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1369.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1369.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1369.wgsl.expected.hlsl Fixes for bugs around unreachable code 2022-01-14 10:16:24 +00:00
1369.wgsl.expected.msl Fixes for bugs around unreachable code 2022-01-14 10:16:24 +00:00
1369.wgsl.expected.spvasm Fixes for bugs around unreachable code 2022-01-14 10:16:24 +00:00
1369.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1385.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1385.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1385.wgsl.expected.hlsl msl: Fix non-struct runtime-sized array codegen 2022-01-19 19:36:17 +00:00
1385.wgsl.expected.msl msl: Fix non-struct runtime-sized array codegen 2022-01-19 19:36:17 +00:00
1385.wgsl.expected.spvasm msl: Fix non-struct runtime-sized array codegen 2022-01-19 19:36:17 +00:00
1385.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00