dawn-cmake/test/tint/loops/while_with_continue.wgsl.ex...

9 lines
99 B
WebGPU Shading Language

fn f() -> i32 {
var i : i32;
while((i < 4)) {
i = (i + 1);
continue;
}
return i;
}