1spv.volatileAtomic.comp
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 18
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint GLCompute 4  "main"
10                              ExecutionMode 4 LocalSize 1 1 1
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 8  "D"
14                              MemberName 8(D) 0  "d"
15                              Name 10  "d"
16                              Decorate 7 ArrayStride 4
17                              MemberDecorate 8(D) 0 Volatile
18                              MemberDecorate 8(D) 0 Coherent
19                              MemberDecorate 8(D) 0 Offset 0
20                              Decorate 8(D) BufferBlock
21                              Decorate 10(d) DescriptorSet 0
22                              Decorate 10(d) Binding 3
23               2:             TypeVoid
24               3:             TypeFunction 2
25               6:             TypeInt 32 0
26               7:             TypeRuntimeArray 6(int)
27            8(D):             TypeStruct 7
28               9:             TypePointer Uniform 8(D)
29           10(d):      9(ptr) Variable Uniform
30              11:             TypeInt 32 1
31              12:     11(int) Constant 0
32              13:             TypePointer Uniform 6(int)
33              15:      6(int) Constant 0
34              16:      6(int) Constant 1
35         4(main):           2 Function None 3
36               5:             Label
37              14:     13(ptr) AccessChain 10(d) 12 12
38              17:      6(int) AtomicExchange 14 16 15 15
39                              Return
40                              FunctionEnd
41