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

22 lines
228 B
HLSL

static uint var_1 = 0u;
void main_1() {
var_1 = 1u;
switch(42u) {
case 20u: {
var_1 = 20u;
break;
}
default: {
break;
}
}
var_1 = 7u;
return;
}
void main() {
main_1();
return;
}