yum-mirror/glslang

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

Jeff BolzImplement GL_EXT_ocp_microscaling_types62f5430e

main
14.2 KiB288 linesraw
1spv.floatmxint8.comp
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 187
5
6                              Capability Shader
7                              Capability Float16
8                              Capability Float64
9                              Capability Int8
10                              Capability MXInt8EXT
11                              Capability LongVectorEXT
12                              Extension  "SPV_EXT_long_vector"
13                              Extension  "SPV_EXT_ocp_microscaling_types"
14               1:             ExtInstImport  "GLSL.std.450"
15                              MemoryModel Logical GLSL450
16                              EntryPoint GLCompute 4  "main" 44 186
17                              ExecutionMode 4 LocalSize 1 1 1
18                              Source GLSL 450
19                              SourceExtension  "GL_EXT_bfloat16"
20                              SourceExtension  "GL_EXT_float_mxint8"
21                              SourceExtension  "GL_EXT_long_vector"
22                              SourceExtension  "GL_EXT_scalar_block_layout"
23                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
24                              SourceExtension  "GL_KHR_cooperative_matrix"
25                              SourceExtension  "GL_KHR_memory_scope_semantics"
26                              SourceExtension  "GL_NV_cooperative_matrix2"
27                              Name 4  "main"
28                              Name 10  "funcfmxint8(fmxint81;"
29                              Name 9  "x"
30                              Name 17  "f"
31                              Name 19  "b"
32                              Name 23  "f16"
33                              Name 25  "f32"
34                              Name 29  "f64"
35                              Name 37  "param"
36                              Name 42  "B"
37                              MemberName 42(B) 0  "b3"
38                              MemberName 42(B) 1  "b2"
39                              MemberName 42(B) 2  "b1"
40                              Name 44  "buf"
41                              Name 51  "b2"
42                              Name 57  "b3"
43                              Name 64  "i8_1"
44                              Name 69  "i8_2"
45                              Name 74  "i8_3"
46                              Name 83  "i8_4"
47                              Name 94  "i8_5"
48                              Name 106  "u8_1"
49                              Name 111  "u8_2"
50                              Name 116  "u8_3"
51                              Name 125  "u8_4"
52                              Name 135  "u8_5"
53                              Name 144  "f8_1"
54                              Name 147  "f8_2"
55                              Name 150  "f8_3"
56                              Name 154  "f8_4"
57                              Name 158  "f8_5"
58                              Name 177  "bsc10"
59                              Name 178  "S"
60                              MemberName 178(S) 0  "b"
61                              Name 186  "bfs"
62                              Decorate 42(B) Block
63                              MemberDecorate 42(B) 0 Offset 0
64                              MemberDecorate 42(B) 1 Offset 3
65                              MemberDecorate 42(B) 2 Offset 5
66                              Decorate 44(buf) Binding 0
67                              Decorate 44(buf) DescriptorSet 0
68                              Decorate 177(bsc10) SpecId 1
69               2:             TypeVoid
70               3:             TypeFunction 2
71               6:             TypeFloat 8 4227
72               7:             TypePointer Function 6(floatmxint8_t)
73               8:             TypeFunction 6(floatmxint8_t) 7(ptr)
74              15:             TypeFloat 32
75              16:             TypePointer Function 15(float)
76              18:   15(float) Constant 1073741824
77              20:6(floatmxint8_t) Constant 64
78              21:             TypeFloat 16
79              22:             TypePointer Function 21(float16_t)
80              24:21(float16_t) Constant 18176
81              26:   15(float) Constant 1088421888
82              27:             TypeFloat 64
83              28:             TypePointer Function 27(float64_t)
84              30:27(float64_t) Constant 0 1075576832
85              40:             TypeVector 6(floatmxint8_t) 3
86              41:             TypeVector 6(floatmxint8_t) 2
87           42(B):             TypeStruct 40(f8vec3) 41(f8vec2) 6(floatmxint8_t)
88              43:             TypePointer StorageBuffer 42(B)
89         44(buf):     43(ptr) Variable StorageBuffer
90              45:             TypeInt 32 1
91              46:     45(int) Constant 2
92              47:             TypePointer StorageBuffer 6(floatmxint8_t)
93              50:             TypePointer Function 41(f8vec2)
94              52:     45(int) Constant 1
95              53:             TypePointer StorageBuffer 41(f8vec2)
96              56:             TypePointer Function 40(f8vec3)
97              58:     45(int) Constant 0
98              59:             TypePointer StorageBuffer 40(f8vec3)
99              62:             TypeInt 8 1
100              63:             TypePointer Function 62(int8_t)
101              67:             TypeVector 62(int8_t) 2
102              68:             TypePointer Function 67(i8vec2)
103              72:             TypeVector 62(int8_t) 3
104              73:             TypePointer Function 72(i8vec3)
105              81:             TypeVector 62(int8_t) 4
106              82:             TypePointer Function 81(i8vec4)
107              85:             TypeVector 6(floatmxint8_t) 4
108              92:             TypeVector 62(int8_t) 5
109              93:             TypePointer Function 92(i8vec)
110              97:             TypeVector 6(floatmxint8_t) 5
111             104:             TypeInt 8 0
112             105:             TypePointer Function 104(int8_t)
113             109:             TypeVector 104(int8_t) 2
114             110:             TypePointer Function 109(i8vec2)
115             114:             TypeVector 104(int8_t) 3
116             115:             TypePointer Function 114(i8vec3)
117             123:             TypeVector 104(int8_t) 4
118             124:             TypePointer Function 123(i8vec4)
119             133:             TypeVector 104(int8_t) 5
120             134:             TypePointer Function 133(i8vec)
121             153:             TypePointer Function 85(f8vec4)
122             157:             TypePointer Function 97(f8vec)
123             171:             TypeInt 32 0
124             172:             TypeVector 171(int) 3
125             173:    171(int) Constant 1
126             174:  172(ivec3) ConstantComposite 173 173 173
127             175:6(floatmxint8_t) Constant 127
128             176:  41(f8vec2) ConstantComposite 175 175
129      177(bsc10):6(floatmxint8_t) SpecConstant 127
130          178(S):             TypeStruct 6(floatmxint8_t)
131             179:      178(S) ConstantComposite 175
132             180:    171(int) Constant 2
133             181:             TypeArray 6(floatmxint8_t) 180
134             182:         181 ConstantComposite 175 175
135             183:    171(int) Constant 10
136             184:             TypeArray 6(floatmxint8_t) 183
137             185:             TypePointer Workgroup 184
138        186(bfs):    185(ptr) Variable Workgroup
139         4(main):           2 Function None 3
140               5:             Label
141           17(f):     16(ptr) Variable Function
142           19(b):      7(ptr) Variable Function
143         23(f16):     22(ptr) Variable Function
144         25(f32):     16(ptr) Variable Function
145         29(f64):     28(ptr) Variable Function
146       37(param):      7(ptr) Variable Function
147          51(b2):     50(ptr) Variable Function
148          57(b3):     56(ptr) Variable Function
149        64(i8_1):     63(ptr) Variable Function
150        69(i8_2):     68(ptr) Variable Function
151        74(i8_3):     73(ptr) Variable Function
152        83(i8_4):     82(ptr) Variable Function
153        94(i8_5):     93(ptr) Variable Function
154       106(u8_1):    105(ptr) Variable Function
155       111(u8_2):    110(ptr) Variable Function
156       116(u8_3):    115(ptr) Variable Function
157       125(u8_4):    124(ptr) Variable Function
158       135(u8_5):    134(ptr) Variable Function
159       144(f8_1):      7(ptr) Variable Function
160       147(f8_2):     50(ptr) Variable Function
161       150(f8_3):     56(ptr) Variable Function
162       154(f8_4):    153(ptr) Variable Function
163       158(f8_5):    157(ptr) Variable Function
164                              Store 17(f) 18
165                              Store 19(b) 20
166                              Store 23(f16) 24
167                              Store 25(f32) 26
168                              Store 29(f64) 30
169              31:6(floatmxint8_t) Load 19(b)
170              32:21(float16_t) FConvert 31
171                              Store 23(f16) 32
172              33:6(floatmxint8_t) Load 19(b)
173              34:   15(float) FConvert 33
174                              Store 25(f32) 34
175              35:6(floatmxint8_t) Load 19(b)
176              36:27(float64_t) FConvert 35
177                              Store 29(f64) 36
178              38:6(floatmxint8_t) Load 19(b)
179                              Store 37(param) 38
180              39:6(floatmxint8_t) FunctionCall 10(funcfmxint8(fmxint81;) 37(param)
181                              Store 19(b) 39
182              48:     47(ptr) AccessChain 44(buf) 46
183              49:6(floatmxint8_t) Load 48
184                              Store 19(b) 49
185              54:     53(ptr) AccessChain 44(buf) 52
186              55:  41(f8vec2) Load 54
187                              Store 51(b2) 55
188              60:     59(ptr) AccessChain 44(buf) 58
189              61:  40(f8vec3) Load 60
190                              Store 57(b3) 61
191              65:6(floatmxint8_t) Load 19(b)
192              66:  62(int8_t) Bitcast 65
193                              Store 64(i8_1) 66
194              70:  41(f8vec2) Load 51(b2)
195              71:  67(i8vec2) Bitcast 70
196                              Store 69(i8_2) 71
197              75:  41(f8vec2) Load 51(b2)
198              76:6(floatmxint8_t) Load 19(b)
199              77:6(floatmxint8_t) CompositeExtract 75 0
200              78:6(floatmxint8_t) CompositeExtract 75 1
201              79:  40(f8vec3) CompositeConstruct 77 78 76
202              80:  72(i8vec3) Bitcast 79
203                              Store 74(i8_3) 80
204              84:  41(f8vec2) Load 51(b2)
205              86:6(floatmxint8_t) CompositeExtract 84 0
206              87:6(floatmxint8_t) CompositeExtract 84 1
207              88:6(floatmxint8_t) CompositeExtract 84 0
208              89:6(floatmxint8_t) CompositeExtract 84 1
209              90:  85(f8vec4) CompositeConstruct 86 87 88 89
210              91:  81(i8vec4) Bitcast 90
211                              Store 83(i8_4) 91
212              95:  41(f8vec2) Load 51(b2)
213              96:6(floatmxint8_t) Load 19(b)
214              98:6(floatmxint8_t) CompositeExtract 95 0
215              99:6(floatmxint8_t) CompositeExtract 95 1
216             100:6(floatmxint8_t) CompositeExtract 95 0
217             101:6(floatmxint8_t) CompositeExtract 95 1
218             102:   97(f8vec) CompositeConstruct 98 99 100 101 96
219             103:   92(i8vec) Bitcast 102
220                              Store 94(i8_5) 103
221             107:6(floatmxint8_t) Load 19(b)
222             108: 104(int8_t) Bitcast 107
223                              Store 106(u8_1) 108
224             112:  41(f8vec2) Load 51(b2)
225             113: 109(i8vec2) Bitcast 112
226                              Store 111(u8_2) 113
227             117:  41(f8vec2) Load 51(b2)
228             118:6(floatmxint8_t) Load 19(b)
229             119:6(floatmxint8_t) CompositeExtract 117 0
230             120:6(floatmxint8_t) CompositeExtract 117 1
231             121:  40(f8vec3) CompositeConstruct 119 120 118
232             122: 114(i8vec3) Bitcast 121
233                              Store 116(u8_3) 122
234             126:  41(f8vec2) Load 51(b2)
235             127:6(floatmxint8_t) CompositeExtract 126 0
236             128:6(floatmxint8_t) CompositeExtract 126 1
237             129:6(floatmxint8_t) CompositeExtract 126 0
238             130:6(floatmxint8_t) CompositeExtract 126 1
239             131:  85(f8vec4) CompositeConstruct 127 128 129 130
240             132: 123(i8vec4) Bitcast 131
241                              Store 125(u8_4) 132
242             136:  41(f8vec2) Load 51(b2)
243             137:6(floatmxint8_t) Load 19(b)
244             138:6(floatmxint8_t) CompositeExtract 136 0
245             139:6(floatmxint8_t) CompositeExtract 136 1
246             140:6(floatmxint8_t) CompositeExtract 136 0
247             141:6(floatmxint8_t) CompositeExtract 136 1
248             142:   97(f8vec) CompositeConstruct 138 139 140 141 137
249             143:  133(i8vec) Bitcast 142
250                              Store 135(u8_5) 143
251             145:  62(int8_t) Load 64(i8_1)
252             146:6(floatmxint8_t) Bitcast 145
253                              Store 144(f8_1) 146
254             148:  67(i8vec2) Load 69(i8_2)
255             149:  41(f8vec2) Bitcast 148
256                              Store 147(f8_2) 149
257             151:  72(i8vec3) Load 74(i8_3)
258             152:  40(f8vec3) Bitcast 151
259                              Store 150(f8_3) 152
260             155:  81(i8vec4) Load 83(i8_4)
261             156:  85(f8vec4) Bitcast 155
262                              Store 154(f8_4) 156
263             159:   92(i8vec) Load 94(i8_5)
264             160:   97(f8vec) Bitcast 159
265                              Store 158(f8_5) 160
266             161: 104(int8_t) Load 106(u8_1)
267             162:6(floatmxint8_t) Bitcast 161
268                              Store 144(f8_1) 162
269             163: 109(i8vec2) Load 111(u8_2)
270             164:  41(f8vec2) Bitcast 163
271                              Store 147(f8_2) 164
272             165: 114(i8vec3) Load 116(u8_3)
273             166:  40(f8vec3) Bitcast 165
274                              Store 150(f8_3) 166
275             167: 123(i8vec4) Load 125(u8_4)
276             168:  85(f8vec4) Bitcast 167
277                              Store 154(f8_4) 168
278             169:  133(i8vec) Load 135(u8_5)
279             170:   97(f8vec) Bitcast 169
280                              Store 158(f8_5) 170
281                              Return
282                              FunctionEnd
28310(funcfmxint8(fmxint81;):6(floatmxint8_t) Function None 8
284            9(x):      7(ptr) FunctionParameter
285              11:             Label
286              12:6(floatmxint8_t) Load 9(x)
287                              ReturnValue 12
288                              FunctionEnd