dawn-cmake/test/tint/statements
Ben Clayton 3cde73cb1a tint/transform/utils: Correctly scope for-loop init
When using HoistToDeclBefore on a for-loop initializer, the inserted
statement would be scoped outside the for-loop. This was incorrect.

Change-Id: I764d07068e907cc203145ac8d6f0110b1b73e667
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122301
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2023-03-02 17:18:27 +00:00
..
assign tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
compound_assign tint/transform/utils: Correctly scope for-loop init 2023-03-02 17:18:27 +00:00
decrement tint/transform/utils: Correctly scope for-loop init 2023-03-02 17:18:27 +00:00
discard tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
for tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
increment tint/transform/utils: Correctly scope for-loop init 2023-03-02 17:18:27 +00:00
switch tint/hlsl: for default-only switch, only emit condition if it has side-effects 2023-02-01 15:46:34 +00:00