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

22 lines
363 B
HLSL
Raw Normal View History

SKIP: FAILED
[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;
}
C:\src\tint\test\Shader@0x000001A817AB3700(7,11-19): error X3708: continue cannot be used in a switch