2 Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
8 TBD functionality: Is atomic_uint an opaque handle in the uniform storage class, or an addresses in the atomic storage class?
9 // Module Version 10000
10 // Generated by (magic number): 80001
11 // Id's are bound by 74
14 1: ExtInstImport "GLSL.std.450"
15 MemoryModel Logical GLSL450
16 EntryPoint GLCompute 4 "main"
17 ExecutionMode 4 LocalSize 1 1 1
33 MemberName 61(dataSSB) 0 "f"
34 MemberName 61(dataSSB) 1 "n_frames_rendered"
39 Decorate 20(counter) Binding 0
40 Decorate 28(countArr) Binding 0
41 MemberDecorate 61(dataSSB) 0 Offset 0
42 MemberDecorate 61(dataSSB) 1 Offset 16
43 Decorate 61(dataSSB) BufferBlock
44 Decorate 63(result) Binding 0
48 7: TypePointer Function 6(int)
49 8: TypeFunction 6(int) 7(ptr)
52 18: 6(int) Constant 1024
53 19: TypePointer AtomicCounter 6(int)
54 20(counter): 19(ptr) Variable AtomicCounter
56 26: TypeArray 6(int) 25
57 27: TypePointer AtomicCounter 26
58 28(countArr): 27(ptr) Variable AtomicCounter
60 30: 29(int) Constant 2
61 34: TypePointer Function 29(int)
62 36: TypePointer Workgroup 29(int)
63 37(atomi): 36(ptr) Variable Workgroup
64 38: 29(int) Constant 3
65 41: TypePointer Workgroup 6(int)
66 42(atomu): 41(ptr) Variable Workgroup
67 43: TypePointer UniformConstant 6(int)
68 44(value): 43(ptr) Variable UniformConstant
70 52: 29(int) Constant 7
71 56: 6(int) Constant 10
73 60: TypeVector 29(int) 4
74 61(dataSSB): TypeStruct 59(float) 60(ivec4)
75 62: TypePointer Uniform 61(dataSSB)
76 63(result): 62(ptr) Variable Uniform
77 64: 29(int) Constant 1
79 66: TypePointer Uniform 29(int)
80 69: TypeArray 29(int) 14
81 70: TypePointer Private 69
82 71(arrX): 70(ptr) Variable Private
83 72(arrY): 70(ptr) Variable Private
84 73(arrZ): 70(ptr) Variable Private
85 4(main): 2 Function None 3
87 21(param): 7(ptr) Variable Function
88 24(val): 7(ptr) Variable Function
90 22: 6(int) Load 20(counter)
92 23: 6(int) FunctionCall 10(func(au1;) 21(param)
93 31: 19(ptr) AccessChain 28(countArr) 30
94 32: 6(int) AtomicLoad 31 14 15
96 33: 6(int) AtomicIDecrement 20(counter) 14 15
99 10(func(au1;): 6(int) Function None 8
100 9(c): 7(ptr) FunctionParameter
102 16: 6(int) AtomicIIncrement 9(c) 14 15
105 12(atoms(): 2 Function None 3
107 35(origi): 34(ptr) Variable Function
108 40(origu): 7(ptr) Variable Function
109 39: 29(int) AtomicIAdd 37(atomi) 14 15 38
111 45: 6(int) Load 44(value)
112 46: 6(int) AtomicAnd 42(atomu) 14 15 45
114 48: 6(int) AtomicOr 42(atomu) 14 15 47
116 49: 6(int) AtomicXor 42(atomu) 14 15 47
118 50: 6(int) Load 44(value)
119 51: 6(int) AtomicUMin 42(atomu) 14 15 50
121 53: 29(int) AtomicSMax 37(atomi) 14 15 52
123 54: 29(int) Load 35(origi)
124 55: 29(int) AtomicExchange 37(atomi) 14 15 54
126 57: 6(int) Load 44(value)
127 58: 6(int) AtomicCompareExchange 42(atomu) 14 15 15 57 56
129 67: 66(ptr) AccessChain 63(result) 64 65
130 68: 29(int) AtomicIAdd 67 14 15 64