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

9 lines
112 B
WebGPU Shading Language

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