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

8 lines
85 B
WebGPU Shading Language

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