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