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