dawn-cmake/test/tint/loops
dan sinclair 4b88dbcf8e Fixup continue support in while loops.
The generators were not setting `emit_continuing_` when emitting while
loops. This caused a crash when a `continue` was encountered. This CL
adds the `emit_continuing_` setup to the while emission. It also guards
the `emit_continuing_` usage with making sure the function is setup.

Bug: tint:1490
Change-Id: Ia89c49e567acda71a1f851a582103723cff71d49
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93960
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-06-16 15:27:38 +00:00
..
continue_in_switch.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
continue_in_switch.wgsl.expected.glsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
continue_in_switch.wgsl.expected.hlsl HLSL: workaround FXC error "continue cannot be used in a switch" 2022-03-31 15:02:25 +00:00
continue_in_switch.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
continue_in_switch.wgsl.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
continue_in_switch.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
loop.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop.wgsl.expected.glsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop_with_continuing.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop_with_continuing.wgsl.expected.glsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop_with_continuing.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop_with_continuing.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop_with_continuing.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
loop_with_continuing.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops.wgsl.expected.glsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops_with_continuing.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops_with_continuing.wgsl.expected.glsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops_with_continuing.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops_with_continuing.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops_with_continuing.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nested_loops_with_continuing.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
while.wgsl Add while statement parsing. 2022-06-16 12:01:27 +00:00
while.wgsl.expected.glsl Add while statement parsing. 2022-06-16 12:01:27 +00:00
while.wgsl.expected.hlsl Add while statement parsing. 2022-06-16 12:01:27 +00:00
while.wgsl.expected.msl Add while statement parsing. 2022-06-16 12:01:27 +00:00
while.wgsl.expected.spvasm Add while statement parsing. 2022-06-16 12:01:27 +00:00
while.wgsl.expected.wgsl Add while statement parsing. 2022-06-16 12:01:27 +00:00
while_with_continue.wgsl Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
while_with_continue.wgsl.expected.glsl Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
while_with_continue.wgsl.expected.hlsl Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
while_with_continue.wgsl.expected.msl Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
while_with_continue.wgsl.expected.spvasm Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
while_with_continue.wgsl.expected.wgsl Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00