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

24 lines
270 B
WebGPU Shading Language

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