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

19 lines
199 B
WebGPU Shading Language

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