blob: 3e2096d7a9c5c27d4eb65a32da02b7bad14e333f [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
John Kessenichf6facfa2020-07-01 06:30:16 -060071 Decorate 132(ic1D) Location 0
John Kessenich6c292d32016-02-15 20:58:50 -070072 Decorate 142(ic2D) Flat
John Kessenichf6facfa2020-07-01 06:30:16 -060073 Decorate 142(ic2D) Location 1
John Kessenich6c292d32016-02-15 20:58:50 -070074 Decorate 152(ic3D) Flat
John Kessenichf6facfa2020-07-01 06:30:16 -060075 Decorate 152(ic3D) Location 2
John Kessenich6c292d32016-02-15 20:58:50 -070076 Decorate 232(ii1D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070077 Decorate 232(ii1D) Binding 11
John Kessenich6c292d32016-02-15 20:58:50 -070078 Decorate 245(ui2D) DescriptorSet 0
John Kessenichcc16fa02015-12-10 18:01:54 -070079 Decorate 245(ui2D) Binding 12
John Kessenich6c292d32016-02-15 20:58:50 -070080 Decorate 248(value) Flat
John Kessenichf6facfa2020-07-01 06:30:16 -060081 Decorate 248(value) Location 4
Rex Xud698ebf2018-10-17 13:55:11 +080082 Decorate 357(ii2DMS) DescriptorSet 0
83 Decorate 357(ii2DMS) Binding 13
84 Decorate 367(ui2DMSArray) DescriptorSet 0
85 Decorate 367(ui2DMSArray) Binding 14
86 Decorate 376(wo2D) DescriptorSet 0
87 Decorate 376(wo2D) Binding 1
88 Decorate 376(wo2D) NonReadable
John Kessenichf6facfa2020-07-01 06:30:16 -060089 Decorate 381(fragData) Location 0
Rex Xud698ebf2018-10-17 13:55:11 +080090 Decorate 394(ic4D) Flat
John Kessenichf6facfa2020-07-01 06:30:16 -060091 Decorate 394(ic4D) Location 3
John Kessenichcc16fa02015-12-10 18:01:54 -070092 2: TypeVoid
93 3: TypeFunction 2
94 6: TypeInt 32 1
95 7: TypeVector 6(int) 3
96 8: TypePointer Function 7(ivec3)
97 10: 6(int) Constant 0
98 11: 7(ivec3) ConstantComposite 10 10 10
99 12: TypeFloat 32
100 13: TypeImage 12(float) 1D nonsampled format:Rgba32f
101 14: TypePointer UniformConstant 13
102 15(i1D): 14(ptr) Variable UniformConstant
103 18: TypeInt 32 0
104 19: 18(int) Constant 0
105 20: TypePointer Function 6(int)
106 25: TypeImage 12(float) 2D nonsampled format:Rgba32f
107 26: TypePointer UniformConstant 25
108 27(i2D): 26(ptr) Variable UniformConstant
109 29: TypeVector 6(int) 2
110 36: TypeImage 12(float) 3D nonsampled format:Rgba32f
111 37: TypePointer UniformConstant 36
112 38(i3D): 37(ptr) Variable UniformConstant
113 43: TypeImage 12(float) Cube nonsampled format:Rgba32f
114 44: TypePointer UniformConstant 43
115 45(iCube): 44(ptr) Variable UniformConstant
116 53: TypeImage 12(float) Cube array nonsampled format:Rgba32f
117 54: TypePointer UniformConstant 53
118 55(iCubeArray): 54(ptr) Variable UniformConstant
119 60: TypeImage 12(float) Rect nonsampled format:Rgba32f
120 61: TypePointer UniformConstant 60
121 62(i2DRect): 61(ptr) Variable UniformConstant
122 70: TypeImage 12(float) 1D array nonsampled format:Rgba32f
123 71: TypePointer UniformConstant 70
124 72(i1DArray): 71(ptr) Variable UniformConstant
John Kessenich5d0fa972016-02-15 11:57:00 -0700125 80: TypeImage 12(float) 2D array nonsampled format:Rg16
John Kessenichcc16fa02015-12-10 18:01:54 -0700126 81: TypePointer UniformConstant 80
127 82(i2DArray): 81(ptr) Variable UniformConstant
128 87: TypeImage 12(float) Buffer nonsampled format:Rgba32f
129 88: TypePointer UniformConstant 87
130 89(iBuffer): 88(ptr) Variable UniformConstant
131 96: TypeImage 12(float) 2D multi-sampled nonsampled format:Rgba32f
132 97: TypePointer UniformConstant 96
133 98(i2DMS): 97(ptr) Variable UniformConstant
134 106: TypeImage 12(float) 2D array multi-sampled nonsampled format:Rgba32f
135 107: TypePointer UniformConstant 106
136 108(i2DMSArray): 107(ptr) Variable UniformConstant
137 125: TypeVector 12(float) 4
138 126: TypePointer Function 125(fvec4)
139 128: 12(float) Constant 0
140 129: 125(fvec4) ConstantComposite 128 128 128 128
John Kessenich6c292d32016-02-15 20:58:50 -0700141 131: TypePointer Input 6(int)
142 132(ic1D): 131(ptr) Variable Input
143 141: TypePointer Input 29(ivec2)
144 142(ic2D): 141(ptr) Variable Input
145 151: TypePointer Input 7(ivec3)
146 152(ic3D): 151(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700147 210: 6(int) Constant 1
148 216: 6(int) Constant 2
149 220: 6(int) Constant 3
150 226: 6(int) Constant 4
151 228: TypePointer Function 18(int)
152 230: TypeImage 6(int) 1D nonsampled format:R32i
153 231: TypePointer UniformConstant 230
154 232(ii1D): 231(ptr) Variable UniformConstant
155 234: 6(int) Constant 10
156 235: TypePointer Image 6(int)
157 237: 18(int) Constant 1
158 243: TypeImage 18(int) 2D nonsampled format:R32ui
159 244: TypePointer UniformConstant 243
160 245(ui2D): 244(ptr) Variable UniformConstant
John Kessenich6c292d32016-02-15 20:58:50 -0700161 247: TypePointer Input 18(int)
162 248(value): 247(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700163 250: TypePointer Image 18(int)
164 256: 6(int) Constant 11
165 270: 6(int) Constant 12
166 284: 6(int) Constant 13
167 298: 6(int) Constant 14
168 312: 6(int) Constant 15
169 326: 6(int) Constant 16
170 340: 6(int) Constant 18
171 341: 6(int) Constant 17
172 349: 18(int) Constant 19
Rex Xud698ebf2018-10-17 13:55:11 +0800173 355: TypeImage 6(int) 2D multi-sampled nonsampled format:R32i
John Kessenich5d0fa972016-02-15 11:57:00 -0700174 356: TypePointer UniformConstant 355
Rex Xud698ebf2018-10-17 13:55:11 +0800175 357(ii2DMS): 356(ptr) Variable UniformConstant
176 365: TypeImage 18(int) 2D array multi-sampled nonsampled format:R32ui
177 366: TypePointer UniformConstant 365
178367(ui2DMSArray): 366(ptr) Variable UniformConstant
179 374: TypeImage 12(float) 2D nonsampled format:Unknown
180 375: TypePointer UniformConstant 374
181 376(wo2D): 375(ptr) Variable UniformConstant
182 380: TypePointer Output 125(fvec4)
183 381(fragData): 380(ptr) Variable Output
184 386: TypeBool
185 389: TypeVector 386(bool) 4
186 392: TypeVector 6(int) 4
187 393: TypePointer Input 392(ivec4)
188 394(ic4D): 393(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -0700189 4(main): 2 Function None 3
190 5: Label
191 9(iv): 8(ptr) Variable Function
192 127(v): 126(ptr) Variable Function
193 229(ui): 228(ptr) Variable Function
John Kessenichcc16fa02015-12-10 18:01:54 -0700194 Store 9(iv) 11
195 16: 13 Load 15(i1D)
196 17: 6(int) ImageQuerySize 16
197 21: 20(ptr) AccessChain 9(iv) 19
198 22: 6(int) Load 21
199 23: 6(int) IAdd 22 17
200 24: 20(ptr) AccessChain 9(iv) 19
201 Store 24 23
202 28: 25 Load 27(i2D)
203 30: 29(ivec2) ImageQuerySize 28
204 31: 7(ivec3) Load 9(iv)
205 32: 29(ivec2) VectorShuffle 31 31 0 1
206 33: 29(ivec2) IAdd 32 30
207 34: 7(ivec3) Load 9(iv)
208 35: 7(ivec3) VectorShuffle 34 33 3 4 2
209 Store 9(iv) 35
210 39: 36 Load 38(i3D)
211 40: 7(ivec3) ImageQuerySize 39
212 41: 7(ivec3) Load 9(iv)
213 42: 7(ivec3) IAdd 41 40
214 Store 9(iv) 42
215 46: 43 Load 45(iCube)
216 47: 29(ivec2) ImageQuerySize 46
217 48: 7(ivec3) Load 9(iv)
218 49: 29(ivec2) VectorShuffle 48 48 0 1
219 50: 29(ivec2) IAdd 49 47
220 51: 7(ivec3) Load 9(iv)
221 52: 7(ivec3) VectorShuffle 51 50 3 4 2
222 Store 9(iv) 52
223 56: 53 Load 55(iCubeArray)
224 57: 7(ivec3) ImageQuerySize 56
225 58: 7(ivec3) Load 9(iv)
226 59: 7(ivec3) IAdd 58 57
227 Store 9(iv) 59
228 63: 60 Load 62(i2DRect)
229 64: 29(ivec2) ImageQuerySize 63
230 65: 7(ivec3) Load 9(iv)
231 66: 29(ivec2) VectorShuffle 65 65 0 1
232 67: 29(ivec2) IAdd 66 64
233 68: 7(ivec3) Load 9(iv)
234 69: 7(ivec3) VectorShuffle 68 67 3 4 2
235 Store 9(iv) 69
236 73: 70 Load 72(i1DArray)
237 74: 29(ivec2) ImageQuerySize 73
238 75: 7(ivec3) Load 9(iv)
239 76: 29(ivec2) VectorShuffle 75 75 0 1
240 77: 29(ivec2) IAdd 76 74
241 78: 7(ivec3) Load 9(iv)
242 79: 7(ivec3) VectorShuffle 78 77 3 4 2
243 Store 9(iv) 79
244 83: 80 Load 82(i2DArray)
245 84: 7(ivec3) ImageQuerySize 83
246 85: 7(ivec3) Load 9(iv)
247 86: 7(ivec3) IAdd 85 84
248 Store 9(iv) 86
249 90: 87 Load 89(iBuffer)
250 91: 6(int) ImageQuerySize 90
251 92: 20(ptr) AccessChain 9(iv) 19
252 93: 6(int) Load 92
253 94: 6(int) IAdd 93 91
254 95: 20(ptr) AccessChain 9(iv) 19
255 Store 95 94
256 99: 96 Load 98(i2DMS)
257 100: 29(ivec2) ImageQuerySize 99
258 101: 7(ivec3) Load 9(iv)
259 102: 29(ivec2) VectorShuffle 101 101 0 1
260 103: 29(ivec2) IAdd 102 100
261 104: 7(ivec3) Load 9(iv)
262 105: 7(ivec3) VectorShuffle 104 103 3 4 2
263 Store 9(iv) 105
264 109: 106 Load 108(i2DMSArray)
265 110: 7(ivec3) ImageQuerySize 109
266 111: 7(ivec3) Load 9(iv)
267 112: 7(ivec3) IAdd 111 110
268 Store 9(iv) 112
269 113: 96 Load 98(i2DMS)
270 114: 6(int) ImageQuerySamples 113
271 115: 20(ptr) AccessChain 9(iv) 19
272 116: 6(int) Load 115
273 117: 6(int) IAdd 116 114
274 118: 20(ptr) AccessChain 9(iv) 19
275 Store 118 117
276 119: 106 Load 108(i2DMSArray)
277 120: 6(int) ImageQuerySamples 119
278 121: 20(ptr) AccessChain 9(iv) 19
279 122: 6(int) Load 121
280 123: 6(int) IAdd 122 120
281 124: 20(ptr) AccessChain 9(iv) 19
282 Store 124 123
283 Store 127(v) 129
284 130: 13 Load 15(i1D)
285 133: 6(int) Load 132(ic1D)
286 134: 125(fvec4) ImageRead 130 133
287 135: 125(fvec4) Load 127(v)
288 136: 125(fvec4) FAdd 135 134
289 Store 127(v) 136
290 137: 13 Load 15(i1D)
291 138: 6(int) Load 132(ic1D)
292 139: 125(fvec4) Load 127(v)
293 ImageWrite 137 138 139
294 140: 25 Load 27(i2D)
295 143: 29(ivec2) Load 142(ic2D)
296 144: 125(fvec4) ImageRead 140 143
297 145: 125(fvec4) Load 127(v)
298 146: 125(fvec4) FAdd 145 144
299 Store 127(v) 146
300 147: 25 Load 27(i2D)
301 148: 29(ivec2) Load 142(ic2D)
302 149: 125(fvec4) Load 127(v)
303 ImageWrite 147 148 149
304 150: 36 Load 38(i3D)
305 153: 7(ivec3) Load 152(ic3D)
306 154: 125(fvec4) ImageRead 150 153
307 155: 125(fvec4) Load 127(v)
308 156: 125(fvec4) FAdd 155 154
309 Store 127(v) 156
310 157: 36 Load 38(i3D)
311 158: 7(ivec3) Load 152(ic3D)
312 159: 125(fvec4) Load 127(v)
313 ImageWrite 157 158 159
314 160: 43 Load 45(iCube)
315 161: 7(ivec3) Load 152(ic3D)
316 162: 125(fvec4) ImageRead 160 161
317 163: 125(fvec4) Load 127(v)
318 164: 125(fvec4) FAdd 163 162
319 Store 127(v) 164
320 165: 43 Load 45(iCube)
321 166: 7(ivec3) Load 152(ic3D)
322 167: 125(fvec4) Load 127(v)
323 ImageWrite 165 166 167
324 168: 53 Load 55(iCubeArray)
325 169: 7(ivec3) Load 152(ic3D)
326 170: 125(fvec4) ImageRead 168 169
327 171: 125(fvec4) Load 127(v)
328 172: 125(fvec4) FAdd 171 170
329 Store 127(v) 172
330 173: 53 Load 55(iCubeArray)
331 174: 7(ivec3) Load 152(ic3D)
332 175: 125(fvec4) Load 127(v)
333 ImageWrite 173 174 175
334 176: 60 Load 62(i2DRect)
335 177: 29(ivec2) Load 142(ic2D)
336 178: 125(fvec4) ImageRead 176 177
337 179: 125(fvec4) Load 127(v)
338 180: 125(fvec4) FAdd 179 178
339 Store 127(v) 180
340 181: 60 Load 62(i2DRect)
341 182: 29(ivec2) Load 142(ic2D)
342 183: 125(fvec4) Load 127(v)
343 ImageWrite 181 182 183
344 184: 70 Load 72(i1DArray)
345 185: 29(ivec2) Load 142(ic2D)
346 186: 125(fvec4) ImageRead 184 185
347 187: 125(fvec4) Load 127(v)
348 188: 125(fvec4) FAdd 187 186
349 Store 127(v) 188
350 189: 70 Load 72(i1DArray)
351 190: 29(ivec2) Load 142(ic2D)
352 191: 125(fvec4) Load 127(v)
353 ImageWrite 189 190 191
354 192: 80 Load 82(i2DArray)
355 193: 7(ivec3) Load 152(ic3D)
356 194: 125(fvec4) ImageRead 192 193
357 195: 125(fvec4) Load 127(v)
358 196: 125(fvec4) FAdd 195 194
359 Store 127(v) 196
360 197: 80 Load 82(i2DArray)
361 198: 7(ivec3) Load 152(ic3D)
362 199: 125(fvec4) Load 127(v)
363 ImageWrite 197 198 199
364 200: 87 Load 89(iBuffer)
365 201: 6(int) Load 132(ic1D)
366 202: 125(fvec4) ImageRead 200 201
367 203: 125(fvec4) Load 127(v)
368 204: 125(fvec4) FAdd 203 202
369 Store 127(v) 204
370 205: 87 Load 89(iBuffer)
371 206: 6(int) Load 132(ic1D)
372 207: 125(fvec4) Load 127(v)
373 ImageWrite 205 206 207
374 208: 96 Load 98(i2DMS)
375 209: 29(ivec2) Load 142(ic2D)
376 211: 125(fvec4) ImageRead 208 209 Sample 210
377 212: 125(fvec4) Load 127(v)
378 213: 125(fvec4) FAdd 212 211
379 Store 127(v) 213
380 214: 96 Load 98(i2DMS)
381 215: 29(ivec2) Load 142(ic2D)
382 217: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800383 ImageWrite 214 215 217 Sample 216
John Kessenichcc16fa02015-12-10 18:01:54 -0700384 218: 106 Load 108(i2DMSArray)
385 219: 7(ivec3) Load 152(ic3D)
386 221: 125(fvec4) ImageRead 218 219 Sample 220
387 222: 125(fvec4) Load 127(v)
388 223: 125(fvec4) FAdd 222 221
389 Store 127(v) 223
390 224: 106 Load 108(i2DMSArray)
391 225: 7(ivec3) Load 152(ic3D)
392 227: 125(fvec4) Load 127(v)
Rex Xu7beb4412015-12-15 17:52:45 +0800393 ImageWrite 224 225 227 Sample 226
John Kessenichcc16fa02015-12-10 18:01:54 -0700394 Store 229(ui) 19
395 233: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700396 236: 235(ptr) ImageTexelPointer 232(ii1D) 233 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700397 238: 6(int) AtomicIAdd 236 237 19 234
398 239: 20(ptr) AccessChain 9(iv) 19
399 240: 6(int) Load 239
400 241: 6(int) IAdd 240 238
401 242: 20(ptr) AccessChain 9(iv) 19
402 Store 242 241
403 246: 29(ivec2) Load 142(ic2D)
404 249: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700405 251: 250(ptr) ImageTexelPointer 245(ui2D) 246 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700406 252: 18(int) AtomicIAdd 251 237 19 249
407 253: 18(int) Load 229(ui)
408 254: 18(int) IAdd 253 252
409 Store 229(ui) 254
410 255: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700411 257: 235(ptr) ImageTexelPointer 232(ii1D) 255 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700412 258: 6(int) AtomicSMin 257 237 19 256
413 259: 20(ptr) AccessChain 9(iv) 19
414 260: 6(int) Load 259
415 261: 6(int) IAdd 260 258
416 262: 20(ptr) AccessChain 9(iv) 19
417 Store 262 261
418 263: 29(ivec2) Load 142(ic2D)
419 264: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700420 265: 250(ptr) ImageTexelPointer 245(ui2D) 263 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700421 266: 18(int) AtomicUMin 265 237 19 264
422 267: 18(int) Load 229(ui)
423 268: 18(int) IAdd 267 266
424 Store 229(ui) 268
425 269: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700426 271: 235(ptr) ImageTexelPointer 232(ii1D) 269 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700427 272: 6(int) AtomicSMax 271 237 19 270
428 273: 20(ptr) AccessChain 9(iv) 19
429 274: 6(int) Load 273
430 275: 6(int) IAdd 274 272
431 276: 20(ptr) AccessChain 9(iv) 19
432 Store 276 275
433 277: 29(ivec2) Load 142(ic2D)
434 278: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700435 279: 250(ptr) ImageTexelPointer 245(ui2D) 277 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700436 280: 18(int) AtomicUMax 279 237 19 278
437 281: 18(int) Load 229(ui)
438 282: 18(int) IAdd 281 280
439 Store 229(ui) 282
440 283: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700441 285: 235(ptr) ImageTexelPointer 232(ii1D) 283 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700442 286: 6(int) AtomicAnd 285 237 19 284
443 287: 20(ptr) AccessChain 9(iv) 19
444 288: 6(int) Load 287
445 289: 6(int) IAdd 288 286
446 290: 20(ptr) AccessChain 9(iv) 19
447 Store 290 289
448 291: 29(ivec2) Load 142(ic2D)
449 292: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700450 293: 250(ptr) ImageTexelPointer 245(ui2D) 291 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700451 294: 18(int) AtomicAnd 293 237 19 292
452 295: 18(int) Load 229(ui)
453 296: 18(int) IAdd 295 294
454 Store 229(ui) 296
455 297: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700456 299: 235(ptr) ImageTexelPointer 232(ii1D) 297 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700457 300: 6(int) AtomicOr 299 237 19 298
458 301: 20(ptr) AccessChain 9(iv) 19
459 302: 6(int) Load 301
460 303: 6(int) IAdd 302 300
461 304: 20(ptr) AccessChain 9(iv) 19
462 Store 304 303
463 305: 29(ivec2) Load 142(ic2D)
464 306: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700465 307: 250(ptr) ImageTexelPointer 245(ui2D) 305 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700466 308: 18(int) AtomicOr 307 237 19 306
467 309: 18(int) Load 229(ui)
468 310: 18(int) IAdd 309 308
469 Store 229(ui) 310
470 311: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700471 313: 235(ptr) ImageTexelPointer 232(ii1D) 311 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700472 314: 6(int) AtomicXor 313 237 19 312
473 315: 20(ptr) AccessChain 9(iv) 19
474 316: 6(int) Load 315
475 317: 6(int) IAdd 316 314
476 318: 20(ptr) AccessChain 9(iv) 19
477 Store 318 317
478 319: 29(ivec2) Load 142(ic2D)
479 320: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700480 321: 250(ptr) ImageTexelPointer 245(ui2D) 319 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700481 322: 18(int) AtomicXor 321 237 19 320
482 323: 18(int) Load 229(ui)
483 324: 18(int) IAdd 323 322
484 Store 229(ui) 324
485 325: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700486 327: 235(ptr) ImageTexelPointer 232(ii1D) 325 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700487 328: 6(int) AtomicExchange 327 237 19 326
488 329: 20(ptr) AccessChain 9(iv) 19
489 330: 6(int) Load 329
490 331: 6(int) IAdd 330 328
491 332: 20(ptr) AccessChain 9(iv) 19
492 Store 332 331
493 333: 29(ivec2) Load 142(ic2D)
494 334: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700495 335: 250(ptr) ImageTexelPointer 245(ui2D) 333 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700496 336: 18(int) AtomicExchange 335 237 19 334
497 337: 18(int) Load 229(ui)
498 338: 18(int) IAdd 337 336
499 Store 229(ui) 338
500 339: 6(int) Load 132(ic1D)
John Kessenichcd261442016-01-22 09:54:12 -0700501 342: 235(ptr) ImageTexelPointer 232(ii1D) 339 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700502 343: 6(int) AtomicCompareExchange 342 237 19 19 341 340
503 344: 20(ptr) AccessChain 9(iv) 19
504 345: 6(int) Load 344
505 346: 6(int) IAdd 345 343
506 347: 20(ptr) AccessChain 9(iv) 19
507 Store 347 346
508 348: 29(ivec2) Load 142(ic2D)
509 350: 18(int) Load 248(value)
John Kessenichcd261442016-01-22 09:54:12 -0700510 351: 250(ptr) ImageTexelPointer 245(ui2D) 348 19
John Kessenichcc16fa02015-12-10 18:01:54 -0700511 352: 18(int) AtomicCompareExchange 351 237 19 19 350 349
512 353: 18(int) Load 229(ui)
513 354: 18(int) IAdd 353 352
514 Store 229(ui) 354
Rex Xud698ebf2018-10-17 13:55:11 +0800515 358: 29(ivec2) Load 142(ic2D)
516 359: 235(ptr) ImageTexelPointer 357(ii2DMS) 358 216
517 360: 6(int) AtomicCompareExchange 359 237 19 19 341 340
518 361: 20(ptr) AccessChain 9(iv) 19
519 362: 6(int) Load 361
520 363: 6(int) IAdd 362 360
521 364: 20(ptr) AccessChain 9(iv) 19
522 Store 364 363
523 368: 7(ivec3) Load 152(ic3D)
524 369: 18(int) Load 248(value)
525 370: 250(ptr) ImageTexelPointer 367(ui2DMSArray) 368 220
526 371: 18(int) AtomicCompareExchange 370 237 19 19 369 349
527 372: 18(int) Load 229(ui)
528 373: 18(int) IAdd 372 371
529 Store 229(ui) 373
530 377: 374 Load 376(wo2D)
531 378: 29(ivec2) Load 142(ic2D)
532 379: 125(fvec4) Load 127(v)
533 ImageWrite 377 378 379
534 382: 18(int) Load 229(ui)
535 383: 20(ptr) AccessChain 9(iv) 237
536 384: 6(int) Load 383
537 385: 18(int) Bitcast 384
538 387: 386(bool) INotEqual 382 385
539 388: 125(fvec4) Load 127(v)
540 390: 389(bvec4) CompositeConstruct 387 387 387 387
541 391: 125(fvec4) Select 390 388 129
542 Store 381(fragData) 391
John Kessenichcc16fa02015-12-10 18:01:54 -0700543 Return
544 FunctionEnd