24 lines
255 B
WebGPU Shading Language
24 lines
255 B
WebGPU Shading Language
|
var<private> var_1 : u32;
|
||
|
|
||
|
fn main_1() {
|
||
|
loop {
|
||
|
if (false) {
|
||
|
} else {
|
||
|
break;
|
||
|
}
|
||
|
switch(42u) {
|
||
|
case 40u: {
|
||
|
continue;
|
||
|
}
|
||
|
default: {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn main() {
|
||
|
main_1();
|
||
|
}
|