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

7 lines
96 B
WebGPU Shading Language

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