dawn-cmake/test/statements/for
Ben Clayton e4e7485854 transform: Fix PromoteInitializersToConstVar handling of for-loops
PromoteInitializersToConstVar was erroring on for loops that contained array or structure constructor expressions.

Added lots more tests.

Fixed: tint:1364
Change-Id: I033eaad94756ea496fc8bc5f03f39c6dba4e3a88
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75580
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-01-06 21:32:41 +00:00
..
condition transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
continuing transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
initializer transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl [test]: Add some test cases for for-loops 2021-07-08 10:00:17 +00:00
basic.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
basic.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
basic.wgsl.expected.msl Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
basic.wgsl.expected.spvasm [test]: Add some test cases for for-loops 2021-07-08 10:00:17 +00:00
basic.wgsl.expected.wgsl reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
complex.wgsl [test]: Add some test cases for for-loops 2021-07-08 10:00:17 +00:00
complex.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
complex.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
complex.wgsl.expected.msl Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
complex.wgsl.expected.spvasm [test]: Add some test cases for for-loops 2021-07-08 10:00:17 +00:00
complex.wgsl.expected.wgsl reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
empty.wgsl [test]: Add some test cases for for-loops 2021-07-08 10:00:17 +00:00
empty.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
empty.wgsl.expected.hlsl Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
empty.wgsl.expected.msl reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
empty.wgsl.expected.spvasm [test]: Add some test cases for for-loops 2021-07-08 10:00:17 +00:00
empty.wgsl.expected.wgsl writer/wgsl: Fix printing of for-loops 2021-07-15 22:20:29 +00:00
scoping.wgsl resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00
scoping.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
scoping.wgsl.expected.hlsl resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00
scoping.wgsl.expected.msl resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00
scoping.wgsl.expected.spvasm resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00
scoping.wgsl.expected.wgsl resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00