dawn-cmake/test/tint/loops/loop_with_continuing.wgsl.e...

13 lines
130 B
WebGPU Shading Language

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