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