Debian Codegraph @

third_party/spirv-cross/reference/shaders-hlsl-no-opt/asm/comp/atomic-load-store.asm.comp

raw
1 static const uint3 gl_WorkGroupSize = uint3(1u, 1u, 1u);
2
3 RWByteAddressBuffer _5 : register(u0);
4
5 void comp_main()
6 {
7 uint _20;
8 _5.InterlockedAdd(4, 0, _20);
9 uint c = _20;
10 uint _23;
11 _5.InterlockedExchange(0, c, _23);
12 }
13
14 [numthreads(1, 1, 1)]
15 void main()
16 {
17 comp_main();
18 }