dawn-cmake/test/unittest/reader/spirv/SpvParserCFGTest_EmitBody_Branch_LoopContinue_FromSwitch.spvasm.expected.glsl
Stephen White d5560400a3 Run all of the backends in the test runner.
Essentially, this adds GLSL to the list of backends to run.

Bug: tint:1358
Change-Id: I5075df32d935a3e08733daadbe5ac9dc1e13f03c
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77220
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-01-25 00:35:20 +00:00

35 lines
383 B
GLSL

SKIP: FAILED
var<private> var_1 : u32;
fn main_1() {
var_1 = 1u;
loop {
var_1 = 2u;
var_1 = 3u;
switch(42u) {
case 40u: {
var_1 = 4u;
continue;
}
default: {
}
}
var_1 = 5u;
continuing {
var_1 = 6u;
}
}
var_1 = 7u;
return;
}
@stage(fragment)
fn main() {
main_1();
}
error: loop does not exit