dawn-cmake/test/bug/tint
Antonio Maiorano 821f9bb525 Fix FXC compile errors on divide by zero
FXC fails to compile when it determines that the rhs of an integral
division is zero with "error X4010: Unsigned integer divide by zero".

bclayton's fix (https://dawn-review.googlesource.com/c/tint/+/60500)
addressed cases for division by an integer constant 0. This CL adds the
missing support for division by integral vectors with 0 components.

FXC also fails on division by integral expressions that it can fold to
0. To handle these cases, we now emit a runtime check for 0 and replace
by 1. In the cases I've tested, FXC seems able to optimize these checks
away.

Bug: tint:1083
Change-Id: I02f08e9077882f03c1e42b62dacb742a48fa48ba
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73580
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2021-12-21 14:48:26 +00:00
..
219.spvasm Add test case for tint:219 2021-07-13 16:41:56 +00:00
219.spvasm.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 Add test case for tint:219 2021-07-13 16:41:56 +00:00
221.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
221.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
292.wgsl resolver: Reenable VS validation for returning position 2021-06-16 09:50:11 +00:00
292.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 resolver: Reenable VS validation for returning position 2021-06-16 09:50:11 +00:00
294.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
294.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
369.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
369.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
403.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
403.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
413.spvasm test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
413.spvasm.expected.glsl GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +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 spirv-reader: Sink pointer-to-vector-component 2021-11-04 19:55:57 +00:00
453.wgsl Disallow taking the address of a vector component 2021-11-04 19:55:57 +00:00
453.wgsl.expected.glsl GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +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 Disallow taking the address of a vector component 2021-11-04 19:55:57 +00:00
492.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
492.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
534.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
534.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
744.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
744.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
749.spvasm test: Move bug cases to sub-directories 2021-05-17 21:01:37 +00:00
749.spvasm.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +00:00
749.spvasm.expected.hlsl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
749.spvasm.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
749.spvasm.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
749.spvasm.expected.wgsl reader/spirv: Do not generate block attributes 2021-12-09 15:45:03 +00:00
757.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
757.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
764.wgsl test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
764.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 test: Move bug cases to sub-directories 2021-05-17 21:01:37 +00:00
782.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
804.spv test: Add bug cases taken from monorail 2021-06-10 18:49:14 +00:00
804.spv.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +00:00
804.spv.expected.hlsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +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 Update GLSL expected results. 2021-12-21 01:48:13 +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 transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
824.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
824.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
824.wgsl.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
824.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
824.wgsl.expected.wgsl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
825.wgsl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
825.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
825.wgsl.expected.hlsl resolver: Support shadowing 2021-11-23 20:45:51 +00:00
825.wgsl.expected.msl resolver: Support shadowing 2021-11-23 20:45:51 +00:00
825.wgsl.expected.spvasm transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
825.wgsl.expected.wgsl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
827.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
827.wgsl.expected.glsl GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
870.spvasm test: Add case for tint:870 2021-06-16 09:50:11 +00:00
870.spvasm.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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: Do not generate block attributes 2021-12-09 15:45:03 +00:00
913.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
913.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
914.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
914.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
922.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
922.wgsl.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
926.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
926.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
942.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
942.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
943.spvasm test: Add more reported bug cases 2021-07-02 22:17:25 +00:00
943.spvasm.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +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: Do not generate block attributes 2021-12-09 15:45:03 +00:00
948.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
948.wgsl.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
949.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
949.wgsl.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +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 Update GLSL expected results. 2021-12-21 01:48:13 +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: Do not generate block attributes 2021-12-09 15:45:03 +00:00
959.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
959.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
977.spvasm test: Add case for tint:977 2021-07-15 22:36:44 +00:00
977.spvasm.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +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: Do not generate block attributes 2021-12-09 15:45:03 +00:00
978.wgsl Add test case for tint:978 2021-07-14 18:01:36 +00:00
978.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 Add test case for tint:978 2021-07-14 18:01:36 +00:00
980.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
980.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
990.wgsl transform/InlinePtrLets: Fix ICE for lets in for-loops 2021-07-15 22:20:29 +00:00
990.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
990.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
990.wgsl.expected.msl transform/InlinePtrLets: Fix ICE for lets in for-loops 2021-07-15 22:20:29 +00:00
990.wgsl.expected.spvasm transform/InlinePtrLets: Fix ICE for lets in for-loops 2021-07-15 22:20:29 +00:00
990.wgsl.expected.wgsl writer/wgsl: Fix printing of for-loops 2021-07-15 22:20:29 +00:00
992.wgsl writer[spirv,hlsl]: Call UnwrapRef() for splats 2021-07-18 15:41:25 +00:00
992.wgsl.expected.glsl GLSL: fix single-valued vector init. 2021-11-22 16:14:16 +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 writer[spirv,hlsl]: Call UnwrapRef() for splats 2021-07-18 15:41:25 +00:00
993.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
993.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
998.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
998.wgsl.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1046.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1046.wgsl.expected.glsl Update GLSL expected results. 2021-12-21 01:48:13 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1064.wgsl transform: LoopToForLoop - fix bad emission 2021-07-29 18:05:19 +00:00
1064.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 transform: LoopToForLoop - fix bad emission 2021-07-29 18:05:19 +00:00
1076.wgsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1076.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1081.wgsl HLSL: workaround FXC sometimes failing with 'not all control paths return a result' in functions with discard 2021-11-10 14:38:34 +00:00
1081.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
1081.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
1081.wgsl.expected.msl HLSL: workaround FXC sometimes failing with 'not all control paths return a result' in functions with discard 2021-11-10 14:38:34 +00:00
1081.wgsl.expected.spvasm HLSL: workaround FXC sometimes failing with 'not all control paths return a result' in functions with discard 2021-11-10 14:38:34 +00:00
1081.wgsl.expected.wgsl HLSL: workaround FXC sometimes failing with 'not all control paths return a result' in functions with discard 2021-11-10 14:38:34 +00:00
1083.wgsl tests: Regenerate expected outputs for HLSL / FXC 2021-07-29 18:05:19 +00:00
1083.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 tests: Regenerate expected outputs for HLSL / FXC 2021-07-29 18:05:19 +00:00
1086.wgsl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
1086.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
1088.spvasm reader/spirv: Partially handle MatrixStride on matrix arrays 2021-08-06 19:48:32 +00:00
1088.spvasm.expected.glsl glsl: Always emit structures 2021-12-09 15:45:03 +00:00
1088.spvasm.expected.hlsl test: Update expected test output 2021-08-10 16:16:55 +00:00
1088.spvasm.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
1088.spvasm.expected.spvasm test: Update expected test output 2021-08-10 16:16:55 +00:00
1088.spvasm.expected.wgsl reader/spirv: Do not generate block attributes 2021-12-09 15:45:03 +00:00
1113.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1113.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +00:00
1113.wgsl.expected.hlsl Fix FXC compile errors on divide by zero 2021-12-21 14:48:26 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1121.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1121.wgsl.expected.glsl glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1136.wgsl tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1136.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
1321.wgsl test: Add a test case for tint:1321 2021-11-25 18:02:36 +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 test: Add a test case for tint:1321 2021-11-25 18:02:36 +00:00