1spv.image.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000a 5// Id's are bound by 395 6 7 Capability Shader 8 Capability StorageImageMultisample 9 Capability ImageCubeArray 10 Capability ImageRect 11 Capability Image1D 12 Capability ImageBuffer 13 Capability ImageMSArray 14 Capability StorageImageExtendedFormats 15 Capability ImageQuery 16 Capability StorageImageWriteWithoutFormat 17 1: ExtInstImport "GLSL.std.450" 18 MemoryModel Logical GLSL450 19 EntryPoint Fragment 4 "main" 132 142 152 248 381 394 20 ExecutionMode 4 OriginUpperLeft 21 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" 43 Name 357 "ii2DMS" 44 Name 367 "ui2DMSArray" 45 Name 376 "wo2D" 46 Name 381 "fragData" 47 Name 394 "ic4D" 48 Decorate 15(i1D) DescriptorSet 0 49 Decorate 15(i1D) Binding 0 50 Decorate 27(i2D) DescriptorSet 0 51 Decorate 27(i2D) Binding 1 52 Decorate 38(i3D) DescriptorSet 0 53 Decorate 38(i3D) Binding 2 54 Decorate 45(iCube) DescriptorSet 0 55 Decorate 45(iCube) Binding 3 56 Decorate 55(iCubeArray) DescriptorSet 0 57 Decorate 55(iCubeArray) Binding 4 58 Decorate 62(i2DRect) DescriptorSet 0 59 Decorate 62(i2DRect) Binding 5 60 Decorate 72(i1DArray) DescriptorSet 0 61 Decorate 72(i1DArray) Binding 6 62 Decorate 82(i2DArray) DescriptorSet 0 63 Decorate 82(i2DArray) Binding 7 64 Decorate 89(iBuffer) DescriptorSet 0 65 Decorate 89(iBuffer) Binding 8 66 Decorate 98(i2DMS) DescriptorSet 0 67 Decorate 98(i2DMS) Binding 9 68 Decorate 108(i2DMSArray) DescriptorSet 0 69 Decorate 108(i2DMSArray) Binding 10 70 Decorate 132(ic1D) Flat 71 Decorate 132(ic1D) Location 0 72 Decorate 142(ic2D) Flat 73 Decorate 142(ic2D) Location 1 74 Decorate 152(ic3D) Flat 75 Decorate 152(ic3D) Location 2 76 Decorate 232(ii1D) DescriptorSet 0 77 Decorate 232(ii1D) Binding 11 78 Decorate 245(ui2D) DescriptorSet 0 79 Decorate 245(ui2D) Binding 12 80 Decorate 248(value) Flat 81 Decorate 248(value) Location 4 82 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 89 Decorate 381(fragData) Location 0 90 Decorate 394(ic4D) Flat 91 Decorate 394(ic4D) Location 3 92 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 125 80: TypeImage 12(float) 2D array nonsampled format:Rg16 126 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 141 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 147 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 161 247: TypePointer Input 18(int) 162 248(value): 247(ptr) Variable Input 163 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 173 355: TypeImage 6(int) 2D multi-sampled nonsampled format:R32i 174 356: TypePointer UniformConstant 355 175 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 189 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 194 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) 383 ImageWrite 214 215 217 Sample 216 384 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) 393 ImageWrite 224 225 227 Sample 226 394 Store 229(ui) 19 395 233: 6(int) Load 132(ic1D) 396 236: 235(ptr) ImageTexelPointer 232(ii1D) 233 19 397 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) 405 251: 250(ptr) ImageTexelPointer 245(ui2D) 246 19 406 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) 411 257: 235(ptr) ImageTexelPointer 232(ii1D) 255 19 412 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) 420 265: 250(ptr) ImageTexelPointer 245(ui2D) 263 19 421 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) 426 271: 235(ptr) ImageTexelPointer 232(ii1D) 269 19 427 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) 435 279: 250(ptr) ImageTexelPointer 245(ui2D) 277 19 436 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) 441 285: 235(ptr) ImageTexelPointer 232(ii1D) 283 19 442 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) 450 293: 250(ptr) ImageTexelPointer 245(ui2D) 291 19 451 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) 456 299: 235(ptr) ImageTexelPointer 232(ii1D) 297 19 457 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) 465 307: 250(ptr) ImageTexelPointer 245(ui2D) 305 19 466 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) 471 313: 235(ptr) ImageTexelPointer 232(ii1D) 311 19 472 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) 480 321: 250(ptr) ImageTexelPointer 245(ui2D) 319 19 481 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) 486 327: 235(ptr) ImageTexelPointer 232(ii1D) 325 19 487 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) 495 335: 250(ptr) ImageTexelPointer 245(ui2D) 333 19 496 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) 501 342: 235(ptr) ImageTexelPointer 232(ii1D) 339 19 502 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) 510 351: 250(ptr) ImageTexelPointer 245(ui2D) 348 19 511 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 515 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 543 Return 544 FunctionEnd 545