blob: 6b4bf4dce64bf1538261292b2508d7ffb8dd6fe6 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.image.frag
Alan Bakered777b02018-12-04 10:43:23 -05002Validation failed
John Kessenich2b5ea9f2018-01-31 18:35:56 -07003// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +01004// Generated by (magic number): 8000a
Rex Xud698ebf2018-10-17 13:55:11 +08005// Id's are bound by 395
John Kessenichcc16fa02015-12-10 18:01:54 -07006
7 Capability Shader
John Kessenich260f5062017-08-14 22:10:00 -06008 Capability StorageImageMultisample
9 Capability ImageCubeArray
10 Capability ImageRect
11 Capability Image1D
12 Capability ImageBuffer
John Kessenichb0364dc2016-02-14 17:37:30 -070013 Capability ImageMSArray
John Kessenich5d0fa972016-02-15 11:57:00 -070014 Capability StorageImageExtendedFormats
John Kessenich5e801132016-02-15 11:09:46 -070015 Capability ImageQuery
John Kessenich5d0fa972016-02-15 11:57:00 -070016 Capability StorageImageWriteWithoutFormat
John Kessenichcc16fa02015-12-10 18:01:54 -070017 1: ExtInstImport "GLSL.std.450"
18 MemoryModel Logical GLSL450
Rex Xud698ebf2018-10-17 13:55:11 +080019 EntryPoint Fragment 4 "main" 132 142 152 248 381 394
John Kessenich6c292d32016-02-15 20:58:50 -070020 ExecutionMode 4 OriginUpperLeft
John Kessenichcc16fa02015-12-10 18:01:54 -070021 Source GLSL 450
22 Name 4 "main"
23 Name 9 "iv"
24 Name 15 "i1D"
25 Name 27 "i2D"
26 Name 38 "i3D"
27 Name 45 "iCube"
28 Name 55 "iCubeArray"
29 Name 62 "i2DRect"
30 Name 72 "i1DArray"
31 Name 82 "i2DArray"
32 Name 89 "iBuffer"
33 Name 98 "i2DMS"
34 Name 108 "i2DMSArray"
35 Name 127 "v"
36 Name 132 "ic1D"
37 Name 142 "ic2D"
38 Name 152 "ic3D"
39 Name 229 "ui"
40 Name 232 "ii1D"
41 Name 245 "ui2D"
42 Name 248 "value"
Rex Xud698ebf2018-10-17 13:55:11 +080043 Name 357 "ii2DMS"
44 Name 367 "ui2DMSArray"
45 Name 376 "wo2D"
46 Name 381 "fragData"
47 Name 394 "ic4D"
John Kessenich6c292d32016-02-15 20:58:50 -070048 Decorate 15(i1D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070049 Decorate 15(i1D) Binding 0
John Kessenich6c292d32016-02-15 20:58:50 -070050 Decorate 27(i2D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070051 Decorate 27(i2D) Binding 1
John Kessenich6c292d32016-02-15 20:58:50 -070052 Decorate 38(i3D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070053 Decorate 38(i3D) Binding 2
John Kessenich6c292d32016-02-15 20:58:50 -070054 Decorate 45(iCube) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070055 Decorate 45(iCube) Binding 3
John Kessenich6c292d32016-02-15 20:58:50 -070056 Decorate 55(iCubeArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070057 Decorate 55(iCubeArray) Binding 4
John Kessenich6c292d32016-02-15 20:58:50 -070058 Decorate 62(i2DRect) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070059 Decorate 62(i2DRect) Binding 5
John Kessenich6c292d32016-02-15 20:58:50 -070060 Decorate 72(i1DArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070061 Decorate 72(i1DArray) Binding 6
John Kessenich6c292d32016-02-15 20:58:50 -070062 Decorate 82(i2DArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070063 Decorate 82(i2DArray) Binding 7
John Kessenich6c292d32016-02-15 20:58:50 -070064 Decorate 89(iBuffer) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070065 Decorate 89(iBuffer) Binding 8
John Kessenich6c292d32016-02-15 20:58:50 -070066 Decorate 98(i2DMS) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070067 Decorate 98(i2DMS) Binding 9
John Kessenich6c292d32016-02-15 20:58:50 -070068 Decorate 108(i2DMSArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070069 Decorate 108(i2DMSArray) Binding 10
John Kessenich6c292d32016-02-15 20:58:50 -070070 Decorate 132(ic1D) Flat
71 Decorate 142(ic2D) Flat
72 Decorate 152(ic3D) Flat
73 Decorate 232(ii1D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070074 Decorate 232(ii1D) Binding 11
John Kessenich6c292d32016-02-15 20:58:50 -070075 Decorate 245(ui2D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070076 Decorate 245(ui2D) Binding 12
John Kessenich6c292d32016-02-15 20:58:50 -070077 Decorate 248(value) Flat
Rex Xud698ebf2018-10-17 13:55:11 +080078 Decorate 357(ii2DMS) DescriptorSet 0
79 Decorate 357(ii2DMS) Binding 13
80 Decorate 367(ui2DMSArray) DescriptorSet 0
81 Decorate 367(ui2DMSArray) Binding 14
82 Decorate 376(wo2D) DescriptorSet 0
83 Decorate 376(wo2D) Binding 1
84 Decorate 376(wo2D) NonReadable
85 Decorate 394(ic4D) Flat
John Kessenichcc16fa02015-12-10 18:01:54 -070086 2: TypeVoid
87 3: TypeFunction 2
88 6: TypeInt 32 1
89 7: TypeVector 6(int) 3
90 8: TypePointer Function 7(ivec3)
91 10: 6(int) Constant 0
92 11: 7(ivec3) ConstantComposite 10 10 10
93 12: TypeFloat 32
94 13: TypeImage 12(float) 1D nonsampled format:Rgba32f
95 14: TypePointer UniformConstant 13
96 15(i1D): 14(ptr) Variable UniformConstant
97 18: TypeInt 32 0
98 19: 18(int) Constant 0
99 20: TypePointer Function 6(int)
100 25: TypeImage 12(float) 2D nonsampled format:Rgba32f
101 26: TypePointer UniformConstant 25
102 27(i2D): 26(ptr) Variable UniformConstant
103 29: TypeVector 6(int) 2
104 36: TypeImage 12(float) 3D nonsampled format:Rgba32f
105 37: TypePointer UniformConstant 36
106 38(i3D): 37(ptr) Variable UniformConstant
107 43: TypeImage 12(float) Cube nonsampled format:Rgba32f
108 44: TypePointer UniformConstant 43
109 45(iCube): 44(ptr) Variable UniformConstant
110 53: TypeImage 12(float) Cube array nonsampled format:Rgba32f
111 54: TypePointer UniformConstant 53
112 55(iCubeArray): 54(ptr) Variable UniformConstant
113 60: TypeImage 12(float) Rect nonsampled format:Rgba32f
114 61: TypePointer UniformConstant 60
115 62(i2DRect): 61(ptr) Variable UniformConstant
116 70: TypeImage 12(float) 1D array nonsampled format:Rgba32f
117 71: TypePointer UniformConstant 70
118 72(i1DArray): 71(ptr) Variable UniformConstant
John Kessenich5d0fa972016-02-15 11:57:00 -0700119 80: TypeImage 12(float) 2D array nonsampled format:Rg16
John Kessenichcc16fa02015-12-10 18:01:54 -0700120 81: TypePointer UniformConstant 80
121 82(i2DArray): 81(ptr) Variable UniformConstant
122 87: TypeImage 12(float) Buffer nonsampled format:Rgba32f
123 88: TypePointer UniformConstant 87
124 89(iBuffer): 88(ptr) Variable UniformConstant
125 96: TypeImage 12(float) 2D multi-sampled nonsampled format:Rgba32f
126 97: TypePointer UniformConstant 96
127 98(i2DMS): 97(ptr) Variable UniformConstant
128 106: TypeImage 12(float) 2D array multi-sampled nonsampled format:Rgba32f
129 107: TypePointer UniformConstant 106
130 108(i2DMSArray): 107(ptr) Variable UniformConstant
131 125: TypeVector 12(float) 4
132 126: TypePointer Function 125(fvec4)
133 128: 12(float) Constant 0
134 129: 125(fvec4) ConstantComposite 128 128 128 128
John Kessenich6c292d32016-02-15 20:58:50 -0700135 131: TypePointer Input 6(int)
136 132(ic1D): 131(ptr) Variable Input
137 141: TypePointer Input 29(ivec2)
138 142(ic2D): 141(ptr) Variable Input
139 151: TypePointer Input 7(ivec3)
140 152(ic3D): 151(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700141 210: 6(int) Constant 1
142 216: 6(int) Constant 2
143 220: 6(int) Constant 3
144 226: 6(int) Constant 4
145 228: TypePointer Function 18(int)
146 230: TypeImage 6(int) 1D nonsampled format:R32i
147 231: TypePointer UniformConstant 230
148 232(ii1D): 231(ptr) Variable UniformConstant
149 234: 6(int) Constant 10
150 235: TypePointer Image 6(int)
151 237: 18(int) Constant 1
152 243: TypeImage 18(int) 2D nonsampled format:R32ui
153 244: TypePointer UniformConstant 243
154 245(ui2D): 244(ptr) Variable UniformConstant
John Kessenich6c292d32016-02-15 20:58:50 -0700155 247: TypePointer Input 18(int)
156 248(value): 247(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700157 250: TypePointer Image 18(int)
158 256: 6(int) Constant 11
159 270: 6(int) Constant 12
160 284: 6(int) Constant 13
161 298: 6(int) Constant 14
162 312: 6(int) Constant 15
163 326: 6(int) Constant 16
164 340: 6(int) Constant 18
165 341: 6(int) Constant 17
166 349: 18(int) Constant 19
Rex Xud698ebf2018-10-17 13:55:11 +0800167 355: TypeImage 6(int) 2D multi-sampled nonsampled format:R32i
John Kessenich5d0fa972016-02-15 11:57:00 -0700168 356: TypePointer UniformConstant 355
Rex Xud698ebf2018-10-17 13:55:11 +0800169 357(ii2DMS): 356(ptr) Variable UniformConstant
170 365: TypeImage 18(int) 2D array multi-sampled nonsampled format:R32ui
171 366: TypePointer UniformConstant 365
172367(ui2DMSArray): 366(ptr) Variable UniformConstant
173 374: TypeImage 12(float) 2D nonsampled format:Unknown
174 375: TypePointer UniformConstant 374
175 376(wo2D): 375(ptr) Variable UniformConstant
176 380: TypePointer Output 125(fvec4)
177 381(fragData): 380(ptr) Variable Output
178 386: TypeBool
179 389: TypeVector 386(bool) 4
180 392: TypeVector 6(int) 4
181 393: TypePointer Input 392(ivec4)
182 394(ic4D): 393(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700183 4(main): 2 Function None 3
184 5: Label
185 9(iv): 8(ptr) Variable Function
186 127(v): 126(ptr) Variable Function
187 229(ui): 228(ptr) Variable Function
John Kessenichcc16fa02015-12-10 18:01:54 -0700188 Store 9(iv) 11
189 16: 13 Load 15(i1D)
190 17: 6(int) ImageQuerySize 16
191 21: 20(ptr) AccessChain 9(iv) 19
192 22: 6(int) Load 21
193 23: 6(int) IAdd 22 17
194 24: 20(ptr) AccessChain 9(iv) 19
195 Store 24 23
196 28: 25 Load 27(i2D)
197 30: 29(ivec2) ImageQuerySize 28
198 31: 7(ivec3) Load 9(iv)
199 32: 29(ivec2) VectorShuffle 31 31 0 1
200 33: 29(ivec2) IAdd 32 30
201 34: 7(ivec3) Load 9(iv)
202 35: 7(ivec3) VectorShuffle 34 33 3 4 2
203 Store 9(iv) 35
204 39: 36 Load 38(i3D)
205 40: 7(ivec3) ImageQuerySize 39
206 41: 7(ivec3) Load 9(iv)
207 42: 7(ivec3) IAdd 41 40
208 Store 9(iv) 42
209 46: 43 Load 45(iCube)
210 47: 29(ivec2) ImageQuerySize 46
211 48: 7(ivec3) Load 9(iv)
212 49: 29(ivec2) VectorShuffle 48 48 0 1
213 50: 29(ivec2) IAdd 49 47
214 51: 7(ivec3) Load 9(iv)
215 52: 7(ivec3) VectorShuffle 51 50 3 4 2
216 Store 9(iv) 52
217 56: 53 Load 55(iCubeArray)
218 57: 7(ivec3) ImageQuerySize 56
219 58: 7(ivec3) Load 9(iv)
220 59: 7(ivec3) IAdd 58 57
221 Store 9(iv) 59
222 63: 60 Load 62(i2DRect)
223 64: 29(ivec2) ImageQuerySize 63
224 65: 7(ivec3) Load 9(iv)
225 66: 29(ivec2) VectorShuffle 65 65 0 1
226 67: 29(ivec2) IAdd 66 64
227 68: 7(ivec3) Load 9(iv)
228 69: 7(ivec3) VectorShuffle 68 67 3 4 2
229 Store 9(iv) 69
230 73: 70 Load 72(i1DArray)
231 74: 29(ivec2) ImageQuerySize 73
232 75: 7(ivec3) Load 9(iv)
233 76: 29(ivec2) VectorShuffle 75 75 0 1
234 77: 29(ivec2) IAdd 76 74
235 78: 7(ivec3) Load 9(iv)
236 79: 7(ivec3) VectorShuffle 78 77 3 4 2
237 Store 9(iv) 79
238 83: 80 Load 82(i2DArray)
239 84: 7(ivec3) ImageQuerySize 83
240 85: 7(ivec3) Load 9(iv)
241 86: 7(ivec3) IAdd 85 84
242 Store 9(iv) 86
243 90: 87 Load 89(iBuffer)
244 91: 6(int) ImageQuerySize 90
245 92: 20(ptr) AccessChain 9(iv) 19
246 93: 6(int) Load 92
247 94: 6(int) IAdd 93 91
248 95: 20(ptr) AccessChain 9(iv) 19
249 Store 95 94
250 99: 96 Load 98(i2DMS)
251 100: 29(ivec2) ImageQuerySize 99
252 101: 7(ivec3) Load 9(iv)
253 102: 29(ivec2) VectorShuffle 101 101 0 1
254 103: 29(ivec2) IAdd 102 100
255 104: 7(ivec3) Load 9(iv)
256 105: 7(ivec3) VectorShuffle 104 103 3 4 2
257 Store 9(iv) 105
258 109: 106 Load 108(i2DMSArray)
259 110: 7(ivec3) ImageQuerySize 109
260 111: 7(ivec3) Load 9(iv)
261 112: 7(ivec3) IAdd 111 110
262 Store 9(iv) 112
263 113: 96 Load 98(i2DMS)
264 114: 6(int) ImageQuerySamples 113
265 115: 20(ptr) AccessChain 9(iv) 19
266 116: 6(int) Load 115
267 117: 6(int) IAdd 116 114
268 118: 20(ptr) AccessChain 9(iv) 19
269 Store 118 117
270 119: 106 Load 108(i2DMSArray)
271 120: 6(int) ImageQuerySamples 119
272 121: 20(ptr) AccessChain 9(iv) 19
273 122: 6(int) Load 121
274 123: 6(int) IAdd 122 120
275 124: 20(ptr) AccessChain 9(iv) 19
276 Store 124 123
277 Store 127(v) 129
278 130: 13 Load 15(i1D)
279 133: 6(int) Load 132(ic1D)
280 134: 125(fvec4) ImageRead 130 133
281 135: 125(fvec4) Load 127(v)
282 136: 125(fvec4) FAdd 135 134
283 Store 127(v) 136
284 137: 13 Load 15(i1D)
285 138: 6(int) Load 132(ic1D)
286 139: 125(fvec4) Load 127(v)
287 ImageWrite 137 138 139
288 140: 25 Load 27(i2D)
289 143: 29(ivec2) Load 142(ic2D)
290 144: 125(fvec4) ImageRead 140 143
291 145: 125(fvec4) Load 127(v)
292 146: 125(fvec4) FAdd 145 144
293 Store 127(v) 146
294 147: 25 Load 27(i2D)
295 148: 29(ivec2) Load 142(ic2D)
296 149: 125(fvec4) Load 127(v)
297 ImageWrite 147 148 149
298 150: 36 Load 38(i3D)
299 153: 7(ivec3) Load 152(ic3D)
300 154: 125(fvec4) ImageRead 150 153
301 155: 125(fvec4) Load 127(v)
302 156: 125(fvec4) FAdd 155 154
303 Store 127(v) 156
304 157: 36 Load 38(i3D)
305 158: 7(ivec3) Load 152(ic3D)
306 159: 125(fvec4) Load 127(v)
307 ImageWrite 157 158 159
308 160: 43 Load 45(iCube)
309 161: 7(ivec3) Load 152(ic3D)
310 162: 125(fvec4) ImageRead 160 161
311 163: 125(fvec4) Load 127(v)
312 164: 125(fvec4) FAdd 163 162
313 Store 127(v) 164
314 165: 43 Load 45(iCube)
315 166: 7(ivec3) Load 152(ic3D)
316 167: 125(fvec4) Load 127(v)
317 ImageWrite 165 166 167
318 168: 53 Load 55(iCubeArray)
319 169: 7(ivec3) Load 152(ic3D)
320 170: 125(fvec4) ImageRead 168 169
321 171: 125(fvec4) Load 127(v)
322 172: 125(fvec4) FAdd 171 170
323 Store 127(v) 172
324 173: 53 Load 55(iCubeArray)
325 174: 7(ivec3) Load 152(ic3D)
326 175: 125(fvec4) Load 127(v)
327 ImageWrite 173 174 175
328 176: 60 Load 62(i2DRect)
329 177: 29(ivec2) Load 142(ic2D)
330 178: 125(fvec4) ImageRead 176 177
331 179: 125(fvec4) Load 127(v)
332 180: 125(fvec4) FAdd 179 178
333 Store 127(v) 180
334 181: 60 Load 62(i2DRect)
335 182: 29(ivec2) Load 142(ic2D)
336 183: 125(fvec4) Load 127(v)
337 ImageWrite 181 182 183
338 184: 70 Load 72(i1DArray)
339 185: 29(ivec2) Load 142(ic2D)
340 186: 125(fvec4) ImageRead 184 185
341 187: 125(fvec4) Load 127(v)
342 188: 125(fvec4) FAdd 187 186
343 Store 127(v) 188
344 189: 70 Load 72(i1DArray)
345 190: 29(ivec2) Load 142(ic2D)
346 191: 125(fvec4) Load 127(v)
347 ImageWrite 189 190 191
348 192: 80 Load 82(i2DArray)
349 193: 7(ivec3) Load 152(ic3D)
350 194: 125(fvec4) ImageRead 192 193
351 195: 125(fvec4) Load 127(v)
352 196: 125(fvec4) FAdd 195 194
353 Store 127(v) 196
354 197: 80 Load 82(i2DArray)
355 198: 7(ivec3) Load 152(ic3D)
356 199: 125(fvec4) Load 127(v)
357 ImageWrite 197 198 199
358 200: 87 Load 89(iBuffer)
359 201: 6(int) Load 132(ic1D)
360 202: 125(fvec4) ImageRead 200 201
361 203: 125(fvec4) Load 127(v)
362 204: 125(fvec4) FAdd 203 202
363 Store 127(v) 204
364 205: 87 Load 89(iBuffer)
365 206: 6(int) Load 132(ic1D)
366 207: 125(fvec4) Load 127(v)
367 ImageWrite 205 206 207
368 208: 96 Load 98(i2DMS)
369 209: 29(ivec2) Load 142(ic2D)
370 211: 125(fvec4) ImageRead 208 209 Sample 210
371 212: 125(fvec4) Load 127(v)
372 213: 125(fvec4) FAdd 212 211
373 Store 127(v) 213
374 214: 96 Load 98(i2DMS)
375 215: 29(ivec2) Load 142(ic2D)
376 217: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800377 ImageWrite 214 215 217 Sample 216
John Kessenichcc16fa02015-12-10 18:01:54 -0700378 218: 106 Load 108(i2DMSArray)
379 219: 7(ivec3) Load 152(ic3D)
380 221: 125(fvec4) ImageRead 218 219 Sample 220
381 222: 125(fvec4) Load 127(v)
382 223: 125(fvec4) FAdd 222 221
383 Store 127(v) 223
384 224: 106 Load 108(i2DMSArray)
385 225: 7(ivec3) Load 152(ic3D)
386 227: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800387 ImageWrite 224 225 227 Sample 226
John Kessenichcc16fa02015-12-10 18:01:54 -0700388 Store 229(ui) 19
389 233: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700390 236: 235(ptr) ImageTexelPointer 232(ii1D) 233 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700391 238: 6(int) AtomicIAdd 236 237 19 234
392 239: 20(ptr) AccessChain 9(iv) 19
393 240: 6(int) Load 239
394 241: 6(int) IAdd 240 238
395 242: 20(ptr) AccessChain 9(iv) 19
396 Store 242 241
397 246: 29(ivec2) Load 142(ic2D)
398 249: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700399 251: 250(ptr) ImageTexelPointer 245(ui2D) 246 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700400 252: 18(int) AtomicIAdd 251 237 19 249
401 253: 18(int) Load 229(ui)
402 254: 18(int) IAdd 253 252
403 Store 229(ui) 254
404 255: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700405 257: 235(ptr) ImageTexelPointer 232(ii1D) 255 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700406 258: 6(int) AtomicSMin 257 237 19 256
407 259: 20(ptr) AccessChain 9(iv) 19
408 260: 6(int) Load 259
409 261: 6(int) IAdd 260 258
410 262: 20(ptr) AccessChain 9(iv) 19
411 Store 262 261
412 263: 29(ivec2) Load 142(ic2D)
413 264: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700414 265: 250(ptr) ImageTexelPointer 245(ui2D) 263 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700415 266: 18(int) AtomicUMin 265 237 19 264
416 267: 18(int) Load 229(ui)
417 268: 18(int) IAdd 267 266
418 Store 229(ui) 268
419 269: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700420 271: 235(ptr) ImageTexelPointer 232(ii1D) 269 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700421 272: 6(int) AtomicSMax 271 237 19 270
422 273: 20(ptr) AccessChain 9(iv) 19
423 274: 6(int) Load 273
424 275: 6(int) IAdd 274 272
425 276: 20(ptr) AccessChain 9(iv) 19
426 Store 276 275
427 277: 29(ivec2) Load 142(ic2D)
428 278: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700429 279: 250(ptr) ImageTexelPointer 245(ui2D) 277 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700430 280: 18(int) AtomicUMax 279 237 19 278
431 281: 18(int) Load 229(ui)
432 282: 18(int) IAdd 281 280
433 Store 229(ui) 282
434 283: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700435 285: 235(ptr) ImageTexelPointer 232(ii1D) 283 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700436 286: 6(int) AtomicAnd 285 237 19 284
437 287: 20(ptr) AccessChain 9(iv) 19
438 288: 6(int) Load 287
439 289: 6(int) IAdd 288 286
440 290: 20(ptr) AccessChain 9(iv) 19
441 Store 290 289
442 291: 29(ivec2) Load 142(ic2D)
443 292: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700444 293: 250(ptr) ImageTexelPointer 245(ui2D) 291 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700445 294: 18(int) AtomicAnd 293 237 19 292
446 295: 18(int) Load 229(ui)
447 296: 18(int) IAdd 295 294
448 Store 229(ui) 296
449 297: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700450 299: 235(ptr) ImageTexelPointer 232(ii1D) 297 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700451 300: 6(int) AtomicOr 299 237 19 298
452 301: 20(ptr) AccessChain 9(iv) 19
453 302: 6(int) Load 301
454 303: 6(int) IAdd 302 300
455 304: 20(ptr) AccessChain 9(iv) 19
456 Store 304 303
457 305: 29(ivec2) Load 142(ic2D)
458 306: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700459 307: 250(ptr) ImageTexelPointer 245(ui2D) 305 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700460 308: 18(int) AtomicOr 307 237 19 306
461 309: 18(int) Load 229(ui)
462 310: 18(int) IAdd 309 308
463 Store 229(ui) 310
464 311: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700465 313: 235(ptr) ImageTexelPointer 232(ii1D) 311 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700466 314: 6(int) AtomicXor 313 237 19 312
467 315: 20(ptr) AccessChain 9(iv) 19
468 316: 6(int) Load 315
469 317: 6(int) IAdd 316 314
470 318: 20(ptr) AccessChain 9(iv) 19
471 Store 318 317
472 319: 29(ivec2) Load 142(ic2D)
473 320: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700474 321: 250(ptr) ImageTexelPointer 245(ui2D) 319 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700475 322: 18(int) AtomicXor 321 237 19 320
476 323: 18(int) Load 229(ui)
477 324: 18(int) IAdd 323 322
478 Store 229(ui) 324
479 325: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700480 327: 235(ptr) ImageTexelPointer 232(ii1D) 325 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700481 328: 6(int) AtomicExchange 327 237 19 326
482 329: 20(ptr) AccessChain 9(iv) 19
483 330: 6(int) Load 329
484 331: 6(int) IAdd 330 328
485 332: 20(ptr) AccessChain 9(iv) 19
486 Store 332 331
487 333: 29(ivec2) Load 142(ic2D)
488 334: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700489 335: 250(ptr) ImageTexelPointer 245(ui2D) 333 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700490 336: 18(int) AtomicExchange 335 237 19 334
491 337: 18(int) Load 229(ui)
492 338: 18(int) IAdd 337 336
493 Store 229(ui) 338
494 339: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700495 342: 235(ptr) ImageTexelPointer 232(ii1D) 339 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700496 343: 6(int) AtomicCompareExchange 342 237 19 19 341 340
497 344: 20(ptr) AccessChain 9(iv) 19
498 345: 6(int) Load 344
499 346: 6(int) IAdd 345 343
500 347: 20(ptr) AccessChain 9(iv) 19
501 Store 347 346
502 348: 29(ivec2) Load 142(ic2D)
503 350: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700504 351: 250(ptr) ImageTexelPointer 245(ui2D) 348 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700505 352: 18(int) AtomicCompareExchange 351 237 19 19 350 349
506 353: 18(int) Load 229(ui)
507 354: 18(int) IAdd 353 352
508 Store 229(ui) 354
Rex Xud698ebf2018-10-17 13:55:11 +0800509 358: 29(ivec2) Load 142(ic2D)
510 359: 235(ptr) ImageTexelPointer 357(ii2DMS) 358 216
511 360: 6(int) AtomicCompareExchange 359 237 19 19 341 340
512 361: 20(ptr) AccessChain 9(iv) 19
513 362: 6(int) Load 361
514 363: 6(int) IAdd 362 360
515 364: 20(ptr) AccessChain 9(iv) 19
516 Store 364 363
517 368: 7(ivec3) Load 152(ic3D)
518 369: 18(int) Load 248(value)
519 370: 250(ptr) ImageTexelPointer 367(ui2DMSArray) 368 220
520 371: 18(int) AtomicCompareExchange 370 237 19 19 369 349
521 372: 18(int) Load 229(ui)
522 373: 18(int) IAdd 372 371
523 Store 229(ui) 373
524 377: 374 Load 376(wo2D)
525 378: 29(ivec2) Load 142(ic2D)
526 379: 125(fvec4) Load 127(v)
527 ImageWrite 377 378 379
528 382: 18(int) Load 229(ui)
529 383: 20(ptr) AccessChain 9(iv) 237
530 384: 6(int) Load 383
531 385: 18(int) Bitcast 384
532 387: 386(bool) INotEqual 382 385
533 388: 125(fvec4) Load 127(v)
534 390: 389(bvec4) CompositeConstruct 387 387 387 387
535 391: 125(fvec4) Select 390 388 129
536 Store 381(fragData) 391
John Kessenichcc16fa02015-12-10 18:01:54 -0700537 Return
538 FunctionEnd