dawn-cmake/test/tint/statements/switch/fallthrough.wgsl.expected.f...

17 lines
185 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void f() {
int i = 0;
switch(i) {
case 0: {
/* fallthrough */
{
break;
}
}
default: {
break;
}
}
return;
}