dawn-cmake/test/tint/loops/continue_in_switch.wgsl.exp...

25 lines
383 B
HLSL

[numthreads(1, 1, 1)]
void f() {
{
for(int i = 0; (i < 4); i = (i + 1)) {
bool tint_continue = false;
switch(i) {
case 0: {
{
tint_continue = true;
break;
}
break;
}
default: {
break;
}
}
if (tint_continue) {
continue;
}
}
}
return;
}