22 lines
237 B
WebGPU Shading Language
22 lines
237 B
WebGPU Shading Language
|
var<private> var_1 : u32;
|
||
|
|
||
|
fn main_1() {
|
||
|
switch(42u) {
|
||
|
case 20u: {
|
||
|
if (false) {
|
||
|
if (true) {
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
default: {
|
||
|
}
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn main() {
|
||
|
main_1();
|
||
|
}
|