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

18 lines
246 B
HLSL
Raw Normal View History

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