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
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
basic.wgsl.expected.spvasm
basic.wgsl.expected.wgsl
complex.wgsl
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
complex.wgsl.expected.spvasm
complex.wgsl.expected.wgsl
empty.wgsl
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
empty.wgsl.expected.spvasm
empty.wgsl.expected.wgsl
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