dawn-cmake/test/tint/builtins/atomicStore/array/array.wgsl.expected.wgsl

7 lines
123 B
WebGPU Shading Language

var<workgroup> wg : array<atomic<u32>, 4>;
@compute @workgroup_size(1)
fn compute_main() {
atomicStore(&(wg[1]), 1u);
}