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