dawn-cmake/test/statements/for/continuing
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
..
array_ctor.wgsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
array_ctor.wgsl.expected.glsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
array_ctor.wgsl.expected.hlsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
array_ctor.wgsl.expected.msl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
array_ctor.wgsl.expected.spvasm transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
array_ctor.wgsl.expected.wgsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl.expected.glsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl.expected.hlsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl.expected.msl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl.expected.spvasm transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
basic.wgsl.expected.wgsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct_ctor.wgsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct_ctor.wgsl.expected.glsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct_ctor.wgsl.expected.hlsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct_ctor.wgsl.expected.msl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct_ctor.wgsl.expected.spvasm transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct_ctor.wgsl.expected.wgsl transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00