dawn-cmake/test/tint/loops/loop.wgsl.expected.wgsl

10 lines
104 B
WebGPU Shading Language

fn f() -> i32 {
var i : i32;
loop {
i = (i + 1);
if ((i > 4)) {
return i;
}
}
}