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

7 lines
100 B
WebGPU Shading Language

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