dawn-cmake/test/switch/fallthrough.wgsl.expected.hlsl

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;
}