18 lines
192 B
WebGPU Shading Language
18 lines
192 B
WebGPU Shading Language
|
var<private> var_1 : u32;
|
||
|
|
||
|
fn main_1() {
|
||
|
var_1 = 0u;
|
||
|
if (false) {
|
||
|
var_1 = 1u;
|
||
|
} else {
|
||
|
var_1 = 2u;
|
||
|
}
|
||
|
var_1 = 999u;
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn main() {
|
||
|
main_1();
|
||
|
}
|