• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.uint.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 213
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 15 68 77 206 208 210
10                              ExecutionMode 4 OriginUpperLeft
11                              Source ESSL 310
12                              Name 4  "main"
13                              Name 8  "count"
14                              Name 12  "u"
15                              Name 15  "t"
16                              Name 55  "shiftedii"
17                              Name 57  "shiftedui"
18                              Name 59  "shiftediu"
19                              Name 60  "shifteduu"
20                              Name 68  "c"
21                              Name 72  "usampler"
22                              Name 77  "tc"
23                              Name 111  "af"
24                              Name 115  "ab"
25                              Name 118  "ai"
26                              Name 152  "mask1"
27                              Name 154  "mask2"
28                              Name 156  "mask3"
29                              Name 160  "mask4"
30                              Name 206  "f"
31                              Name 208  "v"
32                              Name 210  "i"
33                              Name 212  "b"
34                              Decorate 8(count) RelaxedPrecision
35                              Decorate 12(u) RelaxedPrecision
36                              Decorate 15(t) RelaxedPrecision
37                              Decorate 15(t) Flat
38                              Decorate 15(t) Location 0
39                              Decorate 19 RelaxedPrecision
40                              Decorate 21 RelaxedPrecision
41                              Decorate 27 RelaxedPrecision
42                              Decorate 28 RelaxedPrecision
43                              Decorate 32 RelaxedPrecision
44                              Decorate 33 RelaxedPrecision
45                              Decorate 38 RelaxedPrecision
46                              Decorate 39 RelaxedPrecision
47                              Decorate 43 RelaxedPrecision
48                              Decorate 44 RelaxedPrecision
49                              Decorate 48 RelaxedPrecision
50                              Decorate 49 RelaxedPrecision
51                              Decorate 53 RelaxedPrecision
52                              Decorate 54 RelaxedPrecision
53                              Decorate 55(shiftedii) RelaxedPrecision
54                              Decorate 57(shiftedui) RelaxedPrecision
55                              Decorate 59(shiftediu) RelaxedPrecision
56                              Decorate 60(shifteduu) RelaxedPrecision
57                              Decorate 61 RelaxedPrecision
58                              Decorate 62 RelaxedPrecision
59                              Decorate 68(c) RelaxedPrecision
60                              Decorate 68(c) Location 0
61                              Decorate 72(usampler) RelaxedPrecision
62                              Decorate 72(usampler) DescriptorSet 0
63                              Decorate 72(usampler) Binding 0
64                              Decorate 73 RelaxedPrecision
65                              Decorate 77(tc) RelaxedPrecision
66                              Decorate 77(tc) Location 2
67                              Decorate 78 RelaxedPrecision
68                              Decorate 79 RelaxedPrecision
69                              Decorate 80 RelaxedPrecision
70                              Decorate 81 RelaxedPrecision
71                              Decorate 85 RelaxedPrecision
72                              Decorate 86 RelaxedPrecision
73                              Decorate 88 RelaxedPrecision
74                              Decorate 89 RelaxedPrecision
75                              Decorate 90 RelaxedPrecision
76                              Decorate 91 RelaxedPrecision
77                              Decorate 92 RelaxedPrecision
78                              Decorate 93 RelaxedPrecision
79                              Decorate 97 RelaxedPrecision
80                              Decorate 98 RelaxedPrecision
81                              Decorate 101 RelaxedPrecision
82                              Decorate 102 RelaxedPrecision
83                              Decorate 105 RelaxedPrecision
84                              Decorate 111(af) RelaxedPrecision
85                              Decorate 112 RelaxedPrecision
86                              Decorate 113 RelaxedPrecision
87                              Decorate 116 RelaxedPrecision
88                              Decorate 118(ai) RelaxedPrecision
89                              Decorate 119 RelaxedPrecision
90                              Decorate 120 RelaxedPrecision
91                              Decorate 121 RelaxedPrecision
92                              Decorate 122 RelaxedPrecision
93                              Decorate 124 RelaxedPrecision
94                              Decorate 125 RelaxedPrecision
95                              Decorate 126 RelaxedPrecision
96                              Decorate 127 RelaxedPrecision
97                              Decorate 128 RelaxedPrecision
98                              Decorate 129 RelaxedPrecision
99                              Decorate 130 RelaxedPrecision
100                              Decorate 131 RelaxedPrecision
101                              Decorate 135 RelaxedPrecision
102                              Decorate 136 RelaxedPrecision
103                              Decorate 140 RelaxedPrecision
104                              Decorate 141 RelaxedPrecision
105                              Decorate 145 RelaxedPrecision
106                              Decorate 146 RelaxedPrecision
107                              Decorate 150 RelaxedPrecision
108                              Decorate 151 RelaxedPrecision
109                              Decorate 152(mask1) RelaxedPrecision
110                              Decorate 154(mask2) RelaxedPrecision
111                              Decorate 156(mask3) RelaxedPrecision
112                              Decorate 157 RelaxedPrecision
113                              Decorate 159 RelaxedPrecision
114                              Decorate 160(mask4) RelaxedPrecision
115                              Decorate 162 RelaxedPrecision
116                              Decorate 163 RelaxedPrecision
117                              Decorate 167 RelaxedPrecision
118                              Decorate 168 RelaxedPrecision
119                              Decorate 169 RelaxedPrecision
120                              Decorate 170 RelaxedPrecision
121                              Decorate 171 RelaxedPrecision
122                              Decorate 175 RelaxedPrecision
123                              Decorate 176 RelaxedPrecision
124                              Decorate 177 RelaxedPrecision
125                              Decorate 178 RelaxedPrecision
126                              Decorate 179 RelaxedPrecision
127                              Decorate 180 RelaxedPrecision
128                              Decorate 184 RelaxedPrecision
129                              Decorate 185 RelaxedPrecision
130                              Decorate 186 RelaxedPrecision
131                              Decorate 187 RelaxedPrecision
132                              Decorate 188 RelaxedPrecision
133                              Decorate 192 RelaxedPrecision
134                              Decorate 193 RelaxedPrecision
135                              Decorate 194 RelaxedPrecision
136                              Decorate 195 RelaxedPrecision
137                              Decorate 196 RelaxedPrecision
138                              Decorate 197 RelaxedPrecision
139                              Decorate 198 RelaxedPrecision
140                              Decorate 202 RelaxedPrecision
141                              Decorate 203 RelaxedPrecision
142                              Decorate 206(f) RelaxedPrecision
143                              Decorate 206(f) Location 1
144                              Decorate 208(v) RelaxedPrecision
145                              Decorate 208(v) Flat
146                              Decorate 208(v) Location 3
147                              Decorate 210(i) RelaxedPrecision
148                              Decorate 210(i) Flat
149                              Decorate 210(i) Location 4
150               2:             TypeVoid
151               3:             TypeFunction 2
152               6:             TypeInt 32 1
153               7:             TypePointer Function 6(int)
154               9:      6(int) Constant 1
155              10:             TypeInt 32 0
156              11:             TypePointer Function 10(int)
157              13:             TypeVector 10(int) 2
158              14:             TypePointer Input 13(ivec2)
159           15(t):     14(ptr) Variable Input
160              16:     10(int) Constant 1
161              17:             TypePointer Input 10(int)
162              20:     10(int) Constant 3
163              22:             TypeBool
164              23:    22(bool) ConstantTrue
165              26:      6(int) Constant 2
166              31:      6(int) Constant 3
167              34:    22(bool) ConstantFalse
168              37:      6(int) Constant 5
169              42:      6(int) Constant 7
170              47:      6(int) Constant 11
171              52:      6(int) Constant 13
172              56:      6(int) Constant 4294967295
173              58:     10(int) Constant 4194303
174              66:             TypeVector 10(int) 4
175              67:             TypePointer Output 66(ivec4)
176           68(c):     67(ptr) Variable Output
177              69:             TypeImage 10(int) 2D sampled format:Unknown
178              70:             TypeSampledImage 69
179              71:             TypePointer UniformConstant 70
180    72(usampler):     71(ptr) Variable UniformConstant
181              74:             TypeFloat 32
182              75:             TypeVector 74(float) 2
183              76:             TypePointer Input 75(fvec2)
184          77(tc):     76(ptr) Variable Input
185              87:   74(float) Constant 1065353216
186              99:   74(float) Constant 1073741824
187             100:   75(fvec2) ConstantComposite 99 99
188             103:     10(int) Constant 0
189             106:     10(int) Constant 4
190             110:             TypePointer Function 74(float)
191             114:             TypePointer Function 22(bool)
192             134:      6(int) Constant 17
193             139:      6(int) Constant 19
194             144:      6(int) Constant 23
195             149:      6(int) Constant 27
196             153:     10(int) Constant 161
197             155:     10(int) Constant 2576
198             158:      6(int) Constant 4
199             161:     10(int) Constant 2737
200             199:     10(int) Constant 4294967295
201             200:             TypePointer Output 10(int)
202             205:             TypePointer Input 74(float)
203          206(f):    205(ptr) Variable Input
204             207:             TypePointer Input 66(ivec4)
205          208(v):    207(ptr) Variable Input
206             209:             TypePointer Input 6(int)
207          210(i):    209(ptr) Variable Input
208             211:             TypePointer Private 22(bool)
209          212(b):    211(ptr) Variable Private
210         4(main):           2 Function None 3
211               5:             Label
212        8(count):      7(ptr) Variable Function
213           12(u):     11(ptr) Variable Function
214   55(shiftedii):      7(ptr) Variable Function
215   57(shiftedui):     11(ptr) Variable Function
216   59(shiftediu):      7(ptr) Variable Function
217   60(shifteduu):     11(ptr) Variable Function
218         111(af):    110(ptr) Variable Function
219         115(ab):    114(ptr) Variable Function
220         118(ai):      7(ptr) Variable Function
221      152(mask1):     11(ptr) Variable Function
222      154(mask2):     11(ptr) Variable Function
223      156(mask3):     11(ptr) Variable Function
224      160(mask4):     11(ptr) Variable Function
225                              Store 8(count) 9
226              18:     17(ptr) AccessChain 15(t) 16
227              19:     10(int) Load 18
228              21:     10(int) IAdd 19 20
229                              Store 12(u) 21
230                              SelectionMerge 25 None
231                              BranchConditional 23 24 25
232              24:               Label
233              27:      6(int)   Load 8(count)
234              28:      6(int)   IMul 27 26
235                                Store 8(count) 28
236                                Branch 25
237              25:             Label
238                              SelectionMerge 30 None
239                              BranchConditional 23 29 30
240              29:               Label
241              32:      6(int)   Load 8(count)
242              33:      6(int)   IMul 32 31
243                                Store 8(count) 33
244                                Branch 30
245              30:             Label
246                              SelectionMerge 36 None
247                              BranchConditional 34 35 36
248              35:               Label
249              38:      6(int)   Load 8(count)
250              39:      6(int)   IMul 38 37
251                                Store 8(count) 39
252                                Branch 36
253              36:             Label
254                              SelectionMerge 41 None
255                              BranchConditional 23 40 41
256              40:               Label
257              43:      6(int)   Load 8(count)
258              44:      6(int)   IMul 43 42
259                                Store 8(count) 44
260                                Branch 41
261              41:             Label
262                              SelectionMerge 46 None
263                              BranchConditional 23 45 46
264              45:               Label
265              48:      6(int)   Load 8(count)
266              49:      6(int)   IMul 48 47
267                                Store 8(count) 49
268                                Branch 46
269              46:             Label
270                              SelectionMerge 51 None
271                              BranchConditional 34 50 51
272              50:               Label
273              53:      6(int)   Load 8(count)
274              54:      6(int)   IMul 53 52
275                                Store 8(count) 54
276                                Branch 51
277              51:             Label
278                              Store 55(shiftedii) 56
279                              Store 57(shiftedui) 58
280                              Store 59(shiftediu) 56
281                              Store 60(shifteduu) 58
282              61:      6(int) Load 55(shiftedii)
283              62:      6(int) Load 59(shiftediu)
284              63:    22(bool) IEqual 61 62
285                              SelectionMerge 65 None
286                              BranchConditional 63 64 65
287              64:               Label
288              73:          70   Load 72(usampler)
289              78:   75(fvec2)   Load 77(tc)
290              79:   66(ivec4)   ImageSampleImplicitLod 73 78
291                                Store 68(c) 79
292                                Branch 65
293              65:             Label
294              80:     10(int) Load 57(shiftedui)
295              81:     10(int) Load 60(shifteduu)
296              82:    22(bool) IEqual 80 81
297                              SelectionMerge 84 None
298                              BranchConditional 82 83 84
299              83:               Label
300              85:          70   Load 72(usampler)
301              86:   75(fvec2)   Load 77(tc)
302              88:   75(fvec2)   CompositeConstruct 87 87
303              89:   75(fvec2)   FAdd 86 88
304              90:   66(ivec4)   ImageSampleImplicitLod 85 89
305                                Store 68(c) 90
306                                Branch 84
307              84:             Label
308              91:      6(int) Load 55(shiftedii)
309              92:     10(int) Load 57(shiftedui)
310              93:      6(int) Bitcast 92
311              94:    22(bool) IEqual 91 93
312                              SelectionMerge 96 None
313                              BranchConditional 94 95 96
314              95:               Label
315              97:          70   Load 72(usampler)
316              98:   75(fvec2)   Load 77(tc)
317             101:   75(fvec2)   FSub 98 100
318             102:   66(ivec4)   ImageSampleImplicitLod 97 101
319                                Store 68(c) 102
320                                Branch 96
321              96:             Label
322             104:     17(ptr) AccessChain 15(t) 103
323             105:     10(int) Load 104
324             107:    22(bool) UGreaterThan 105 106
325                              SelectionMerge 109 None
326                              BranchConditional 107 108 109
327             108:               Label
328             112:     10(int)   Load 12(u)
329             113:   74(float)   ConvertUToF 112
330                                Store 111(af) 113
331             116:     10(int)   Load 12(u)
332             117:    22(bool)   INotEqual 116 103
333                                Store 115(ab) 117
334             119:     10(int)   Load 12(u)
335             120:      6(int)   Bitcast 119
336                                Store 118(ai) 120
337             121:   74(float)   Load 111(af)
338             122:     10(int)   ConvertFToU 121
339             123:    22(bool)   Load 115(ab)
340             124:     10(int)   Select 123 16 103
341             125:      6(int)   Load 118(ai)
342             126:     10(int)   Bitcast 125
343             127:      6(int)   Load 8(count)
344             128:     10(int)   Bitcast 127
345             129:   66(ivec4)   CompositeConstruct 122 124 126 128
346             130:   66(ivec4)   Load 68(c)
347             131:   66(ivec4)   IAdd 130 129
348                                Store 68(c) 131
349                                Branch 109
350             109:             Label
351                              SelectionMerge 133 None
352                              BranchConditional 23 132 133
353             132:               Label
354             135:      6(int)   Load 8(count)
355             136:      6(int)   IMul 135 134
356                                Store 8(count) 136
357                                Branch 133
358             133:             Label
359                              SelectionMerge 138 None
360                              BranchConditional 34 137 138
361             137:               Label
362             140:      6(int)   Load 8(count)
363             141:      6(int)   IMul 140 139
364                                Store 8(count) 141
365                                Branch 138
366             138:             Label
367                              SelectionMerge 143 None
368                              BranchConditional 23 142 143
369             142:               Label
370             145:      6(int)   Load 8(count)
371             146:      6(int)   IMul 145 144
372                                Store 8(count) 146
373                                Branch 143
374             143:             Label
375                              SelectionMerge 148 None
376                              BranchConditional 23 147 148
377             147:               Label
378             150:      6(int)   Load 8(count)
379             151:      6(int)   IMul 150 149
380                                Store 8(count) 151
381                                Branch 148
382             148:             Label
383                              Store 152(mask1) 153
384                              Store 154(mask2) 155
385             157:     10(int) Load 152(mask1)
386             159:     10(int) ShiftLeftLogical 157 158
387                              Store 156(mask3) 159
388                              Store 160(mask4) 161
389             162:     10(int) Load 156(mask3)
390             163:     10(int) Load 154(mask2)
391             164:    22(bool) IEqual 162 163
392                              SelectionMerge 166 None
393                              BranchConditional 164 165 166
394             165:               Label
395             167:      6(int)   Load 8(count)
396             168:      6(int)   IMul 167 26
397                                Store 8(count) 168
398                                Branch 166
399             166:             Label
400             169:     10(int) Load 156(mask3)
401             170:     10(int) Load 152(mask1)
402             171:     10(int) BitwiseAnd 169 170
403             172:    22(bool) INotEqual 171 103
404                              SelectionMerge 174 None
405                              BranchConditional 172 173 174
406             173:               Label
407             175:      6(int)   Load 8(count)
408             176:      6(int)   IMul 175 31
409                                Store 8(count) 176
410                                Branch 174
411             174:             Label
412             177:     10(int) Load 152(mask1)
413             178:     10(int) Load 156(mask3)
414             179:     10(int) BitwiseOr 177 178
415             180:     10(int) Load 160(mask4)
416             181:    22(bool) IEqual 179 180
417                              SelectionMerge 183 None
418                              BranchConditional 181 182 183
419             182:               Label
420             184:      6(int)   Load 8(count)
421             185:      6(int)   IMul 184 37
422                                Store 8(count) 185
423                                Branch 183
424             183:             Label
425             186:     10(int) Load 152(mask1)
426             187:     10(int) Load 160(mask4)
427             188:     10(int) BitwiseXor 186 187
428             189:    22(bool) IEqual 188 155
429                              SelectionMerge 191 None
430                              BranchConditional 189 190 191
431             190:               Label
432             192:      6(int)   Load 8(count)
433             193:      6(int)   IMul 192 42
434                                Store 8(count) 193
435                                Branch 191
436             191:             Label
437             194:      6(int) Load 8(count)
438             195:     10(int) Bitcast 194
439             196:   66(ivec4) CompositeConstruct 195 195 195 195
440             197:   66(ivec4) Load 68(c)
441             198:   66(ivec4) IAdd 197 196
442                              Store 68(c) 198
443             201:    200(ptr) AccessChain 68(c) 103
444             202:     10(int) Load 201
445             203:     10(int) IAdd 202 199
446             204:    200(ptr) AccessChain 68(c) 103
447                              Store 204 203
448                              Return
449                              FunctionEnd
450