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

6 lines
88 B
WebGPU Shading Language

@group(0) @binding(0) var<storage, read_write> a : array<u32>;
fn main() {
a[1]++;
}