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

27 lines
317 B
WebGPU Shading Language

var<private> var_1 : u32;
fn main_1() {
var_1 = 0u;
if (false) {
var_1 = 1u;
if (true) {
var_1 = 2u;
}
var_1 = 3u;
} else {
var_1 = 4u;
if (true) {
} else {
var_1 = 5u;
}
var_1 = 6u;
}
var_1 = 999u;
return;
}
[[stage(fragment)]]
fn main() {
main_1();
}