dawn-cmake/test/intrinsics/gen/atomicAdd/d5db1d.wgsl.expected.hlsl

14 lines
231 B
HLSL

groupshared uint arg_0;
void atomicAdd_d5db1d() {
uint atomic_result = 0u;
InterlockedAdd(arg_0, 1u, atomic_result);
uint res = atomic_result;
}
[numthreads(1, 1, 1)]
void compute_main() {
atomicAdd_d5db1d();
return;
}