spv.imageAtomic64.frag Validation failed // Module Version 10000 // Generated by (magic number): 8000a // Id's are bound by 503 Capability Shader Capability Int64 Capability Int64Atomics Capability StorageImageMultisample Capability ImageCubeArray Capability ImageRect Capability SparseResidency Capability Image1D Capability ImageBuffer Capability ImageMSArray Capability Int64ImageEXT Extension "SPV_EXT_shader_image_int64" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" ExecutionMode 4 OriginUpperLeft Source GLSL 450 SourceExtension "GL_ARB_gpu_shader_int64" SourceExtension "GL_ARB_sparse_texture2" SourceExtension "GL_EXT_shader_image_int64" SourceExtension "GL_KHR_memory_scope_semantics" Name 4 "main" Name 12 "Buf" MemberName 12(Buf) 0 "i64" MemberName 12(Buf) 1 "u64" MemberName 12(Buf) 2 "i64v4" MemberName 12(Buf) 3 "u64v4" MemberName 12(Buf) 4 "i32v4" Name 14 "" Name 18 "i1D" Name 35 "i3D" Name 48 "iBuf" Name 58 "i2DArray" Name 69 "i2DRect" Name 81 "i2DMSArray" Name 194 "u2D" Name 207 "uCube" Name 218 "u1DArray" Name 229 "uCubeArray" Name 240 "u2DMS" Name 458 "ResType" Name 483 "ResType" MemberDecorate 12(Buf) 0 Offset 0 MemberDecorate 12(Buf) 1 Offset 8 MemberDecorate 12(Buf) 2 Offset 32 MemberDecorate 12(Buf) 3 Offset 64 MemberDecorate 12(Buf) 4 Offset 96 Decorate 12(Buf) BufferBlock Decorate 14 DescriptorSet 0 Decorate 14 Binding 11 Decorate 18(i1D) DescriptorSet 0 Decorate 18(i1D) Binding 0 Decorate 35(i3D) DescriptorSet 0 Decorate 35(i3D) Binding 2 Decorate 48(iBuf) DescriptorSet 0 Decorate 48(iBuf) Binding 4 Decorate 58(i2DArray) DescriptorSet 0 Decorate 58(i2DArray) Binding 6 Decorate 69(i2DRect) DescriptorSet 0 Decorate 69(i2DRect) Binding 8 Decorate 81(i2DMSArray) DescriptorSet 0 Decorate 81(i2DMSArray) Binding 10 Decorate 194(u2D) DescriptorSet 0 Decorate 194(u2D) Binding 1 Decorate 207(uCube) DescriptorSet 0 Decorate 207(uCube) Binding 3 Decorate 218(u1DArray) DescriptorSet 0 Decorate 218(u1DArray) Binding 5 Decorate 229(uCubeArray) DescriptorSet 0 Decorate 229(uCubeArray) Binding 7 Decorate 240(u2DMS) DescriptorSet 0 Decorate 240(u2DMS) Binding 9 2: TypeVoid 3: TypeFunction 2 6: TypeInt 64 1 7: TypeInt 64 0 8: TypeVector 6(int64_t) 4 9: TypeVector 7(int64_t) 4 10: TypeInt 32 1 11: TypeVector 10(int) 4 12(Buf): TypeStruct 6(int64_t) 7(int64_t) 8(i64vec4) 9(i64vec4) 11(ivec4) 13: TypePointer Uniform 12(Buf) 14: 13(ptr) Variable Uniform 15: 10(int) Constant 0 16: TypeImage 6(int64_t) 1D nonsampled format:R64i 17: TypePointer UniformConstant 16 18(i1D): 17(ptr) Variable UniformConstant 19: 10(int) Constant 4 20: TypeInt 32 0 21: 20(int) Constant 0 22: TypePointer Uniform 10(int) 25: TypePointer Uniform 6(int64_t) 28: TypePointer Image 6(int64_t) 30: 20(int) Constant 1 33: TypeImage 6(int64_t) 3D nonsampled format:R64i 34: TypePointer UniformConstant 33 35(i3D): 34(ptr) Variable UniformConstant 36: TypeVector 10(int) 3 37: TypePointer Uniform 11(ivec4) 46: TypeImage 6(int64_t) Buffer nonsampled format:R64i 47: TypePointer UniformConstant 46 48(iBuf): 47(ptr) Variable UniformConstant 56: TypeImage 6(int64_t) 2D array nonsampled format:R64i 57: TypePointer UniformConstant 56 58(i2DArray): 57(ptr) Variable UniformConstant 67: TypeImage 6(int64_t) Rect nonsampled format:R64i 68: TypePointer UniformConstant 67 69(i2DRect): 68(ptr) Variable UniformConstant 70: TypeVector 10(int) 2 79: TypeImage 6(int64_t) 2D array multi-sampled nonsampled format:R64i 80: TypePointer UniformConstant 79 81(i2DMSArray): 80(ptr) Variable UniformConstant 85: 20(int) Constant 3 107: 6(int64_t) Constant 1 0 116: 10(int) Constant 1 117: 10(int) Constant 2048 119: 20(int) Constant 2048 192: TypeImage 7(int64_t) 2D nonsampled format:R64ui 193: TypePointer UniformConstant 192 194(u2D): 193(ptr) Variable UniformConstant 198: TypePointer Uniform 7(int64_t) 201: TypePointer Image 7(int64_t) 205: TypeImage 7(int64_t) Cube nonsampled format:R64ui 206: TypePointer UniformConstant 205 207(uCube): 206(ptr) Variable UniformConstant 216: TypeImage 7(int64_t) 1D array nonsampled format:R64ui 217: TypePointer UniformConstant 216 218(u1DArray): 217(ptr) Variable UniformConstant 227: TypeImage 7(int64_t) Cube array nonsampled format:R64ui 228: TypePointer UniformConstant 227 229(uCubeArray): 228(ptr) Variable UniformConstant 238: TypeImage 7(int64_t) 2D multi-sampled nonsampled format:R64ui 239: TypePointer UniformConstant 238 240(u2DMS): 239(ptr) Variable UniformConstant 244: 20(int) Constant 2 275: 7(int64_t) Constant 1 0 363: 10(int) Constant 2 368: TypePointer Uniform 8(i64vec4) 423: 10(int) Constant 3 424: TypePointer Uniform 9(i64vec4) 458(ResType): TypeStruct 10(int) 8(i64vec4) 483(ResType): TypeStruct 10(int) 9(i64vec4) 4(main): 2 Function None 3 5: Label 23: 22(ptr) AccessChain 14 19 21 24: 10(int) Load 23 26: 25(ptr) AccessChain 14 15 27: 6(int64_t) Load 26 29: 28(ptr) ImageTexelPointer 18(i1D) 24 21 31: 6(int64_t) AtomicIAdd 29 30 21 27 32: 25(ptr) AccessChain 14 15 Store 32 31 38: 37(ptr) AccessChain 14 19 39: 11(ivec4) Load 38 40: 36(ivec3) VectorShuffle 39 39 0 1 2 41: 25(ptr) AccessChain 14 15 42: 6(int64_t) Load 41 43: 28(ptr) ImageTexelPointer 35(i3D) 40 21 44: 6(int64_t) AtomicSMin 43 30 21 42 45: 25(ptr) AccessChain 14 15 Store 45 44 49: 22(ptr) AccessChain 14 19 21 50: 10(int) Load 49 51: 25(ptr) AccessChain 14 15 52: 6(int64_t) Load 51 53: 28(ptr) ImageTexelPointer 48(iBuf) 50 21 54: 6(int64_t) AtomicSMax 53 30 21 52 55: 25(ptr) AccessChain 14 15 Store 55 54 59: 37(ptr) AccessChain 14 19 60: 11(ivec4) Load 59 61: 36(ivec3) VectorShuffle 60 60 0 1 2 62: 25(ptr) AccessChain 14 15 63: 6(int64_t) Load 62 64: 28(ptr) ImageTexelPointer 58(i2DArray) 61 21 65: 6(int64_t) AtomicAnd 64 30 21 63 66: 25(ptr) AccessChain 14 15 Store 66 65 71: 37(ptr) AccessChain 14 19 72: 11(ivec4) Load 71 73: 70(ivec2) VectorShuffle 72 72 0 1 74: 25(ptr) AccessChain 14 15 75: 6(int64_t) Load 74 76: 28(ptr) ImageTexelPointer 69(i2DRect) 73 21 77: 6(int64_t) AtomicOr 76 30 21 75 78: 25(ptr) AccessChain 14 15 Store 78 77 82: 37(ptr) AccessChain 14 19 83: 11(ivec4) Load 82 84: 36(ivec3) VectorShuffle 83 83 0 1 2 86: 22(ptr) AccessChain 14 19 85 87: 10(int) Load 86 88: 25(ptr) AccessChain 14 15 89: 6(int64_t) Load 88 90: 28(ptr) ImageTexelPointer 81(i2DMSArray) 84 87 91: 6(int64_t) AtomicXor 90 30 21 89 92: 25(ptr) AccessChain 14 15 Store 92 91 93: 22(ptr) AccessChain 14 19 21 94: 10(int) Load 93 95: 25(ptr) AccessChain 14 15 96: 6(int64_t) Load 95 97: 28(ptr) ImageTexelPointer 18(i1D) 94 21 98: 6(int64_t) AtomicExchange 97 30 21 96 99: 25(ptr) AccessChain 14 15 Store 99 98 100: 37(ptr) AccessChain 14 19 101: 11(ivec4) Load 100 102: 36(ivec3) VectorShuffle 101 101 0 1 2 103: 25(ptr) AccessChain 14 15 104: 6(int64_t) Load 103 105: 25(ptr) AccessChain 14 15 106: 6(int64_t) Load 105 108: 6(int64_t) IAdd 106 107 109: 28(ptr) ImageTexelPointer 35(i3D) 102 21 110: 6(int64_t) AtomicCompareExchange 109 30 21 21 108 104 111: 25(ptr) AccessChain 14 15 Store 111 110 112: 22(ptr) AccessChain 14 19 21 113: 10(int) Load 112 114: 25(ptr) AccessChain 14 15 115: 6(int64_t) Load 114 118: 28(ptr) ImageTexelPointer 18(i1D) 113 21 120: 6(int64_t) AtomicIAdd 118 116 119 115 121: 25(ptr) AccessChain 14 15 Store 121 120 122: 37(ptr) AccessChain 14 19 123: 11(ivec4) Load 122 124: 36(ivec3) VectorShuffle 123 123 0 1 2 125: 25(ptr) AccessChain 14 15 126: 6(int64_t) Load 125 127: 28(ptr) ImageTexelPointer 35(i3D) 124 21 128: 6(int64_t) AtomicSMin 127 116 119 126 129: 25(ptr) AccessChain 14 15 Store 129 128 130: 22(ptr) AccessChain 14 19 21 131: 10(int) Load 130 132: 25(ptr) AccessChain 14 15 133: 6(int64_t) Load 132 134: 28(ptr) ImageTexelPointer 48(iBuf) 131 21 135: 6(int64_t) AtomicSMax 134 116 119 133 136: 25(ptr) AccessChain 14 15 Store 136 135 137: 37(ptr) AccessChain 14 19 138: 11(ivec4) Load 137 139: 36(ivec3) VectorShuffle 138 138 0 1 2 140: 25(ptr) AccessChain 14 15 141: 6(int64_t) Load 140 142: 28(ptr) ImageTexelPointer 58(i2DArray) 139 21 143: 6(int64_t) AtomicAnd 142 116 119 141 144: 25(ptr) AccessChain 14 15 Store 144 143 145: 37(ptr) AccessChain 14 19 146: 11(ivec4) Load 145 147: 70(ivec2) VectorShuffle 146 146 0 1 148: 25(ptr) AccessChain 14 15 149: 6(int64_t) Load 148 150: 28(ptr) ImageTexelPointer 69(i2DRect) 147 21 151: 6(int64_t) AtomicOr 150 116 119 149 152: 25(ptr) AccessChain 14 15 Store 152 151 153: 37(ptr) AccessChain 14 19 154: 11(ivec4) Load 153 155: 36(ivec3) VectorShuffle 154 154 0 1 2 156: 22(ptr) AccessChain 14 19 85 157: 10(int) Load 156 158: 25(ptr) AccessChain 14 15 159: 6(int64_t) Load 158 160: 28(ptr) ImageTexelPointer 81(i2DMSArray) 155 157 161: 6(int64_t) AtomicXor 160 116 119 159 162: 25(ptr) AccessChain 14 15 Store 162 161 163: 22(ptr) AccessChain 14 19 21 164: 10(int) Load 163 165: 25(ptr) AccessChain 14 15 166: 6(int64_t) Load 165 167: 28(ptr) ImageTexelPointer 18(i1D) 164 21 168: 6(int64_t) AtomicExchange 167 116 119 166 169: 25(ptr) AccessChain 14 15 Store 169 168 170: 37(ptr) AccessChain 14 19 171: 11(ivec4) Load 170 172: 36(ivec3) VectorShuffle 171 171 0 1 2 173: 25(ptr) AccessChain 14 15 174: 6(int64_t) Load 173 175: 25(ptr) AccessChain 14 15 176: 6(int64_t) Load 175 177: 6(int64_t) IAdd 176 107 178: 28(ptr) ImageTexelPointer 35(i3D) 172 21 179: 6(int64_t) AtomicCompareExchange 178 116 119 119 177 174 180: 25(ptr) AccessChain 14 15 Store 180 179 181: 22(ptr) AccessChain 14 19 21 182: 10(int) Load 181 183: 28(ptr) ImageTexelPointer 48(iBuf) 182 21 184: 6(int64_t) AtomicLoad 183 116 119 185: 25(ptr) AccessChain 14 15 Store 185 184 186: 37(ptr) AccessChain 14 19 187: 11(ivec4) Load 186 188: 36(ivec3) VectorShuffle 187 187 0 1 2 189: 25(ptr) AccessChain 14 15 190: 6(int64_t) Load 189 191: 28(ptr) ImageTexelPointer 58(i2DArray) 188 21 AtomicStore 191 116 119 190 195: 37(ptr) AccessChain 14 19 196: 11(ivec4) Load 195 197: 70(ivec2) VectorShuffle 196 196 0 1 199: 198(ptr) AccessChain 14 116 200: 7(int64_t) Load 199 202: 201(ptr) ImageTexelPointer 194(u2D) 197 21 203: 7(int64_t) AtomicIAdd 202 30 21 200 204: 198(ptr) AccessChain 14 116 Store 204 203 208: 37(ptr) AccessChain 14 19 209: 11(ivec4) Load 208 210: 36(ivec3) VectorShuffle 209 209 0 1 2 211: 198(ptr) AccessChain 14 116 212: 7(int64_t) Load 211 213: 201(ptr) ImageTexelPointer 207(uCube) 210 21 214: 7(int64_t) AtomicUMin 213 30 21 212 215: 198(ptr) AccessChain 14 116 Store 215 214 219: 37(ptr) AccessChain 14 19 220: 11(ivec4) Load 219 221: 70(ivec2) VectorShuffle 220 220 0 1 222: 198(ptr) AccessChain 14 116 223: 7(int64_t) Load 222 224: 201(ptr) ImageTexelPointer 218(u1DArray) 221 21 225: 7(int64_t) AtomicUMax 224 30 21 223 226: 198(ptr) AccessChain 14 116 Store 226 225 230: 37(ptr) AccessChain 14 19 231: 11(ivec4) Load 230 232: 36(ivec3) VectorShuffle 231 231 0 1 2 233: 198(ptr) AccessChain 14 116 234: 7(int64_t) Load 233 235: 201(ptr) ImageTexelPointer 229(uCubeArray) 232 21 236: 7(int64_t) AtomicAnd 235 30 21 234 237: 198(ptr) AccessChain 14 116 Store 237 236 241: 37(ptr) AccessChain 14 19 242: 11(ivec4) Load 241 243: 70(ivec2) VectorShuffle 242 242 0 1 245: 22(ptr) AccessChain 14 19 244 246: 10(int) Load 245 247: 198(ptr) AccessChain 14 116 248: 7(int64_t) Load 247 249: 201(ptr) ImageTexelPointer 240(u2DMS) 243 246 250: 7(int64_t) AtomicOr 249 30 21 248 251: 198(ptr) AccessChain 14 116 Store 251 250 252: 37(ptr) AccessChain 14 19 253: 11(ivec4) Load 252 254: 70(ivec2) VectorShuffle 253 253 0 1 255: 198(ptr) AccessChain 14 116 256: 7(int64_t) Load 255 257: 201(ptr) ImageTexelPointer 194(u2D) 254 21 258: 7(int64_t) AtomicXor 257 30 21 256 259: 198(ptr) AccessChain 14 116 Store 259 258 260: 37(ptr) AccessChain 14 19 261: 11(ivec4) Load 260 262: 36(ivec3) VectorShuffle 261 261 0 1 2 263: 198(ptr) AccessChain 14 116 264: 7(int64_t) Load 263 265: 201(ptr) ImageTexelPointer 207(uCube) 262 21 266: 7(int64_t) AtomicExchange 265 30 21 264 267: 198(ptr) AccessChain 14 116 Store 267 266 268: 37(ptr) AccessChain 14 19 269: 11(ivec4) Load 268 270: 70(ivec2) VectorShuffle 269 269 0 1 271: 198(ptr) AccessChain 14 116 272: 7(int64_t) Load 271 273: 198(ptr) AccessChain 14 116 274: 7(int64_t) Load 273 276: 7(int64_t) IAdd 274 275 277: 201(ptr) ImageTexelPointer 218(u1DArray) 270 21 278: 7(int64_t) AtomicCompareExchange 277 30 21 21 276 272 279: 198(ptr) AccessChain 14 116 Store 279 278 280: 37(ptr) AccessChain 14 19 281: 11(ivec4) Load 280 282: 70(ivec2) VectorShuffle 281 281 0 1 283: 198(ptr) AccessChain 14 116 284: 7(int64_t) Load 283 285: 201(ptr) ImageTexelPointer 194(u2D) 282 21 286: 7(int64_t) AtomicIAdd 285 116 119 284 287: 198(ptr) AccessChain 14 116 Store 287 286 288: 37(ptr) AccessChain 14 19 289: 11(ivec4) Load 288 290: 36(ivec3) VectorShuffle 289 289 0 1 2 291: 198(ptr) AccessChain 14 116 292: 7(int64_t) Load 291 293: 201(ptr) ImageTexelPointer 207(uCube) 290 21 294: 7(int64_t) AtomicUMin 293 116 119 292 295: 198(ptr) AccessChain 14 116 Store 295 294 296: 37(ptr) AccessChain 14 19 297: 11(ivec4) Load 296 298: 70(ivec2) VectorShuffle 297 297 0 1 299: 198(ptr) AccessChain 14 116 300: 7(int64_t) Load 299 301: 201(ptr) ImageTexelPointer 218(u1DArray) 298 21 302: 7(int64_t) AtomicUMax 301 116 119 300 303: 198(ptr) AccessChain 14 116 Store 303 302 304: 37(ptr) AccessChain 14 19 305: 11(ivec4) Load 304 306: 36(ivec3) VectorShuffle 305 305 0 1 2 307: 198(ptr) AccessChain 14 116 308: 7(int64_t) Load 307 309: 201(ptr) ImageTexelPointer 229(uCubeArray) 306 21 310: 7(int64_t) AtomicAnd 309 116 119 308 311: 198(ptr) AccessChain 14 116 Store 311 310 312: 37(ptr) AccessChain 14 19 313: 11(ivec4) Load 312 314: 70(ivec2) VectorShuffle 313 313 0 1 315: 22(ptr) AccessChain 14 19 244 316: 10(int) Load 315 317: 198(ptr) AccessChain 14 116 318: 7(int64_t) Load 317 319: 201(ptr) ImageTexelPointer 240(u2DMS) 314 316 320: 7(int64_t) AtomicOr 319 116 119 318 321: 198(ptr) AccessChain 14 116 Store 321 320 322: 37(ptr) AccessChain 14 19 323: 11(ivec4) Load 322 324: 70(ivec2) VectorShuffle 323 323 0 1 325: 198(ptr) AccessChain 14 116 326: 7(int64_t) Load 325 327: 201(ptr) ImageTexelPointer 194(u2D) 324 21 328: 7(int64_t) AtomicXor 327 116 119 326 329: 198(ptr) AccessChain 14 116 Store 329 328 330: 37(ptr) AccessChain 14 19 331: 11(ivec4) Load 330 332: 36(ivec3) VectorShuffle 331 331 0 1 2 333: 198(ptr) AccessChain 14 116 334: 7(int64_t) Load 333 335: 201(ptr) ImageTexelPointer 207(uCube) 332 21 336: 7(int64_t) AtomicExchange 335 116 119 334 337: 198(ptr) AccessChain 14 116 Store 337 336 338: 37(ptr) AccessChain 14 19 339: 11(ivec4) Load 338 340: 70(ivec2) VectorShuffle 339 339 0 1 341: 198(ptr) AccessChain 14 116 342: 7(int64_t) Load 341 343: 198(ptr) AccessChain 14 116 344: 7(int64_t) Load 343 345: 7(int64_t) IAdd 344 275 346: 201(ptr) ImageTexelPointer 218(u1DArray) 340 21 347: 7(int64_t) AtomicCompareExchange 346 116 119 119 345 342 348: 198(ptr) AccessChain 14 116 Store 348 347 349: 37(ptr) AccessChain 14 19 350: 11(ivec4) Load 349 351: 36(ivec3) VectorShuffle 350 350 0 1 2 352: 201(ptr) ImageTexelPointer 229(uCubeArray) 351 21 353: 7(int64_t) AtomicLoad 352 116 119 354: 198(ptr) AccessChain 14 116 Store 354 353 355: 37(ptr) AccessChain 14 19 356: 11(ivec4) Load 355 357: 70(ivec2) VectorShuffle 356 356 0 1 358: 22(ptr) AccessChain 14 19 244 359: 10(int) Load 358 360: 198(ptr) AccessChain 14 116 361: 7(int64_t) Load 360 362: 201(ptr) ImageTexelPointer 240(u2DMS) 357 359 AtomicStore 362 116 119 361 364: 16 Load 18(i1D) 365: 22(ptr) AccessChain 14 19 21 366: 10(int) Load 365 367: 8(i64vec4) ImageRead 364 366 369: 368(ptr) AccessChain 14 363 370: 8(i64vec4) Load 369 371: 8(i64vec4) IAdd 370 367 372: 368(ptr) AccessChain 14 363 Store 372 371 373: 33 Load 35(i3D) 374: 37(ptr) AccessChain 14 19 375: 11(ivec4) Load 374 376: 36(ivec3) VectorShuffle 375 375 0 1 2 377: 8(i64vec4) ImageRead 373 376 378: 368(ptr) AccessChain 14 363 379: 8(i64vec4) Load 378 380: 8(i64vec4) IAdd 379 377 381: 368(ptr) AccessChain 14 363 Store 381 380 382: 46 Load 48(iBuf) 383: 22(ptr) AccessChain 14 19 21 384: 10(int) Load 383 385: 8(i64vec4) ImageRead 382 384 386: 368(ptr) AccessChain 14 363 387: 8(i64vec4) Load 386 388: 8(i64vec4) IAdd 387 385 389: 368(ptr) AccessChain 14 363 Store 389 388 390: 56 Load 58(i2DArray) 391: 37(ptr) AccessChain 14 19 392: 11(ivec4) Load 391 393: 36(ivec3) VectorShuffle 392 392 0 1 2 394: 8(i64vec4) ImageRead 390 393 395: 368(ptr) AccessChain 14 363 396: 8(i64vec4) Load 395 397: 8(i64vec4) IAdd 396 394 398: 368(ptr) AccessChain 14 363 Store 398 397 399: 67 Load 69(i2DRect) 400: 37(ptr) AccessChain 14 19 401: 11(ivec4) Load 400 402: 70(ivec2) VectorShuffle 401 401 0 1 403: 8(i64vec4) ImageRead 399 402 404: 368(ptr) AccessChain 14 363 405: 8(i64vec4) Load 404 406: 8(i64vec4) IAdd 405 403 407: 368(ptr) AccessChain 14 363 Store 407 406 408: 79 Load 81(i2DMSArray) 409: 37(ptr) AccessChain 14 19 410: 11(ivec4) Load 409 411: 36(ivec3) VectorShuffle 410 410 0 1 2 412: 22(ptr) AccessChain 14 19 85 413: 10(int) Load 412 414: 8(i64vec4) ImageRead 408 411 Sample 413 415: 368(ptr) AccessChain 14 363 416: 8(i64vec4) Load 415 417: 8(i64vec4) IAdd 416 414 418: 368(ptr) AccessChain 14 363 Store 418 417 419: 192 Load 194(u2D) 420: 37(ptr) AccessChain 14 19 421: 11(ivec4) Load 420 422: 70(ivec2) VectorShuffle 421 421 0 1 425: 424(ptr) AccessChain 14 423 426: 9(i64vec4) Load 425 ImageWrite 419 422 426 427: 205 Load 207(uCube) 428: 37(ptr) AccessChain 14 19 429: 11(ivec4) Load 428 430: 36(ivec3) VectorShuffle 429 429 0 1 2 431: 424(ptr) AccessChain 14 423 432: 9(i64vec4) Load 431 ImageWrite 427 430 432 433: 216 Load 218(u1DArray) 434: 37(ptr) AccessChain 14 19 435: 11(ivec4) Load 434 436: 70(ivec2) VectorShuffle 435 435 0 1 437: 424(ptr) AccessChain 14 423 438: 9(i64vec4) Load 437 ImageWrite 433 436 438 439: 227 Load 229(uCubeArray) 440: 37(ptr) AccessChain 14 19 441: 11(ivec4) Load 440 442: 36(ivec3) VectorShuffle 441 441 0 1 2 443: 424(ptr) AccessChain 14 423 444: 9(i64vec4) Load 443 ImageWrite 439 442 444 445: 238 Load 240(u2DMS) 446: 37(ptr) AccessChain 14 19 447: 11(ivec4) Load 446 448: 70(ivec2) VectorShuffle 447 447 0 1 449: 22(ptr) AccessChain 14 19 244 450: 10(int) Load 449 451: 424(ptr) AccessChain 14 423 452: 9(i64vec4) Load 451 ImageWrite 445 448 452 Sample 450 453: 33 Load 35(i3D) 454: 37(ptr) AccessChain 14 19 455: 11(ivec4) Load 454 456: 36(ivec3) VectorShuffle 455 455 0 1 2 457: 368(ptr) AccessChain 14 363 459:458(ResType) ImageSparseRead 453 456 460: 8(i64vec4) CompositeExtract 459 1 Store 457 460 461: 10(int) CompositeExtract 459 0 462: 56 Load 58(i2DArray) 463: 37(ptr) AccessChain 14 19 464: 11(ivec4) Load 463 465: 36(ivec3) VectorShuffle 464 464 0 1 2 466: 368(ptr) AccessChain 14 363 467:458(ResType) ImageSparseRead 462 465 468: 8(i64vec4) CompositeExtract 467 1 Store 466 468 469: 10(int) CompositeExtract 467 0 470: 67 Load 69(i2DRect) 471: 37(ptr) AccessChain 14 19 472: 11(ivec4) Load 471 473: 70(ivec2) VectorShuffle 472 472 0 1 474: 368(ptr) AccessChain 14 363 475:458(ResType) ImageSparseRead 470 473 476: 8(i64vec4) CompositeExtract 475 1 Store 474 476 477: 10(int) CompositeExtract 475 0 478: 192 Load 194(u2D) 479: 37(ptr) AccessChain 14 19 480: 11(ivec4) Load 479 481: 70(ivec2) VectorShuffle 480 480 0 1 482: 424(ptr) AccessChain 14 423 484:483(ResType) ImageSparseRead 478 481 485: 9(i64vec4) CompositeExtract 484 1 Store 482 485 486: 10(int) CompositeExtract 484 0 487: 205 Load 207(uCube) 488: 37(ptr) AccessChain 14 19 489: 11(ivec4) Load 488 490: 36(ivec3) VectorShuffle 489 489 0 1 2 491: 424(ptr) AccessChain 14 423 492:483(ResType) ImageSparseRead 487 490 493: 9(i64vec4) CompositeExtract 492 1 Store 491 493 494: 10(int) CompositeExtract 492 0 495: 227 Load 229(uCubeArray) 496: 37(ptr) AccessChain 14 19 497: 11(ivec4) Load 496 498: 36(ivec3) VectorShuffle 497 497 0 1 2 499: 424(ptr) AccessChain 14 423 500:483(ResType) ImageSparseRead 495 498 501: 9(i64vec4) CompositeExtract 500 1 Store 499 501 502: 10(int) CompositeExtract 500 0 Return FunctionEnd