dawn-cmake/test/unittest/reader/spirv/SpvParserCFGTest_Terminator...

20 lines
204 B
WebGPU Shading Language

var<private> var_1 : u32;
fn main_1() {
switch(42u) {
case 20u: {
fallthrough;
}
case 30u: {
}
default: {
}
}
return;
}
[[stage(fragment)]]
fn main() {
main_1();
}