dawn-cmake/test/tint/statements/increment/for_loop_initializer.wgsl

7 lines
99 B
WebGPU Shading Language

@group(0) @binding(0) var<storage, read_write> i : u32;
fn main() {
for (i++; i < 10u;) {
}
}