mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
24 lines
307 B
WebGPU Shading Language
24 lines
307 B
WebGPU Shading Language
fn fb1_(cond: ptr<function, bool>) {
|
|
loop {
|
|
continue;
|
|
continuing {
|
|
let _e1 = (*cond);
|
|
break if !(_e1);
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|
|
fn main_1() {
|
|
var param: bool;
|
|
|
|
param = false;
|
|
fb1_((¶m));
|
|
return;
|
|
}
|
|
|
|
@fragment
|
|
fn main() {
|
|
main_1();
|
|
}
|