yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Kevin PetitFix spv.coopmat_armlayout.comp test4610b2dc

main
20.4 KiB380 linesraw
1spv.coopmat_armlayout.comp
2// Module Version 10300
3// Generated by (magic number): 8000b
4// Id's are bound by 240
5
6                              Capability Shader
7                              Capability Float16
8                              Capability Int16
9                              Capability Int8
10                              Capability CooperativeMatrixLayoutsARM
11                              Capability StorageUniformBufferBlock16
12                              Capability VulkanMemoryModelKHR
13                              Capability PhysicalStorageBufferAddressesEXT
14                              Capability CooperativeMatrixKHR
15                              Extension  "SPV_ARM_cooperative_matrix_layouts"
16                              Extension  "SPV_KHR_cooperative_matrix"
17                              Extension  "SPV_KHR_physical_storage_buffer"
18                              Extension  "SPV_KHR_vulkan_memory_model"
19               1:             ExtInstImport  "GLSL.std.450"
20                              MemoryModel PhysicalStorageBuffer64EXT VulkanKHR
21                              EntryPoint GLCompute 4  "main"
22                              ExecutionMode 4 LocalSize 64 1 1
23                              Source GLSL 450
24                              SourceExtension  "GL_EXT_buffer_reference"
25                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
26                              SourceExtension  "GL_KHR_cooperative_matrix"
27                              SourceExtension  "GL_KHR_memory_scope_semantics"
28                              Name 4  "main"
29                              Name 15  "f16(f161<3><8><8><2>;"
30                              Name 14  "m"
31                              Name 22  "f32(f1<3><8><8><2>;"
32                              Name 21  "m"
33                              Name 35  "m"
34                              Name 53  "m2"
35                              Name 57  "x"
36                              Name 68  "Block"
37                              MemberName 68(Block) 0  "y"
38                              MemberName 68(Block) 1  "x"
39                              Name 70  "block"
40                              Name 82  "Block16"
41                              MemberName 82(Block16) 0  "y"
42                              MemberName 82(Block16) 1  "x"
43                              MemberName 82(Block16) 2  "b"
44                              Name 85  "Block"
45                              MemberName 85(Block) 0  "y"
46                              MemberName 85(Block) 1  "x"
47                              Name 87  "block16"
48                              Name 104  "D"
49                              Name 108  "A"
50                              Name 112  "B"
51                              Name 114  "C"
52                              Name 118  "l"
53                              Name 122  "Y"
54                              Name 123  "Z"
55                              Name 126  "F"
56                              Name 131  "a"
57                              Name 135  "md1"
58                              Name 146  "mC2"
59                              Name 159  "p1"
60                              Name 160  "param"
61                              Name 163  "p2"
62                              Name 164  "param"
63                              Name 180  "ms"
64                              Name 185  "shmatrix"
65                              Name 194  "ms8A"
66                              Name 198  "ms8B"
67                              Name 202  "ms8C"
68                              Name 217  "m16"
69                              Name 223  "mC"
70                              Name 224  "F"
71                              Name 229  "S"
72                              MemberName 229(S) 0  "a"
73                              MemberName 229(S) 1  "b"
74                              MemberName 229(S) 2  "c"
75                              Name 234  "SC"
76                              Name 239  "scm"
77                              Decorate 66 ArrayStride 4
78                              Decorate 67 ArrayStride 4
79                              Decorate 68(Block) Block
80                              MemberDecorate 68(Block) 0 Offset 0
81                              MemberDecorate 68(Block) 1 Offset 4194304
82                              Decorate 70(block) Binding 0
83                              Decorate 70(block) DescriptorSet 0
84                              Decorate 79 ArrayStride 2
85                              Decorate 80 ArrayStride 2
86                              Decorate 82(Block16) Block
87                              MemberDecorate 82(Block16) 0 Offset 0
88                              MemberDecorate 82(Block16) 1 Offset 2097152
89                              MemberDecorate 82(Block16) 2 Offset 2097160
90                              Decorate 83 ArrayStride 4
91                              Decorate 84 ArrayStride 4
92                              Decorate 85(Block) Block
93                              MemberDecorate 85(Block) 0 Offset 0
94                              MemberDecorate 85(Block) 1 Offset 4194304
95                              Decorate 87(block16) Binding 0
96                              Decorate 87(block16) DescriptorSet 0
97                              Decorate 122(Y) SpecId 0
98                              Decorate 222 BuiltIn WorkgroupSize
99                              Decorate 224(F) SpecId 1
100                              Decorate 234(SC) SpecId 2
101               2:             TypeVoid
102               3:             TypeFunction 2
103               6:             TypeFloat 16
104               7:             TypeInt 32 0
105               8:      7(int) Constant 3
106               9:      7(int) Constant 8
107              10:      7(int) Constant 2
108              11:             TypeCooperativeMatrixKHR 6(float16_t) 8 9 9 10
109              12:             TypePointer Function 11
110              13:             TypeFunction 11 12(ptr)
111              17:             TypeFloat 32
112              18:             TypeCooperativeMatrixKHR 17(float) 8 9 9 10
113              19:             TypePointer Function 18
114              20:             TypeFunction 18 19(ptr)
115              32:      7(int) Constant 16
116              33:             TypeCooperativeMatrixKHR 17(float) 8 32 9 10
117              34:             TypePointer Function 33
118              36:   17(float) Constant 0
119              37:          33 ConstantComposite 36
120              46:   17(float) Constant 1073741824
121              51:             TypeCooperativeMatrixKHR 6(float16_t) 8 32 9 10
122              52:             TypePointer Function 51
123              56:             TypePointer Function 17(float)
124              58:             TypeInt 32 1
125              59:     58(int) Constant 1
126              62:     58(int) Constant 0
127              65:      7(int) Constant 1048576
128              66:             TypeArray 17(float) 65
129              67:             TypeRuntimeArray 17(float)
130       68(Block):             TypeStruct 66 67
131              69:             TypePointer StorageBuffer 68(Block)
132       70(block):     69(ptr) Variable StorageBuffer
133              71:      7(int) Constant 5
134              72:             TypePointer StorageBuffer 17(float)
135              74:      7(int) Constant 1
136              75:     58(int) Constant 4202
137              79:             TypeArray 6(float16_t) 65
138              80:             TypeArray 6(float16_t) 74
139                              TypeForwardPointer 81 PhysicalStorageBufferEXT
140     82(Block16):             TypeStruct 79 80 81
141              83:             TypeArray 17(float) 65
142              84:             TypeRuntimeArray 17(float)
143       85(Block):             TypeStruct 83 84
144              81:             TypePointer PhysicalStorageBufferEXT 85(Block)
145              86:             TypePointer StorageBuffer 82(Block16)
146     87(block16):     86(ptr) Variable StorageBuffer
147              88:             TypePointer StorageBuffer 6(float16_t)
148              93:     58(int) Constant 2
149              94:             TypePointer StorageBuffer 81(ptr)
150              97:             TypePointer PhysicalStorageBufferEXT 17(float)
151             105:      7(int) Constant 0
152             106:             TypeCooperativeMatrixKHR 6(float16_t) 8 32 9 105
153             107:             TypePointer Function 106
154             110:             TypeCooperativeMatrixKHR 6(float16_t) 8 9 9 74
155             111:             TypePointer Function 110
156             117:             TypePointer Function 58(int)
157             121:     58(int) Constant 8
158          122(Y):     58(int) SpecConstant 2
159          123(Z):     58(int) SpecConstantOp 132 121 122(Y)
160             124:             TypeCooperativeMatrixKHR 6(float16_t) 8 123(Z) 123(Z) 10
161             125:             TypePointer Function 124
162             127:6(float16_t) Constant 0
163             128:         124 ConstantComposite 127
164             129:             TypeArray 33 71
165             130:             TypePointer Function 129
166             132:     58(int) Constant 3
167             133:   17(float) Constant 1065353216
168             139:     58(int) Constant 1234
169             143:             TypeCooperativeMatrixKHR 6(float16_t) 8 123(Z) 9 10
170             144:             TypeArray 143 8
171             145:             TypePointer Private 144
172        146(mC2):    145(ptr) Variable Private
173             147:             TypePointer Private 143
174             167:          11 ConstantComposite 127
175             168:          18 ConstantComposite 36
176             172:6(float16_t) Constant 16384
177             175:   17(float) Constant 1082130432
178             178:             TypeCooperativeMatrixKHR 6(float16_t) 8 32 32 10
179             179:             TypePointer Function 178
180             181:             TypeVector 7(int) 4
181             182:      7(int) Constant 32
182             183:             TypeArray 181(ivec4) 182
183             184:             TypePointer Workgroup 183
184   185(shmatrix):    184(ptr) Variable Workgroup
185             186:             TypePointer Workgroup 181(ivec4)
186             191:             TypeInt 8 1
187             192:             TypeCooperativeMatrixKHR 191(int8_t) 8 9 9 105
188             193:             TypePointer Function 192
189             196:             TypeCooperativeMatrixKHR 191(int8_t) 8 9 9 74
190             197:             TypePointer Function 196
191             200:             TypeCooperativeMatrixKHR 191(int8_t) 8 9 9 10
192             201:             TypePointer Function 200
193             212:     58(int) Constant 16
194             214:             TypeInt 16 1
195             215:             TypeCooperativeMatrixKHR 214(int16_t) 8 9 32 105
196             216:             TypePointer Function 215
197             220:             TypeVector 7(int) 3
198             221:      7(int) Constant 64
199             222:  220(ivec3) ConstantComposite 221 74 74
200         223(mC):    147(ptr) Variable Private
201          224(F):   17(float) SpecConstant 1077936128
202             225:             TypeCooperativeMatrixKHR 17(float) 8 123(Z) 9 10
203             226:         225 ConstantComposite 36
204             227:6(float16_t) Constant 15360
205             228:          11 ConstantComposite 227
206          229(S):             TypeStruct 58(int) 58(int) 58(int)
207             230:     58(int) Constant 12
208             231:     58(int) Constant 23
209             232:     58(int) Constant 34
210             233:      229(S) ConstantComposite 230 231 232
211         234(SC):     58(int) SpecConstant 1
212             235:             TypeCooperativeMatrixKHR 6(float16_t) 8 234(SC) 234(SC) 10
213             236:             TypeArray 235 234(SC)
214             237:             TypeArray 236 234(SC)
215             238:             TypePointer Private 237
216        239(scm):    238(ptr) Variable Private
217         4(main):           2 Function None 3
218               5:             Label
219           35(m):     34(ptr) Variable Function
220          53(m2):     52(ptr) Variable Function
221           57(x):     56(ptr) Variable Function
222          104(D):     34(ptr) Variable Function
223          108(A):    107(ptr) Variable Function
224          112(B):    111(ptr) Variable Function
225          114(C):     34(ptr) Variable Function
226          118(l):    117(ptr) Variable Function
227          126(F):    125(ptr) Variable Function
228          131(a):    130(ptr) Variable Function
229        135(md1):     56(ptr) Variable Function
230         159(p1):     12(ptr) Variable Function
231      160(param):     12(ptr) Variable Function
232         163(p2):     19(ptr) Variable Function
233      164(param):     19(ptr) Variable Function
234         180(ms):    179(ptr) Variable Function
235       194(ms8A):    193(ptr) Variable Function
236       198(ms8B):    197(ptr) Variable Function
237       202(ms8C):    201(ptr) Variable Function
238        217(m16):    216(ptr) Variable Function
239                              Store 35(m) 37
240              38:          33 Load 35(m)
241              39:          33 Load 35(m)
242              40:          33 FAdd 38 39
243                              Store 35(m) 40
244              41:          33 Load 35(m)
245              42:          33 Load 35(m)
246              43:          33 FSub 41 42
247                              Store 35(m) 43
248              44:          33 Load 35(m)
249              45:          33 FNegate 44
250                              Store 35(m) 45
251              47:          33 Load 35(m)
252              48:          33 MatrixTimesScalar 47 46
253                              Store 35(m) 48
254              49:          33 Load 35(m)
255              50:          33 MatrixTimesScalar 49 46
256                              Store 35(m) 50
257              54:          33 Load 35(m)
258              55:          51 FConvert 54
259                              Store 53(m2) 55
260              60:     56(ptr) AccessChain 35(m) 59
261              61:   17(float) Load 60
262                              Store 57(x) 61
263              63:   17(float) Load 57(x)
264              64:     56(ptr) AccessChain 35(m) 62
265                              Store 64 63
266              73:     72(ptr) AccessChain 70(block) 59 32
267              76:          33 CooperativeMatrixLoadKHR 73 75 74 MakePointerVisibleKHR NonPrivatePointerKHR 71
268                              Store 35(m) 76
269              77:          33 Load 35(m)
270              78:     72(ptr) AccessChain 70(block) 59 32
271                              CooperativeMatrixStoreKHR 78 77 75 74 MakePointerAvailableKHR NonPrivatePointerKHR 71
272              89:     88(ptr) AccessChain 87(block16) 59 32
273              90:          51 CooperativeMatrixLoadKHR 89 75 74 MakePointerVisibleKHR NonPrivatePointerKHR 71
274                              Store 53(m2) 90
275              91:          51 Load 53(m2)
276              92:     88(ptr) AccessChain 87(block16) 59 32
277                              CooperativeMatrixStoreKHR 92 91 75 74 MakePointerAvailableKHR NonPrivatePointerKHR 71
278              95:     94(ptr) AccessChain 87(block16) 93
279              96:     81(ptr) Load 95 MakePointerVisibleKHR NonPrivatePointerKHR 71
280              98:     97(ptr) AccessChain 96 59 32
281              99:          33 CooperativeMatrixLoadKHR 98 75 74 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 16 71
282                              Store 35(m) 99
283             100:          33 Load 35(m)
284             101:     94(ptr) AccessChain 87(block16) 93
285             102:     81(ptr) Load 101 MakePointerVisibleKHR NonPrivatePointerKHR 71
286             103:     97(ptr) AccessChain 102 59 32
287                              CooperativeMatrixStoreKHR 103 100 75 74 Aligned MakePointerAvailableKHR NonPrivatePointerKHR 16 71
288             109:         106 Load 108(A)
289             113:         110 Load 112(B)
290             115:          33 Load 114(C)
291             116:          33 CooperativeMatrixMulAddKHR 109 113 115
292                              Store 104(D) 116
293             119:      7(int) CooperativeMatrixLengthKHR 33
294             120:     58(int) Bitcast 119
295                              Store 118(l) 120
296                              Store 126(F) 128
297             134:     56(ptr) AccessChain 131(a) 132 62
298                              Store 134 133
299                              Store 135(md1) 36
300             136:          33 Load 35(m)
301             137:          33 Load 35(m)
302             138:          33 FAdd 137 136
303                              Store 35(m) 138
304             140:   17(float) CompositeExtract 138 1234
305             141:   17(float) Load 135(md1)
306             142:   17(float) FAdd 141 140
307                              Store 135(md1) 142
308             148:    147(ptr) AccessChain 146(mC2) 93
309             149:         143 Load 148
310             150:    147(ptr) AccessChain 146(mC2) 59
311                              Store 150 149
312             151:     72(ptr) AccessChain 70(block) 62 32
313             152:          33 CooperativeMatrixLoadKHR 151 75 74 MakePointerVisibleKHR NonPrivatePointerKHR 71
314                              Store 35(m) 152
315             153:          33 Load 35(m)
316             154:     72(ptr) AccessChain 70(block) 62 32
317                              CooperativeMatrixStoreKHR 154 153 75 74 MakePointerAvailableKHR NonPrivatePointerKHR 71
318             155:     88(ptr) AccessChain 87(block16) 62 32
319             156:          51 CooperativeMatrixLoadKHR 155 75 74 MakePointerVisibleKHR NonPrivatePointerKHR 71
320                              Store 53(m2) 156
321             157:          51 Load 53(m2)
322             158:     88(ptr) AccessChain 87(block16) 62 32
323                              CooperativeMatrixStoreKHR 158 157 75 74 MakePointerAvailableKHR NonPrivatePointerKHR 71
324             161:          11 Load 159(p1)
325                              Store 160(param) 161
326             162:          11 FunctionCall 15(f16(f161<3><8><8><2>;) 160(param)
327                              Store 159(p1) 162
328             165:          18 Load 163(p2)
329                              Store 164(param) 165
330             166:          18 FunctionCall 22(f32(f1<3><8><8><2>;) 164(param)
331                              Store 163(p2) 166
332                              Store 159(p1) 167
333                              Store 163(p2) 168
334             169:          11 Load 159(p1)
335             170:          11 Load 159(p1)
336             171:          11 FDiv 170 169
337                              Store 159(p1) 171
338             173:          11 Load 159(p1)
339             174:          11 MatrixTimesScalar 173 172
340                              Store 159(p1) 174
341             176:          18 Load 163(p2)
342             177:          18 MatrixTimesScalar 176 175
343                              Store 163(p2) 177
344             187:    186(ptr) AccessChain 185(shmatrix) 74
345             188:         178 CooperativeMatrixLoadKHR 187 75 10 MakePointerVisibleKHR NonPrivatePointerKHR 10
346                              Store 180(ms) 188
347             189:         178 Load 180(ms)
348             190:    186(ptr) AccessChain 185(shmatrix) 74
349                              CooperativeMatrixStoreKHR 190 189 75 10 MakePointerAvailableKHR NonPrivatePointerKHR 10
350             195:         192 Load 194(ms8A)
351             199:         196 Load 198(ms8B)
352             203:         200 Load 202(ms8C)
353             204:         200 CooperativeMatrixMulAddKHR 195 199 203 ASignedComponentsKHR BSignedComponentsKHR CSignedComponentsKHR ResultSignedComponentsKHR 
354             205:         192 Load 194(ms8A)
355             206:         196 Load 198(ms8B)
356             207:         200 Load 202(ms8C)
357             208:         200 CooperativeMatrixMulAddKHR 205 206 207 ASignedComponentsKHR BSignedComponentsKHR CSignedComponentsKHR ResultSignedComponentsKHR 
358             209:         192 Load 194(ms8A)
359             210:         196 Load 198(ms8B)
360             211:         200 Load 202(ms8C)
361             213:         200 CooperativeMatrixMulAddKHR 209 210 211 ASignedComponentsKHR BSignedComponentsKHR CSignedComponentsKHR ResultSignedComponentsKHR SaturatingAccumulationKHR 
362             218:         215 Load 217(m16)
363             219:    186(ptr) AccessChain 185(shmatrix) 74
364                              CooperativeMatrixStoreKHR 219 218 75 10 MakePointerAvailableKHR NonPrivatePointerKHR 10
365                              Return
366                              FunctionEnd
36715(f16(f161<3><8><8><2>;):          11 Function None 13
368           14(m):     12(ptr) FunctionParameter
369              16:             Label
370              24:          11 Load 14(m)
371              25:          11 FNegate 24
372                              ReturnValue 25
373                              FunctionEnd
37422(f32(f1<3><8><8><2>;):          18 Function None 20
375           21(m):     19(ptr) FunctionParameter
376              23:             Label
377              28:          18 Load 21(m)
378              29:          18 FNegate 28
379                              ReturnValue 29
380                              FunctionEnd