blob: ca9c588de4b6fab84ccb121d0bdd8bfa2b934c86 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.image.frag
2Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
3
4
5Linked fragment stage:
6
7
8// Module Version 10000
9// Generated by (magic number): 80001
John Kessenich5d0fa972016-02-15 11:57:00 -070010// Id's are bound by 378
John Kessenichcc16fa02015-12-10 18:01:54 -070011
12 Capability Shader
John Kessenichb0364dc2016-02-14 17:37:30 -070013 Capability SampledRect
14 Capability Sampled1D
15 Capability SampledCubeArray
16 Capability SampledBuffer
17 Capability ImageMSArray
John Kessenich5d0fa972016-02-15 11:57:00 -070018 Capability StorageImageExtendedFormats
John Kessenich5e801132016-02-15 11:09:46 -070019 Capability ImageQuery
John Kessenich5d0fa972016-02-15 11:57:00 -070020 Capability StorageImageWriteWithoutFormat
John Kessenichcc16fa02015-12-10 18:01:54 -070021 1: ExtInstImport "GLSL.std.450"
22 MemoryModel Logical GLSL450
John Kessenich5d0fa972016-02-15 11:57:00 -070023 EntryPoint Fragment 4 "main" 362
John Kessenichcc16fa02015-12-10 18:01:54 -070024 ExecutionMode 4 OriginLowerLeft
25 Source GLSL 450
26 Name 4 "main"
27 Name 9 "iv"
28 Name 15 "i1D"
29 Name 27 "i2D"
30 Name 38 "i3D"
31 Name 45 "iCube"
32 Name 55 "iCubeArray"
33 Name 62 "i2DRect"
34 Name 72 "i1DArray"
35 Name 82 "i2DArray"
36 Name 89 "iBuffer"
37 Name 98 "i2DMS"
38 Name 108 "i2DMSArray"
39 Name 127 "v"
40 Name 132 "ic1D"
41 Name 142 "ic2D"
42 Name 152 "ic3D"
43 Name 229 "ui"
44 Name 232 "ii1D"
45 Name 245 "ui2D"
46 Name 248 "value"
John Kessenich5d0fa972016-02-15 11:57:00 -070047 Name 357 "wo2D"
48 Name 362 "fragData"
49 Name 377 "ic4D"
John Kessenichcc16fa02015-12-10 18:01:54 -070050 Decorate 15(i1D) Binding 0
51 Decorate 27(i2D) Binding 1
52 Decorate 38(i3D) Binding 2
53 Decorate 45(iCube) Binding 3
54 Decorate 55(iCubeArray) Binding 4
55 Decorate 62(i2DRect) Binding 5
56 Decorate 72(i1DArray) Binding 6
57 Decorate 82(i2DArray) Binding 7
58 Decorate 89(iBuffer) Binding 8
59 Decorate 98(i2DMS) Binding 9
60 Decorate 108(i2DMSArray) Binding 10
61 Decorate 232(ii1D) Binding 11
62 Decorate 245(ui2D) Binding 12
John Kessenich5d0fa972016-02-15 11:57:00 -070063 Decorate 357(wo2D) Binding 1
John Kessenichcc16fa02015-12-10 18:01:54 -070064 2: TypeVoid
65 3: TypeFunction 2
66 6: TypeInt 32 1
67 7: TypeVector 6(int) 3
68 8: TypePointer Function 7(ivec3)
69 10: 6(int) Constant 0
70 11: 7(ivec3) ConstantComposite 10 10 10
71 12: TypeFloat 32
72 13: TypeImage 12(float) 1D nonsampled format:Rgba32f
73 14: TypePointer UniformConstant 13
74 15(i1D): 14(ptr) Variable UniformConstant
75 18: TypeInt 32 0
76 19: 18(int) Constant 0
77 20: TypePointer Function 6(int)
78 25: TypeImage 12(float) 2D nonsampled format:Rgba32f
79 26: TypePointer UniformConstant 25
80 27(i2D): 26(ptr) Variable UniformConstant
81 29: TypeVector 6(int) 2
82 36: TypeImage 12(float) 3D nonsampled format:Rgba32f
83 37: TypePointer UniformConstant 36
84 38(i3D): 37(ptr) Variable UniformConstant
85 43: TypeImage 12(float) Cube nonsampled format:Rgba32f
86 44: TypePointer UniformConstant 43
87 45(iCube): 44(ptr) Variable UniformConstant
88 53: TypeImage 12(float) Cube array nonsampled format:Rgba32f
89 54: TypePointer UniformConstant 53
90 55(iCubeArray): 54(ptr) Variable UniformConstant
91 60: TypeImage 12(float) Rect nonsampled format:Rgba32f
92 61: TypePointer UniformConstant 60
93 62(i2DRect): 61(ptr) Variable UniformConstant
94 70: TypeImage 12(float) 1D array nonsampled format:Rgba32f
95 71: TypePointer UniformConstant 70
96 72(i1DArray): 71(ptr) Variable UniformConstant
John Kessenich5d0fa972016-02-15 11:57:00 -070097 80: TypeImage 12(float) 2D array nonsampled format:Rg16
John Kessenichcc16fa02015-12-10 18:01:54 -070098 81: TypePointer UniformConstant 80
99 82(i2DArray): 81(ptr) Variable UniformConstant
100 87: TypeImage 12(float) Buffer nonsampled format:Rgba32f
101 88: TypePointer UniformConstant 87
102 89(iBuffer): 88(ptr) Variable UniformConstant
103 96: TypeImage 12(float) 2D multi-sampled nonsampled format:Rgba32f
104 97: TypePointer UniformConstant 96
105 98(i2DMS): 97(ptr) Variable UniformConstant
106 106: TypeImage 12(float) 2D array multi-sampled nonsampled format:Rgba32f
107 107: TypePointer UniformConstant 106
108 108(i2DMSArray): 107(ptr) Variable UniformConstant
109 125: TypeVector 12(float) 4
110 126: TypePointer Function 125(fvec4)
111 128: 12(float) Constant 0
112 129: 125(fvec4) ConstantComposite 128 128 128 128
113 131: TypePointer UniformConstant 6(int)
114 132(ic1D): 131(ptr) Variable UniformConstant
115 141: TypePointer UniformConstant 29(ivec2)
116 142(ic2D): 141(ptr) Variable UniformConstant
117 151: TypePointer UniformConstant 7(ivec3)
118 152(ic3D): 151(ptr) Variable UniformConstant
119 210: 6(int) Constant 1
120 216: 6(int) Constant 2
121 220: 6(int) Constant 3
122 226: 6(int) Constant 4
123 228: TypePointer Function 18(int)
124 230: TypeImage 6(int) 1D nonsampled format:R32i
125 231: TypePointer UniformConstant 230
126 232(ii1D): 231(ptr) Variable UniformConstant
127 234: 6(int) Constant 10
128 235: TypePointer Image 6(int)
129 237: 18(int) Constant 1
130 243: TypeImage 18(int) 2D nonsampled format:R32ui
131 244: TypePointer UniformConstant 243
132 245(ui2D): 244(ptr) Variable UniformConstant
133 247: TypePointer UniformConstant 18(int)
134 248(value): 247(ptr) Variable UniformConstant
135 250: TypePointer Image 18(int)
136 256: 6(int) Constant 11
137 270: 6(int) Constant 12
138 284: 6(int) Constant 13
139 298: 6(int) Constant 14
140 312: 6(int) Constant 15
141 326: 6(int) Constant 16
142 340: 6(int) Constant 18
143 341: 6(int) Constant 17
144 349: 18(int) Constant 19
John Kessenich5d0fa972016-02-15 11:57:00 -0700145 355: TypeImage 12(float) 2D nonsampled format:Unknown
146 356: TypePointer UniformConstant 355
147 357(wo2D): 356(ptr) Variable UniformConstant
148 361: TypePointer Output 125(fvec4)
149 362(fragData): 361(ptr) Variable Output
150 368: TypeBool
151 375: TypeVector 6(int) 4
152 376: TypePointer UniformConstant 375(ivec4)
153 377(ic4D): 376(ptr) Variable UniformConstant
John Kessenichcc16fa02015-12-10 18:01:54 -0700154 4(main): 2 Function None 3
155 5: Label
156 9(iv): 8(ptr) Variable Function
157 127(v): 126(ptr) Variable Function
158 229(ui): 228(ptr) Variable Function
John Kessenich5d0fa972016-02-15 11:57:00 -0700159 363: 126(ptr) Variable Function
John Kessenichcc16fa02015-12-10 18:01:54 -0700160 Store 9(iv) 11
161 16: 13 Load 15(i1D)
162 17: 6(int) ImageQuerySize 16
163 21: 20(ptr) AccessChain 9(iv) 19
164 22: 6(int) Load 21
165 23: 6(int) IAdd 22 17
166 24: 20(ptr) AccessChain 9(iv) 19
167 Store 24 23
168 28: 25 Load 27(i2D)
169 30: 29(ivec2) ImageQuerySize 28
170 31: 7(ivec3) Load 9(iv)
171 32: 29(ivec2) VectorShuffle 31 31 0 1
172 33: 29(ivec2) IAdd 32 30
173 34: 7(ivec3) Load 9(iv)
174 35: 7(ivec3) VectorShuffle 34 33 3 4 2
175 Store 9(iv) 35
176 39: 36 Load 38(i3D)
177 40: 7(ivec3) ImageQuerySize 39
178 41: 7(ivec3) Load 9(iv)
179 42: 7(ivec3) IAdd 41 40
180 Store 9(iv) 42
181 46: 43 Load 45(iCube)
182 47: 29(ivec2) ImageQuerySize 46
183 48: 7(ivec3) Load 9(iv)
184 49: 29(ivec2) VectorShuffle 48 48 0 1
185 50: 29(ivec2) IAdd 49 47
186 51: 7(ivec3) Load 9(iv)
187 52: 7(ivec3) VectorShuffle 51 50 3 4 2
188 Store 9(iv) 52
189 56: 53 Load 55(iCubeArray)
190 57: 7(ivec3) ImageQuerySize 56
191 58: 7(ivec3) Load 9(iv)
192 59: 7(ivec3) IAdd 58 57
193 Store 9(iv) 59
194 63: 60 Load 62(i2DRect)
195 64: 29(ivec2) ImageQuerySize 63
196 65: 7(ivec3) Load 9(iv)
197 66: 29(ivec2) VectorShuffle 65 65 0 1
198 67: 29(ivec2) IAdd 66 64
199 68: 7(ivec3) Load 9(iv)
200 69: 7(ivec3) VectorShuffle 68 67 3 4 2
201 Store 9(iv) 69
202 73: 70 Load 72(i1DArray)
203 74: 29(ivec2) ImageQuerySize 73
204 75: 7(ivec3) Load 9(iv)
205 76: 29(ivec2) VectorShuffle 75 75 0 1
206 77: 29(ivec2) IAdd 76 74
207 78: 7(ivec3) Load 9(iv)
208 79: 7(ivec3) VectorShuffle 78 77 3 4 2
209 Store 9(iv) 79
210 83: 80 Load 82(i2DArray)
211 84: 7(ivec3) ImageQuerySize 83
212 85: 7(ivec3) Load 9(iv)
213 86: 7(ivec3) IAdd 85 84
214 Store 9(iv) 86
215 90: 87 Load 89(iBuffer)
216 91: 6(int) ImageQuerySize 90
217 92: 20(ptr) AccessChain 9(iv) 19
218 93: 6(int) Load 92
219 94: 6(int) IAdd 93 91
220 95: 20(ptr) AccessChain 9(iv) 19
221 Store 95 94
222 99: 96 Load 98(i2DMS)
223 100: 29(ivec2) ImageQuerySize 99
224 101: 7(ivec3) Load 9(iv)
225 102: 29(ivec2) VectorShuffle 101 101 0 1
226 103: 29(ivec2) IAdd 102 100
227 104: 7(ivec3) Load 9(iv)
228 105: 7(ivec3) VectorShuffle 104 103 3 4 2
229 Store 9(iv) 105
230 109: 106 Load 108(i2DMSArray)
231 110: 7(ivec3) ImageQuerySize 109
232 111: 7(ivec3) Load 9(iv)
233 112: 7(ivec3) IAdd 111 110
234 Store 9(iv) 112
235 113: 96 Load 98(i2DMS)
236 114: 6(int) ImageQuerySamples 113
237 115: 20(ptr) AccessChain 9(iv) 19
238 116: 6(int) Load 115
239 117: 6(int) IAdd 116 114
240 118: 20(ptr) AccessChain 9(iv) 19
241 Store 118 117
242 119: 106 Load 108(i2DMSArray)
243 120: 6(int) ImageQuerySamples 119
244 121: 20(ptr) AccessChain 9(iv) 19
245 122: 6(int) Load 121
246 123: 6(int) IAdd 122 120
247 124: 20(ptr) AccessChain 9(iv) 19
248 Store 124 123
249 Store 127(v) 129
250 130: 13 Load 15(i1D)
251 133: 6(int) Load 132(ic1D)
252 134: 125(fvec4) ImageRead 130 133
253 135: 125(fvec4) Load 127(v)
254 136: 125(fvec4) FAdd 135 134
255 Store 127(v) 136
256 137: 13 Load 15(i1D)
257 138: 6(int) Load 132(ic1D)
258 139: 125(fvec4) Load 127(v)
259 ImageWrite 137 138 139
260 140: 25 Load 27(i2D)
261 143: 29(ivec2) Load 142(ic2D)
262 144: 125(fvec4) ImageRead 140 143
263 145: 125(fvec4) Load 127(v)
264 146: 125(fvec4) FAdd 145 144
265 Store 127(v) 146
266 147: 25 Load 27(i2D)
267 148: 29(ivec2) Load 142(ic2D)
268 149: 125(fvec4) Load 127(v)
269 ImageWrite 147 148 149
270 150: 36 Load 38(i3D)
271 153: 7(ivec3) Load 152(ic3D)
272 154: 125(fvec4) ImageRead 150 153
273 155: 125(fvec4) Load 127(v)
274 156: 125(fvec4) FAdd 155 154
275 Store 127(v) 156
276 157: 36 Load 38(i3D)
277 158: 7(ivec3) Load 152(ic3D)
278 159: 125(fvec4) Load 127(v)
279 ImageWrite 157 158 159
280 160: 43 Load 45(iCube)
281 161: 7(ivec3) Load 152(ic3D)
282 162: 125(fvec4) ImageRead 160 161
283 163: 125(fvec4) Load 127(v)
284 164: 125(fvec4) FAdd 163 162
285 Store 127(v) 164
286 165: 43 Load 45(iCube)
287 166: 7(ivec3) Load 152(ic3D)
288 167: 125(fvec4) Load 127(v)
289 ImageWrite 165 166 167
290 168: 53 Load 55(iCubeArray)
291 169: 7(ivec3) Load 152(ic3D)
292 170: 125(fvec4) ImageRead 168 169
293 171: 125(fvec4) Load 127(v)
294 172: 125(fvec4) FAdd 171 170
295 Store 127(v) 172
296 173: 53 Load 55(iCubeArray)
297 174: 7(ivec3) Load 152(ic3D)
298 175: 125(fvec4) Load 127(v)
299 ImageWrite 173 174 175
300 176: 60 Load 62(i2DRect)
301 177: 29(ivec2) Load 142(ic2D)
302 178: 125(fvec4) ImageRead 176 177
303 179: 125(fvec4) Load 127(v)
304 180: 125(fvec4) FAdd 179 178
305 Store 127(v) 180
306 181: 60 Load 62(i2DRect)
307 182: 29(ivec2) Load 142(ic2D)
308 183: 125(fvec4) Load 127(v)
309 ImageWrite 181 182 183
310 184: 70 Load 72(i1DArray)
311 185: 29(ivec2) Load 142(ic2D)
312 186: 125(fvec4) ImageRead 184 185
313 187: 125(fvec4) Load 127(v)
314 188: 125(fvec4) FAdd 187 186
315 Store 127(v) 188
316 189: 70 Load 72(i1DArray)
317 190: 29(ivec2) Load 142(ic2D)
318 191: 125(fvec4) Load 127(v)
319 ImageWrite 189 190 191
320 192: 80 Load 82(i2DArray)
321 193: 7(ivec3) Load 152(ic3D)
322 194: 125(fvec4) ImageRead 192 193
323 195: 125(fvec4) Load 127(v)
324 196: 125(fvec4) FAdd 195 194
325 Store 127(v) 196
326 197: 80 Load 82(i2DArray)
327 198: 7(ivec3) Load 152(ic3D)
328 199: 125(fvec4) Load 127(v)
329 ImageWrite 197 198 199
330 200: 87 Load 89(iBuffer)
331 201: 6(int) Load 132(ic1D)
332 202: 125(fvec4) ImageRead 200 201
333 203: 125(fvec4) Load 127(v)
334 204: 125(fvec4) FAdd 203 202
335 Store 127(v) 204
336 205: 87 Load 89(iBuffer)
337 206: 6(int) Load 132(ic1D)
338 207: 125(fvec4) Load 127(v)
339 ImageWrite 205 206 207
340 208: 96 Load 98(i2DMS)
341 209: 29(ivec2) Load 142(ic2D)
342 211: 125(fvec4) ImageRead 208 209 Sample 210
343 212: 125(fvec4) Load 127(v)
344 213: 125(fvec4) FAdd 212 211
345 Store 127(v) 213
346 214: 96 Load 98(i2DMS)
347 215: 29(ivec2) Load 142(ic2D)
348 217: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800349 ImageWrite 214 215 217 Sample 216
John Kessenichcc16fa02015-12-10 18:01:54 -0700350 218: 106 Load 108(i2DMSArray)
351 219: 7(ivec3) Load 152(ic3D)
352 221: 125(fvec4) ImageRead 218 219 Sample 220
353 222: 125(fvec4) Load 127(v)
354 223: 125(fvec4) FAdd 222 221
355 Store 127(v) 223
356 224: 106 Load 108(i2DMSArray)
357 225: 7(ivec3) Load 152(ic3D)
358 227: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800359 ImageWrite 224 225 227 Sample 226
John Kessenichcc16fa02015-12-10 18:01:54 -0700360 Store 229(ui) 19
361 233: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700362 236: 235(ptr) ImageTexelPointer 232(ii1D) 233 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700363 238: 6(int) AtomicIAdd 236 237 19 234
364 239: 20(ptr) AccessChain 9(iv) 19
365 240: 6(int) Load 239
366 241: 6(int) IAdd 240 238
367 242: 20(ptr) AccessChain 9(iv) 19
368 Store 242 241
369 246: 29(ivec2) Load 142(ic2D)
370 249: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700371 251: 250(ptr) ImageTexelPointer 245(ui2D) 246 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700372 252: 18(int) AtomicIAdd 251 237 19 249
373 253: 18(int) Load 229(ui)
374 254: 18(int) IAdd 253 252
375 Store 229(ui) 254
376 255: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700377 257: 235(ptr) ImageTexelPointer 232(ii1D) 255 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700378 258: 6(int) AtomicSMin 257 237 19 256
379 259: 20(ptr) AccessChain 9(iv) 19
380 260: 6(int) Load 259
381 261: 6(int) IAdd 260 258
382 262: 20(ptr) AccessChain 9(iv) 19
383 Store 262 261
384 263: 29(ivec2) Load 142(ic2D)
385 264: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700386 265: 250(ptr) ImageTexelPointer 245(ui2D) 263 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700387 266: 18(int) AtomicUMin 265 237 19 264
388 267: 18(int) Load 229(ui)
389 268: 18(int) IAdd 267 266
390 Store 229(ui) 268
391 269: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700392 271: 235(ptr) ImageTexelPointer 232(ii1D) 269 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700393 272: 6(int) AtomicSMax 271 237 19 270
394 273: 20(ptr) AccessChain 9(iv) 19
395 274: 6(int) Load 273
396 275: 6(int) IAdd 274 272
397 276: 20(ptr) AccessChain 9(iv) 19
398 Store 276 275
399 277: 29(ivec2) Load 142(ic2D)
400 278: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700401 279: 250(ptr) ImageTexelPointer 245(ui2D) 277 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700402 280: 18(int) AtomicUMax 279 237 19 278
403 281: 18(int) Load 229(ui)
404 282: 18(int) IAdd 281 280
405 Store 229(ui) 282
406 283: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700407 285: 235(ptr) ImageTexelPointer 232(ii1D) 283 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700408 286: 6(int) AtomicAnd 285 237 19 284
409 287: 20(ptr) AccessChain 9(iv) 19
410 288: 6(int) Load 287
411 289: 6(int) IAdd 288 286
412 290: 20(ptr) AccessChain 9(iv) 19
413 Store 290 289
414 291: 29(ivec2) Load 142(ic2D)
415 292: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700416 293: 250(ptr) ImageTexelPointer 245(ui2D) 291 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700417 294: 18(int) AtomicAnd 293 237 19 292
418 295: 18(int) Load 229(ui)
419 296: 18(int) IAdd 295 294
420 Store 229(ui) 296
421 297: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700422 299: 235(ptr) ImageTexelPointer 232(ii1D) 297 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700423 300: 6(int) AtomicOr 299 237 19 298
424 301: 20(ptr) AccessChain 9(iv) 19
425 302: 6(int) Load 301
426 303: 6(int) IAdd 302 300
427 304: 20(ptr) AccessChain 9(iv) 19
428 Store 304 303
429 305: 29(ivec2) Load 142(ic2D)
430 306: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700431 307: 250(ptr) ImageTexelPointer 245(ui2D) 305 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700432 308: 18(int) AtomicOr 307 237 19 306
433 309: 18(int) Load 229(ui)
434 310: 18(int) IAdd 309 308
435 Store 229(ui) 310
436 311: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700437 313: 235(ptr) ImageTexelPointer 232(ii1D) 311 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700438 314: 6(int) AtomicXor 313 237 19 312
439 315: 20(ptr) AccessChain 9(iv) 19
440 316: 6(int) Load 315
441 317: 6(int) IAdd 316 314
442 318: 20(ptr) AccessChain 9(iv) 19
443 Store 318 317
444 319: 29(ivec2) Load 142(ic2D)
445 320: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700446 321: 250(ptr) ImageTexelPointer 245(ui2D) 319 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700447 322: 18(int) AtomicXor 321 237 19 320
448 323: 18(int) Load 229(ui)
449 324: 18(int) IAdd 323 322
450 Store 229(ui) 324
451 325: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700452 327: 235(ptr) ImageTexelPointer 232(ii1D) 325 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700453 328: 6(int) AtomicExchange 327 237 19 326
454 329: 20(ptr) AccessChain 9(iv) 19
455 330: 6(int) Load 329
456 331: 6(int) IAdd 330 328
457 332: 20(ptr) AccessChain 9(iv) 19
458 Store 332 331
459 333: 29(ivec2) Load 142(ic2D)
460 334: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700461 335: 250(ptr) ImageTexelPointer 245(ui2D) 333 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700462 336: 18(int) AtomicExchange 335 237 19 334
463 337: 18(int) Load 229(ui)
464 338: 18(int) IAdd 337 336
465 Store 229(ui) 338
466 339: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700467 342: 235(ptr) ImageTexelPointer 232(ii1D) 339 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700468 343: 6(int) AtomicCompareExchange 342 237 19 19 341 340
469 344: 20(ptr) AccessChain 9(iv) 19
470 345: 6(int) Load 344
471 346: 6(int) IAdd 345 343
472 347: 20(ptr) AccessChain 9(iv) 19
473 Store 347 346
474 348: 29(ivec2) Load 142(ic2D)
475 350: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700476 351: 250(ptr) ImageTexelPointer 245(ui2D) 348 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700477 352: 18(int) AtomicCompareExchange 351 237 19 19 350 349
478 353: 18(int) Load 229(ui)
479 354: 18(int) IAdd 353 352
480 Store 229(ui) 354
John Kessenich5d0fa972016-02-15 11:57:00 -0700481 358: 355 Load 357(wo2D)
482 359: 29(ivec2) Load 142(ic2D)
483 360: 125(fvec4) Load 127(v)
484 ImageWrite 358 359 360
485 364: 18(int) Load 229(ui)
486 365: 20(ptr) AccessChain 9(iv) 237
487 366: 6(int) Load 365
488 367: 18(int) Bitcast 366
489 369: 368(bool) INotEqual 364 367
490 SelectionMerge 371 None
491 BranchConditional 369 370 373
492 370: Label
493 372: 125(fvec4) Load 127(v)
494 Store 363 372
495 Branch 371
496 373: Label
497 Store 363 129
498 Branch 371
499 371: Label
500 374: 125(fvec4) Load 363
501 Store 362(fragData) 374
John Kessenichcc16fa02015-12-10 18:01:54 -0700502 Return
503 FunctionEnd