blob: c21f9bf15b110f329c65e8741e248c3663367420 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.image.frag
John Kessenichcc16fa02015-12-10 18:01:54 -07002// Module Version 10000
3// Generated by (magic number): 80001
John Kesseniche434ad92017-03-30 10:09:28 -06004// Id's are bound by 376
John Kessenichcc16fa02015-12-10 18:01:54 -07005
6 Capability Shader
John Kessenichb0364dc2016-02-14 17:37:30 -07007 Capability SampledRect
8 Capability Sampled1D
9 Capability SampledCubeArray
10 Capability SampledBuffer
11 Capability ImageMSArray
John Kessenich5d0fa972016-02-15 11:57:00 -070012 Capability StorageImageExtendedFormats
John Kessenich5e801132016-02-15 11:09:46 -070013 Capability ImageQuery
John Kessenich5d0fa972016-02-15 11:57:00 -070014 Capability StorageImageWriteWithoutFormat
John Kessenichcc16fa02015-12-10 18:01:54 -070015 1: ExtInstImport "GLSL.std.450"
16 MemoryModel Logical GLSL450
John Kesseniche434ad92017-03-30 10:09:28 -060017 EntryPoint Fragment 4 "main" 132 142 152 248 362 375
John Kessenich6c292d32016-02-15 20:58:50 -070018 ExecutionMode 4 OriginUpperLeft
John Kessenichcc16fa02015-12-10 18:01:54 -070019 Source GLSL 450
20 Name 4 "main"
21 Name 9 "iv"
22 Name 15 "i1D"
23 Name 27 "i2D"
24 Name 38 "i3D"
25 Name 45 "iCube"
26 Name 55 "iCubeArray"
27 Name 62 "i2DRect"
28 Name 72 "i1DArray"
29 Name 82 "i2DArray"
30 Name 89 "iBuffer"
31 Name 98 "i2DMS"
32 Name 108 "i2DMSArray"
33 Name 127 "v"
34 Name 132 "ic1D"
35 Name 142 "ic2D"
36 Name 152 "ic3D"
37 Name 229 "ui"
38 Name 232 "ii1D"
39 Name 245 "ui2D"
40 Name 248 "value"
John Kessenich5d0fa972016-02-15 11:57:00 -070041 Name 357 "wo2D"
42 Name 362 "fragData"
John Kesseniche434ad92017-03-30 10:09:28 -060043 Name 375 "ic4D"
John Kessenich6c292d32016-02-15 20:58:50 -070044 Decorate 15(i1D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070045 Decorate 15(i1D) Binding 0
John Kessenich6c292d32016-02-15 20:58:50 -070046 Decorate 27(i2D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070047 Decorate 27(i2D) Binding 1
John Kessenich6c292d32016-02-15 20:58:50 -070048 Decorate 38(i3D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070049 Decorate 38(i3D) Binding 2
John Kessenich6c292d32016-02-15 20:58:50 -070050 Decorate 45(iCube) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070051 Decorate 45(iCube) Binding 3
John Kessenich6c292d32016-02-15 20:58:50 -070052 Decorate 55(iCubeArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070053 Decorate 55(iCubeArray) Binding 4
John Kessenich6c292d32016-02-15 20:58:50 -070054 Decorate 62(i2DRect) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070055 Decorate 62(i2DRect) Binding 5
John Kessenich6c292d32016-02-15 20:58:50 -070056 Decorate 72(i1DArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070057 Decorate 72(i1DArray) Binding 6
John Kessenich6c292d32016-02-15 20:58:50 -070058 Decorate 82(i2DArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070059 Decorate 82(i2DArray) Binding 7
John Kessenich6c292d32016-02-15 20:58:50 -070060 Decorate 89(iBuffer) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070061 Decorate 89(iBuffer) Binding 8
John Kessenich6c292d32016-02-15 20:58:50 -070062 Decorate 98(i2DMS) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070063 Decorate 98(i2DMS) Binding 9
John Kessenich6c292d32016-02-15 20:58:50 -070064 Decorate 108(i2DMSArray) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070065 Decorate 108(i2DMSArray) Binding 10
John Kessenich6c292d32016-02-15 20:58:50 -070066 Decorate 132(ic1D) Flat
67 Decorate 142(ic2D) Flat
68 Decorate 152(ic3D) Flat
69 Decorate 232(ii1D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070070 Decorate 232(ii1D) Binding 11
John Kessenich6c292d32016-02-15 20:58:50 -070071 Decorate 245(ui2D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070072 Decorate 245(ui2D) Binding 12
John Kessenich6c292d32016-02-15 20:58:50 -070073 Decorate 248(value) Flat
74 Decorate 357(wo2D) DescriptorSet 0
John Kessenich5d0fa972016-02-15 11:57:00 -070075 Decorate 357(wo2D) Binding 1
Rex Xu1da878f2016-02-21 20:59:01 +080076 Decorate 357(wo2D) NonReadable
John Kesseniche434ad92017-03-30 10:09:28 -060077 Decorate 375(ic4D) Flat
John Kessenichcc16fa02015-12-10 18:01:54 -070078 2: TypeVoid
79 3: TypeFunction 2
80 6: TypeInt 32 1
81 7: TypeVector 6(int) 3
82 8: TypePointer Function 7(ivec3)
83 10: 6(int) Constant 0
84 11: 7(ivec3) ConstantComposite 10 10 10
85 12: TypeFloat 32
86 13: TypeImage 12(float) 1D nonsampled format:Rgba32f
87 14: TypePointer UniformConstant 13
88 15(i1D): 14(ptr) Variable UniformConstant
89 18: TypeInt 32 0
90 19: 18(int) Constant 0
91 20: TypePointer Function 6(int)
92 25: TypeImage 12(float) 2D nonsampled format:Rgba32f
93 26: TypePointer UniformConstant 25
94 27(i2D): 26(ptr) Variable UniformConstant
95 29: TypeVector 6(int) 2
96 36: TypeImage 12(float) 3D nonsampled format:Rgba32f
97 37: TypePointer UniformConstant 36
98 38(i3D): 37(ptr) Variable UniformConstant
99 43: TypeImage 12(float) Cube nonsampled format:Rgba32f
100 44: TypePointer UniformConstant 43
101 45(iCube): 44(ptr) Variable UniformConstant
102 53: TypeImage 12(float) Cube array nonsampled format:Rgba32f
103 54: TypePointer UniformConstant 53
104 55(iCubeArray): 54(ptr) Variable UniformConstant
105 60: TypeImage 12(float) Rect nonsampled format:Rgba32f
106 61: TypePointer UniformConstant 60
107 62(i2DRect): 61(ptr) Variable UniformConstant
108 70: TypeImage 12(float) 1D array nonsampled format:Rgba32f
109 71: TypePointer UniformConstant 70
110 72(i1DArray): 71(ptr) Variable UniformConstant
John Kessenich5d0fa972016-02-15 11:57:00 -0700111 80: TypeImage 12(float) 2D array nonsampled format:Rg16
John Kessenichcc16fa02015-12-10 18:01:54 -0700112 81: TypePointer UniformConstant 80
113 82(i2DArray): 81(ptr) Variable UniformConstant
114 87: TypeImage 12(float) Buffer nonsampled format:Rgba32f
115 88: TypePointer UniformConstant 87
116 89(iBuffer): 88(ptr) Variable UniformConstant
117 96: TypeImage 12(float) 2D multi-sampled nonsampled format:Rgba32f
118 97: TypePointer UniformConstant 96
119 98(i2DMS): 97(ptr) Variable UniformConstant
120 106: TypeImage 12(float) 2D array multi-sampled nonsampled format:Rgba32f
121 107: TypePointer UniformConstant 106
122 108(i2DMSArray): 107(ptr) Variable UniformConstant
123 125: TypeVector 12(float) 4
124 126: TypePointer Function 125(fvec4)
125 128: 12(float) Constant 0
126 129: 125(fvec4) ConstantComposite 128 128 128 128
John Kessenich6c292d32016-02-15 20:58:50 -0700127 131: TypePointer Input 6(int)
128 132(ic1D): 131(ptr) Variable Input
129 141: TypePointer Input 29(ivec2)
130 142(ic2D): 141(ptr) Variable Input
131 151: TypePointer Input 7(ivec3)
132 152(ic3D): 151(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700133 210: 6(int) Constant 1
134 216: 6(int) Constant 2
135 220: 6(int) Constant 3
136 226: 6(int) Constant 4
137 228: TypePointer Function 18(int)
138 230: TypeImage 6(int) 1D nonsampled format:R32i
139 231: TypePointer UniformConstant 230
140 232(ii1D): 231(ptr) Variable UniformConstant
141 234: 6(int) Constant 10
142 235: TypePointer Image 6(int)
143 237: 18(int) Constant 1
144 243: TypeImage 18(int) 2D nonsampled format:R32ui
145 244: TypePointer UniformConstant 243
146 245(ui2D): 244(ptr) Variable UniformConstant
John Kessenich6c292d32016-02-15 20:58:50 -0700147 247: TypePointer Input 18(int)
148 248(value): 247(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700149 250: TypePointer Image 18(int)
150 256: 6(int) Constant 11
151 270: 6(int) Constant 12
152 284: 6(int) Constant 13
153 298: 6(int) Constant 14
154 312: 6(int) Constant 15
155 326: 6(int) Constant 16
156 340: 6(int) Constant 18
157 341: 6(int) Constant 17
158 349: 18(int) Constant 19
John Kessenich5d0fa972016-02-15 11:57:00 -0700159 355: TypeImage 12(float) 2D nonsampled format:Unknown
160 356: TypePointer UniformConstant 355
161 357(wo2D): 356(ptr) Variable UniformConstant
162 361: TypePointer Output 125(fvec4)
163 362(fragData): 361(ptr) Variable Output
John Kessenich433e9ff2017-01-26 20:31:11 -0700164 367: TypeBool
John Kesseniche434ad92017-03-30 10:09:28 -0600165 370: TypeVector 367(bool) 4
166 373: TypeVector 6(int) 4
167 374: TypePointer Input 373(ivec4)
168 375(ic4D): 374(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700169 4(main): 2 Function None 3
170 5: Label
171 9(iv): 8(ptr) Variable Function
172 127(v): 126(ptr) Variable Function
173 229(ui): 228(ptr) Variable Function
John Kessenichcc16fa02015-12-10 18:01:54 -0700174 Store 9(iv) 11
175 16: 13 Load 15(i1D)
176 17: 6(int) ImageQuerySize 16
177 21: 20(ptr) AccessChain 9(iv) 19
178 22: 6(int) Load 21
179 23: 6(int) IAdd 22 17
180 24: 20(ptr) AccessChain 9(iv) 19
181 Store 24 23
182 28: 25 Load 27(i2D)
183 30: 29(ivec2) ImageQuerySize 28
184 31: 7(ivec3) Load 9(iv)
185 32: 29(ivec2) VectorShuffle 31 31 0 1
186 33: 29(ivec2) IAdd 32 30
187 34: 7(ivec3) Load 9(iv)
188 35: 7(ivec3) VectorShuffle 34 33 3 4 2
189 Store 9(iv) 35
190 39: 36 Load 38(i3D)
191 40: 7(ivec3) ImageQuerySize 39
192 41: 7(ivec3) Load 9(iv)
193 42: 7(ivec3) IAdd 41 40
194 Store 9(iv) 42
195 46: 43 Load 45(iCube)
196 47: 29(ivec2) ImageQuerySize 46
197 48: 7(ivec3) Load 9(iv)
198 49: 29(ivec2) VectorShuffle 48 48 0 1
199 50: 29(ivec2) IAdd 49 47
200 51: 7(ivec3) Load 9(iv)
201 52: 7(ivec3) VectorShuffle 51 50 3 4 2
202 Store 9(iv) 52
203 56: 53 Load 55(iCubeArray)
204 57: 7(ivec3) ImageQuerySize 56
205 58: 7(ivec3) Load 9(iv)
206 59: 7(ivec3) IAdd 58 57
207 Store 9(iv) 59
208 63: 60 Load 62(i2DRect)
209 64: 29(ivec2) ImageQuerySize 63
210 65: 7(ivec3) Load 9(iv)
211 66: 29(ivec2) VectorShuffle 65 65 0 1
212 67: 29(ivec2) IAdd 66 64
213 68: 7(ivec3) Load 9(iv)
214 69: 7(ivec3) VectorShuffle 68 67 3 4 2
215 Store 9(iv) 69
216 73: 70 Load 72(i1DArray)
217 74: 29(ivec2) ImageQuerySize 73
218 75: 7(ivec3) Load 9(iv)
219 76: 29(ivec2) VectorShuffle 75 75 0 1
220 77: 29(ivec2) IAdd 76 74
221 78: 7(ivec3) Load 9(iv)
222 79: 7(ivec3) VectorShuffle 78 77 3 4 2
223 Store 9(iv) 79
224 83: 80 Load 82(i2DArray)
225 84: 7(ivec3) ImageQuerySize 83
226 85: 7(ivec3) Load 9(iv)
227 86: 7(ivec3) IAdd 85 84
228 Store 9(iv) 86
229 90: 87 Load 89(iBuffer)
230 91: 6(int) ImageQuerySize 90
231 92: 20(ptr) AccessChain 9(iv) 19
232 93: 6(int) Load 92
233 94: 6(int) IAdd 93 91
234 95: 20(ptr) AccessChain 9(iv) 19
235 Store 95 94
236 99: 96 Load 98(i2DMS)
237 100: 29(ivec2) ImageQuerySize 99
238 101: 7(ivec3) Load 9(iv)
239 102: 29(ivec2) VectorShuffle 101 101 0 1
240 103: 29(ivec2) IAdd 102 100
241 104: 7(ivec3) Load 9(iv)
242 105: 7(ivec3) VectorShuffle 104 103 3 4 2
243 Store 9(iv) 105
244 109: 106 Load 108(i2DMSArray)
245 110: 7(ivec3) ImageQuerySize 109
246 111: 7(ivec3) Load 9(iv)
247 112: 7(ivec3) IAdd 111 110
248 Store 9(iv) 112
249 113: 96 Load 98(i2DMS)
250 114: 6(int) ImageQuerySamples 113
251 115: 20(ptr) AccessChain 9(iv) 19
252 116: 6(int) Load 115
253 117: 6(int) IAdd 116 114
254 118: 20(ptr) AccessChain 9(iv) 19
255 Store 118 117
256 119: 106 Load 108(i2DMSArray)
257 120: 6(int) ImageQuerySamples 119
258 121: 20(ptr) AccessChain 9(iv) 19
259 122: 6(int) Load 121
260 123: 6(int) IAdd 122 120
261 124: 20(ptr) AccessChain 9(iv) 19
262 Store 124 123
263 Store 127(v) 129
264 130: 13 Load 15(i1D)
265 133: 6(int) Load 132(ic1D)
266 134: 125(fvec4) ImageRead 130 133
267 135: 125(fvec4) Load 127(v)
268 136: 125(fvec4) FAdd 135 134
269 Store 127(v) 136
270 137: 13 Load 15(i1D)
271 138: 6(int) Load 132(ic1D)
272 139: 125(fvec4) Load 127(v)
273 ImageWrite 137 138 139
274 140: 25 Load 27(i2D)
275 143: 29(ivec2) Load 142(ic2D)
276 144: 125(fvec4) ImageRead 140 143
277 145: 125(fvec4) Load 127(v)
278 146: 125(fvec4) FAdd 145 144
279 Store 127(v) 146
280 147: 25 Load 27(i2D)
281 148: 29(ivec2) Load 142(ic2D)
282 149: 125(fvec4) Load 127(v)
283 ImageWrite 147 148 149
284 150: 36 Load 38(i3D)
285 153: 7(ivec3) Load 152(ic3D)
286 154: 125(fvec4) ImageRead 150 153
287 155: 125(fvec4) Load 127(v)
288 156: 125(fvec4) FAdd 155 154
289 Store 127(v) 156
290 157: 36 Load 38(i3D)
291 158: 7(ivec3) Load 152(ic3D)
292 159: 125(fvec4) Load 127(v)
293 ImageWrite 157 158 159
294 160: 43 Load 45(iCube)
295 161: 7(ivec3) Load 152(ic3D)
296 162: 125(fvec4) ImageRead 160 161
297 163: 125(fvec4) Load 127(v)
298 164: 125(fvec4) FAdd 163 162
299 Store 127(v) 164
300 165: 43 Load 45(iCube)
301 166: 7(ivec3) Load 152(ic3D)
302 167: 125(fvec4) Load 127(v)
303 ImageWrite 165 166 167
304 168: 53 Load 55(iCubeArray)
305 169: 7(ivec3) Load 152(ic3D)
306 170: 125(fvec4) ImageRead 168 169
307 171: 125(fvec4) Load 127(v)
308 172: 125(fvec4) FAdd 171 170
309 Store 127(v) 172
310 173: 53 Load 55(iCubeArray)
311 174: 7(ivec3) Load 152(ic3D)
312 175: 125(fvec4) Load 127(v)
313 ImageWrite 173 174 175
314 176: 60 Load 62(i2DRect)
315 177: 29(ivec2) Load 142(ic2D)
316 178: 125(fvec4) ImageRead 176 177
317 179: 125(fvec4) Load 127(v)
318 180: 125(fvec4) FAdd 179 178
319 Store 127(v) 180
320 181: 60 Load 62(i2DRect)
321 182: 29(ivec2) Load 142(ic2D)
322 183: 125(fvec4) Load 127(v)
323 ImageWrite 181 182 183
324 184: 70 Load 72(i1DArray)
325 185: 29(ivec2) Load 142(ic2D)
326 186: 125(fvec4) ImageRead 184 185
327 187: 125(fvec4) Load 127(v)
328 188: 125(fvec4) FAdd 187 186
329 Store 127(v) 188
330 189: 70 Load 72(i1DArray)
331 190: 29(ivec2) Load 142(ic2D)
332 191: 125(fvec4) Load 127(v)
333 ImageWrite 189 190 191
334 192: 80 Load 82(i2DArray)
335 193: 7(ivec3) Load 152(ic3D)
336 194: 125(fvec4) ImageRead 192 193
337 195: 125(fvec4) Load 127(v)
338 196: 125(fvec4) FAdd 195 194
339 Store 127(v) 196
340 197: 80 Load 82(i2DArray)
341 198: 7(ivec3) Load 152(ic3D)
342 199: 125(fvec4) Load 127(v)
343 ImageWrite 197 198 199
344 200: 87 Load 89(iBuffer)
345 201: 6(int) Load 132(ic1D)
346 202: 125(fvec4) ImageRead 200 201
347 203: 125(fvec4) Load 127(v)
348 204: 125(fvec4) FAdd 203 202
349 Store 127(v) 204
350 205: 87 Load 89(iBuffer)
351 206: 6(int) Load 132(ic1D)
352 207: 125(fvec4) Load 127(v)
353 ImageWrite 205 206 207
354 208: 96 Load 98(i2DMS)
355 209: 29(ivec2) Load 142(ic2D)
356 211: 125(fvec4) ImageRead 208 209 Sample 210
357 212: 125(fvec4) Load 127(v)
358 213: 125(fvec4) FAdd 212 211
359 Store 127(v) 213
360 214: 96 Load 98(i2DMS)
361 215: 29(ivec2) Load 142(ic2D)
362 217: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800363 ImageWrite 214 215 217 Sample 216
John Kessenichcc16fa02015-12-10 18:01:54 -0700364 218: 106 Load 108(i2DMSArray)
365 219: 7(ivec3) Load 152(ic3D)
366 221: 125(fvec4) ImageRead 218 219 Sample 220
367 222: 125(fvec4) Load 127(v)
368 223: 125(fvec4) FAdd 222 221
369 Store 127(v) 223
370 224: 106 Load 108(i2DMSArray)
371 225: 7(ivec3) Load 152(ic3D)
372 227: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800373 ImageWrite 224 225 227 Sample 226
John Kessenichcc16fa02015-12-10 18:01:54 -0700374 Store 229(ui) 19
375 233: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700376 236: 235(ptr) ImageTexelPointer 232(ii1D) 233 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700377 238: 6(int) AtomicIAdd 236 237 19 234
378 239: 20(ptr) AccessChain 9(iv) 19
379 240: 6(int) Load 239
380 241: 6(int) IAdd 240 238
381 242: 20(ptr) AccessChain 9(iv) 19
382 Store 242 241
383 246: 29(ivec2) Load 142(ic2D)
384 249: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700385 251: 250(ptr) ImageTexelPointer 245(ui2D) 246 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700386 252: 18(int) AtomicIAdd 251 237 19 249
387 253: 18(int) Load 229(ui)
388 254: 18(int) IAdd 253 252
389 Store 229(ui) 254
390 255: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700391 257: 235(ptr) ImageTexelPointer 232(ii1D) 255 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700392 258: 6(int) AtomicSMin 257 237 19 256
393 259: 20(ptr) AccessChain 9(iv) 19
394 260: 6(int) Load 259
395 261: 6(int) IAdd 260 258
396 262: 20(ptr) AccessChain 9(iv) 19
397 Store 262 261
398 263: 29(ivec2) Load 142(ic2D)
399 264: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700400 265: 250(ptr) ImageTexelPointer 245(ui2D) 263 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700401 266: 18(int) AtomicUMin 265 237 19 264
402 267: 18(int) Load 229(ui)
403 268: 18(int) IAdd 267 266
404 Store 229(ui) 268
405 269: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700406 271: 235(ptr) ImageTexelPointer 232(ii1D) 269 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700407 272: 6(int) AtomicSMax 271 237 19 270
408 273: 20(ptr) AccessChain 9(iv) 19
409 274: 6(int) Load 273
410 275: 6(int) IAdd 274 272
411 276: 20(ptr) AccessChain 9(iv) 19
412 Store 276 275
413 277: 29(ivec2) Load 142(ic2D)
414 278: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700415 279: 250(ptr) ImageTexelPointer 245(ui2D) 277 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700416 280: 18(int) AtomicUMax 279 237 19 278
417 281: 18(int) Load 229(ui)
418 282: 18(int) IAdd 281 280
419 Store 229(ui) 282
420 283: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700421 285: 235(ptr) ImageTexelPointer 232(ii1D) 283 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700422 286: 6(int) AtomicAnd 285 237 19 284
423 287: 20(ptr) AccessChain 9(iv) 19
424 288: 6(int) Load 287
425 289: 6(int) IAdd 288 286
426 290: 20(ptr) AccessChain 9(iv) 19
427 Store 290 289
428 291: 29(ivec2) Load 142(ic2D)
429 292: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700430 293: 250(ptr) ImageTexelPointer 245(ui2D) 291 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700431 294: 18(int) AtomicAnd 293 237 19 292
432 295: 18(int) Load 229(ui)
433 296: 18(int) IAdd 295 294
434 Store 229(ui) 296
435 297: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700436 299: 235(ptr) ImageTexelPointer 232(ii1D) 297 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700437 300: 6(int) AtomicOr 299 237 19 298
438 301: 20(ptr) AccessChain 9(iv) 19
439 302: 6(int) Load 301
440 303: 6(int) IAdd 302 300
441 304: 20(ptr) AccessChain 9(iv) 19
442 Store 304 303
443 305: 29(ivec2) Load 142(ic2D)
444 306: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700445 307: 250(ptr) ImageTexelPointer 245(ui2D) 305 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700446 308: 18(int) AtomicOr 307 237 19 306
447 309: 18(int) Load 229(ui)
448 310: 18(int) IAdd 309 308
449 Store 229(ui) 310
450 311: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700451 313: 235(ptr) ImageTexelPointer 232(ii1D) 311 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700452 314: 6(int) AtomicXor 313 237 19 312
453 315: 20(ptr) AccessChain 9(iv) 19
454 316: 6(int) Load 315
455 317: 6(int) IAdd 316 314
456 318: 20(ptr) AccessChain 9(iv) 19
457 Store 318 317
458 319: 29(ivec2) Load 142(ic2D)
459 320: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700460 321: 250(ptr) ImageTexelPointer 245(ui2D) 319 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700461 322: 18(int) AtomicXor 321 237 19 320
462 323: 18(int) Load 229(ui)
463 324: 18(int) IAdd 323 322
464 Store 229(ui) 324
465 325: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700466 327: 235(ptr) ImageTexelPointer 232(ii1D) 325 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700467 328: 6(int) AtomicExchange 327 237 19 326
468 329: 20(ptr) AccessChain 9(iv) 19
469 330: 6(int) Load 329
470 331: 6(int) IAdd 330 328
471 332: 20(ptr) AccessChain 9(iv) 19
472 Store 332 331
473 333: 29(ivec2) Load 142(ic2D)
474 334: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700475 335: 250(ptr) ImageTexelPointer 245(ui2D) 333 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700476 336: 18(int) AtomicExchange 335 237 19 334
477 337: 18(int) Load 229(ui)
478 338: 18(int) IAdd 337 336
479 Store 229(ui) 338
480 339: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700481 342: 235(ptr) ImageTexelPointer 232(ii1D) 339 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700482 343: 6(int) AtomicCompareExchange 342 237 19 19 341 340
483 344: 20(ptr) AccessChain 9(iv) 19
484 345: 6(int) Load 344
485 346: 6(int) IAdd 345 343
486 347: 20(ptr) AccessChain 9(iv) 19
487 Store 347 346
488 348: 29(ivec2) Load 142(ic2D)
489 350: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700490 351: 250(ptr) ImageTexelPointer 245(ui2D) 348 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700491 352: 18(int) AtomicCompareExchange 351 237 19 19 350 349
492 353: 18(int) Load 229(ui)
493 354: 18(int) IAdd 353 352
494 Store 229(ui) 354
John Kessenich5d0fa972016-02-15 11:57:00 -0700495 358: 355 Load 357(wo2D)
496 359: 29(ivec2) Load 142(ic2D)
497 360: 125(fvec4) Load 127(v)
498 ImageWrite 358 359 360
John Kessenich433e9ff2017-01-26 20:31:11 -0700499 363: 18(int) Load 229(ui)
500 364: 20(ptr) AccessChain 9(iv) 237
501 365: 6(int) Load 364
502 366: 18(int) Bitcast 365
503 368: 367(bool) INotEqual 363 366
504 369: 125(fvec4) Load 127(v)
John Kesseniche434ad92017-03-30 10:09:28 -0600505 371: 370(bvec4) CompositeConstruct 368 368 368 368
506 372: 125(fvec4) Select 371 369 129
507 Store 362(fragData) 372
John Kessenichcc16fa02015-12-10 18:01:54 -0700508 Return
509 FunctionEnd