1spv.sparseTexture.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 434 6 7 Capability Shader 8 Capability ImageGatherExtended 9 Capability StorageImageMultisample 10 Capability SampledRect 11 Capability SparseResidency 12 Capability SampledCubeArray 13 1: ExtInstImport "GLSL.std.450" 14 MemoryModel Logical GLSL450 15 EntryPoint Fragment 4 "main" 33 48 89 389 401 419 16 ExecutionMode 4 OriginUpperLeft 17 Source GLSL 450 18 SourceExtension "GL_ARB_sparse_texture2" 19 Name 4 "main" 20 Name 8 "resident" 21 Name 13 "texel" 22 Name 18 "itexel" 23 Name 23 "utexel" 24 Name 29 "s2D" 25 Name 33 "c2" 26 Name 35 "ResType" 27 Name 44 "s3D" 28 Name 48 "c3" 29 Name 59 "isCube" 30 Name 62 "ResType" 31 Name 71 "s2DShadow" 32 Name 77 "ResType" 33 Name 86 "sCubeArrayShadow" 34 Name 89 "c4" 35 Name 108 "usCubeArray" 36 Name 111 "ResType" 37 Name 140 "us2DRect" 38 Name 154 "s2DArrayShadow" 39 Name 188 "s2DMS" 40 Name 228 "is2DArray" 41 Name 259 "sCubeShadow" 42 Name 288 "s2DRectShadow" 43 Name 386 "i2D" 44 Name 389 "ic2" 45 Name 398 "ii3D" 46 Name 401 "ic3" 47 Name 410 "i2DMS" 48 Name 419 "outColor" 49 Decorate 29(s2D) Binding 0 50 Decorate 29(s2D) DescriptorSet 0 51 Decorate 33(c2) Location 0 52 Decorate 44(s3D) Binding 1 53 Decorate 44(s3D) DescriptorSet 0 54 Decorate 48(c3) Location 1 55 Decorate 59(isCube) Binding 8 56 Decorate 59(isCube) DescriptorSet 0 57 Decorate 71(s2DShadow) Binding 2 58 Decorate 71(s2DShadow) DescriptorSet 0 59 Decorate 86(sCubeArrayShadow) Binding 6 60 Decorate 86(sCubeArrayShadow) DescriptorSet 0 61 Decorate 89(c4) Location 2 62 Decorate 108(usCubeArray) Binding 10 63 Decorate 108(usCubeArray) DescriptorSet 0 64 Decorate 140(us2DRect) Binding 11 65 Decorate 140(us2DRect) DescriptorSet 0 66 Decorate 154(s2DArrayShadow) Binding 4 67 Decorate 154(s2DArrayShadow) DescriptorSet 0 68 Decorate 188(s2DMS) Binding 7 69 Decorate 188(s2DMS) DescriptorSet 0 70 Decorate 228(is2DArray) Binding 9 71 Decorate 228(is2DArray) DescriptorSet 0 72 Decorate 259(sCubeShadow) Binding 3 73 Decorate 259(sCubeShadow) DescriptorSet 0 74 Decorate 288(s2DRectShadow) Binding 5 75 Decorate 288(s2DRectShadow) DescriptorSet 0 76 Decorate 386(i2D) Binding 12 77 Decorate 386(i2D) DescriptorSet 0 78 Decorate 389(ic2) Flat 79 Decorate 389(ic2) Location 3 80 Decorate 398(ii3D) Binding 13 81 Decorate 398(ii3D) DescriptorSet 0 82 Decorate 401(ic3) Flat 83 Decorate 401(ic3) Location 4 84 Decorate 410(i2DMS) Binding 14 85 Decorate 410(i2DMS) DescriptorSet 0 86 Decorate 419(outColor) Location 0 87 2: TypeVoid 88 3: TypeFunction 2 89 6: TypeInt 32 1 90 7: TypePointer Function 6(int) 91 9: 6(int) Constant 0 92 10: TypeFloat 32 93 11: TypeVector 10(float) 4 94 12: TypePointer Function 11(fvec4) 95 14: 10(float) Constant 0 96 15: 11(fvec4) ConstantComposite 14 14 14 14 97 16: TypeVector 6(int) 4 98 17: TypePointer Function 16(ivec4) 99 19: 16(ivec4) ConstantComposite 9 9 9 9 100 20: TypeInt 32 0 101 21: TypeVector 20(int) 4 102 22: TypePointer Function 21(ivec4) 103 24: 20(int) Constant 0 104 25: 21(ivec4) ConstantComposite 24 24 24 24 105 26: TypeImage 10(float) 2D sampled format:Unknown 106 27: TypeSampledImage 26 107 28: TypePointer UniformConstant 27 108 29(s2D): 28(ptr) Variable UniformConstant 109 31: TypeVector 10(float) 2 110 32: TypePointer Input 31(fvec2) 111 33(c2): 32(ptr) Variable Input 112 35(ResType): TypeStruct 6(int) 11(fvec4) 113 41: TypeImage 10(float) 3D sampled format:Unknown 114 42: TypeSampledImage 41 115 43: TypePointer UniformConstant 42 116 44(s3D): 43(ptr) Variable UniformConstant 117 46: TypeVector 10(float) 3 118 47: TypePointer Input 46(fvec3) 119 48(c3): 47(ptr) Variable Input 120 50: 10(float) Constant 1073741824 121 56: TypeImage 6(int) Cube sampled format:Unknown 122 57: TypeSampledImage 56 123 58: TypePointer UniformConstant 57 124 59(isCube): 58(ptr) Variable UniformConstant 125 62(ResType): TypeStruct 6(int) 16(ivec4) 126 68: TypeImage 10(float) 2D depth sampled format:Unknown 127 69: TypeSampledImage 68 128 70: TypePointer UniformConstant 69 129 71(s2DShadow): 70(ptr) Variable UniformConstant 130 74: TypePointer Function 10(float) 131 77(ResType): TypeStruct 6(int) 10(float) 132 83: TypeImage 10(float) Cube depth array sampled format:Unknown 133 84: TypeSampledImage 83 134 85: TypePointer UniformConstant 84 13586(sCubeArrayShadow): 85(ptr) Variable UniformConstant 136 88: TypePointer Input 11(fvec4) 137 89(c4): 88(ptr) Variable Input 138 91: 10(float) Constant 1065353216 139 105: TypeImage 20(int) Cube array sampled format:Unknown 140 106: TypeSampledImage 105 141 107: TypePointer UniformConstant 106 142108(usCubeArray): 107(ptr) Variable UniformConstant 143 111(ResType): TypeStruct 6(int) 21(ivec4) 144 119: 20(int) Constant 1 145 129: TypeVector 6(int) 3 146 130: 6(int) Constant 2 147 131: 129(ivec3) ConstantComposite 130 130 130 148 137: TypeImage 20(int) Rect sampled format:Unknown 149 138: TypeSampledImage 137 150 139: TypePointer UniformConstant 138 151 140(us2DRect): 139(ptr) Variable UniformConstant 152 143: TypeVector 6(int) 2 153 144: 6(int) Constant 3 154 145: 143(ivec2) ConstantComposite 144 144 155 151: TypeImage 10(float) 2D depth array sampled format:Unknown 156 152: TypeSampledImage 151 157 153: TypePointer UniformConstant 152 158154(s2DArrayShadow): 153(ptr) Variable UniformConstant 159 157: 6(int) Constant 5 160 158: 143(ivec2) ConstantComposite 157 157 161 159: 20(int) Constant 2 162 185: TypeImage 10(float) 2D multi-sampled sampled format:Unknown 163 186: TypeSampledImage 185 164 187: TypePointer UniformConstant 186 165 188(s2DMS): 187(ptr) Variable UniformConstant 166 192: 6(int) Constant 4 167 202: 129(ivec3) ConstantComposite 192 192 192 168 225: TypeImage 6(int) 2D array sampled format:Unknown 169 226: TypeSampledImage 225 170 227: TypePointer UniformConstant 226 171 228(is2DArray): 227(ptr) Variable UniformConstant 172 231: 6(int) Constant 6 173 232: 143(ivec2) ConstantComposite 231 231 174 240: 6(int) Constant 7 175 241: 143(ivec2) ConstantComposite 240 240 176 256: TypeImage 10(float) Cube depth sampled format:Unknown 177 257: TypeSampledImage 256 178 258: TypePointer UniformConstant 257 179259(sCubeShadow): 258(ptr) Variable UniformConstant 180 285: TypeImage 10(float) Rect depth sampled format:Unknown 181 286: TypeSampledImage 285 182 287: TypePointer UniformConstant 286 183288(s2DRectShadow): 287(ptr) Variable UniformConstant 184 292: 20(int) Constant 3 185 303: 143(ivec2) ConstantComposite 130 130 186 332: 143(ivec2) ConstantComposite 192 192 187 354: 20(int) Constant 4 188 355: TypeArray 143(ivec2) 354 189 356: 6(int) Constant 1 190 357: 143(ivec2) ConstantComposite 356 130 191 358: 143(ivec2) ConstantComposite 144 192 192 359: 6(int) Constant 15 193 360: 6(int) Constant 16 194 361: 143(ivec2) ConstantComposite 359 360 195 362: 6(int) Constant 4294967294 196 363: 143(ivec2) ConstantComposite 362 9 197 364: 355 ConstantComposite 357 358 361 363 198 384: TypeImage 10(float) 2D nonsampled format:Rgba32f 199 385: TypePointer UniformConstant 384 200 386(i2D): 385(ptr) Variable UniformConstant 201 388: TypePointer Input 143(ivec2) 202 389(ic2): 388(ptr) Variable Input 203 396: TypeImage 6(int) 3D nonsampled format:Rgba32i 204 397: TypePointer UniformConstant 396 205 398(ii3D): 397(ptr) Variable UniformConstant 206 400: TypePointer Input 129(ivec3) 207 401(ic3): 400(ptr) Variable Input 208 408: TypeImage 10(float) 2D multi-sampled nonsampled format:Rgba32f 209 409: TypePointer UniformConstant 408 210 410(i2DMS): 409(ptr) Variable UniformConstant 211 418: TypePointer Output 11(fvec4) 212 419(outColor): 418(ptr) Variable Output 213 421: TypeBool 214 4(main): 2 Function None 3 215 5: Label 216 8(resident): 7(ptr) Variable Function 217 13(texel): 12(ptr) Variable Function 218 18(itexel): 17(ptr) Variable Function 219 23(utexel): 22(ptr) Variable Function 220 423: 12(ptr) Variable Function 221 Store 8(resident) 9 222 Store 13(texel) 15 223 Store 18(itexel) 19 224 Store 23(utexel) 25 225 30: 27 Load 29(s2D) 226 34: 31(fvec2) Load 33(c2) 227 36: 35(ResType) ImageSparseSampleImplicitLod 30 34 228 37: 11(fvec4) CompositeExtract 36 1 229 Store 13(texel) 37 230 38: 6(int) CompositeExtract 36 0 231 39: 6(int) Load 8(resident) 232 40: 6(int) BitwiseOr 39 38 233 Store 8(resident) 40 234 45: 42 Load 44(s3D) 235 49: 46(fvec3) Load 48(c3) 236 51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50 237 52: 11(fvec4) CompositeExtract 51 1 238 Store 13(texel) 52 239 53: 6(int) CompositeExtract 51 0 240 54: 6(int) Load 8(resident) 241 55: 6(int) BitwiseOr 54 53 242 Store 8(resident) 55 243 60: 57 Load 59(isCube) 244 61: 46(fvec3) Load 48(c3) 245 63: 62(ResType) ImageSparseSampleImplicitLod 60 61 246 64: 16(ivec4) CompositeExtract 63 1 247 Store 18(itexel) 64 248 65: 6(int) CompositeExtract 63 0 249 66: 6(int) Load 8(resident) 250 67: 6(int) BitwiseOr 66 65 251 Store 8(resident) 67 252 72: 69 Load 71(s2DShadow) 253 73: 46(fvec3) Load 48(c3) 254 75: 74(ptr) AccessChain 13(texel) 24 255 76: 10(float) CompositeExtract 73 2 256 78: 77(ResType) ImageSparseSampleDrefImplicitLod 72 73 76 257 79: 10(float) CompositeExtract 78 1 258 Store 75 79 259 80: 6(int) CompositeExtract 78 0 260 81: 6(int) Load 8(resident) 261 82: 6(int) BitwiseOr 81 80 262 Store 8(resident) 82 263 87: 84 Load 86(sCubeArrayShadow) 264 90: 11(fvec4) Load 89(c4) 265 92: 74(ptr) AccessChain 13(texel) 24 266 93: 77(ResType) ImageSparseSampleDrefImplicitLod 87 90 91 267 94: 10(float) CompositeExtract 93 1 268 Store 92 94 269 95: 6(int) CompositeExtract 93 0 270 96: 6(int) Load 8(resident) 271 97: 6(int) BitwiseOr 96 95 272 Store 8(resident) 97 273 98: 27 Load 29(s2D) 274 99: 31(fvec2) Load 33(c2) 275 100: 35(ResType) ImageSparseSampleExplicitLod 98 99 Lod 50 276 101: 11(fvec4) CompositeExtract 100 1 277 Store 13(texel) 101 278 102: 6(int) CompositeExtract 100 0 279 103: 6(int) Load 8(resident) 280 104: 6(int) BitwiseOr 103 102 281 Store 8(resident) 104 282 109: 106 Load 108(usCubeArray) 283 110: 11(fvec4) Load 89(c4) 284 112:111(ResType) ImageSparseSampleExplicitLod 109 110 Lod 91 285 113: 21(ivec4) CompositeExtract 112 1 286 Store 23(utexel) 113 287 114: 6(int) CompositeExtract 112 0 288 115: 6(int) Load 8(resident) 289 116: 6(int) BitwiseOr 115 114 290 Store 8(resident) 116 291 117: 69 Load 71(s2DShadow) 292 118: 46(fvec3) Load 48(c3) 293 120: 74(ptr) AccessChain 13(texel) 119 294 121: 10(float) CompositeExtract 118 2 295 122: 77(ResType) ImageSparseSampleDrefExplicitLod 117 118 121 Lod 50 296 123: 10(float) CompositeExtract 122 1 297 Store 120 123 298 124: 6(int) CompositeExtract 122 0 299 125: 6(int) Load 8(resident) 300 126: 6(int) BitwiseOr 125 124 301 Store 8(resident) 126 302 127: 42 Load 44(s3D) 303 128: 46(fvec3) Load 48(c3) 304 132: 35(ResType) ImageSparseSampleImplicitLod 127 128 Bias ConstOffset 50 131 305 133: 11(fvec4) CompositeExtract 132 1 306 Store 13(texel) 133 307 134: 6(int) CompositeExtract 132 0 308 135: 6(int) Load 8(resident) 309 136: 6(int) BitwiseOr 135 134 310 Store 8(resident) 136 311 141: 138 Load 140(us2DRect) 312 142: 31(fvec2) Load 33(c2) 313 146:111(ResType) ImageSparseSampleImplicitLod 141 142 ConstOffset 145 314 147: 21(ivec4) CompositeExtract 146 1 315 Store 23(utexel) 147 316 148: 6(int) CompositeExtract 146 0 317 149: 6(int) Load 8(resident) 318 150: 6(int) BitwiseOr 149 148 319 Store 8(resident) 150 320 155: 152 Load 154(s2DArrayShadow) 321 156: 11(fvec4) Load 89(c4) 322 160: 74(ptr) AccessChain 13(texel) 159 323 161: 10(float) CompositeExtract 156 3 324 162: 77(ResType) ImageSparseSampleDrefImplicitLod 155 156 161 ConstOffset 158 325 163: 10(float) CompositeExtract 162 1 326 Store 160 163 327 164: 6(int) CompositeExtract 162 0 328 165: 6(int) Load 8(resident) 329 166: 6(int) BitwiseOr 165 164 330 Store 8(resident) 166 331 167: 27 Load 29(s2D) 332 168: 31(fvec2) Load 33(c2) 333 169: 143(ivec2) ConvertFToS 168 334 170: 26 Image 167 335 171: 35(ResType) ImageSparseFetch 170 169 Lod 130 336 172: 11(fvec4) CompositeExtract 171 1 337 Store 13(texel) 172 338 173: 6(int) CompositeExtract 171 0 339 174: 6(int) Load 8(resident) 340 175: 6(int) BitwiseOr 174 173 341 Store 8(resident) 175 342 176: 138 Load 140(us2DRect) 343 177: 31(fvec2) Load 33(c2) 344 178: 143(ivec2) ConvertFToS 177 345 179: 137 Image 176 346 180:111(ResType) ImageSparseFetch 179 178 347 181: 21(ivec4) CompositeExtract 180 1 348 Store 23(utexel) 181 349 182: 6(int) CompositeExtract 180 0 350 183: 6(int) Load 8(resident) 351 184: 6(int) BitwiseOr 183 182 352 Store 8(resident) 184 353 189: 186 Load 188(s2DMS) 354 190: 31(fvec2) Load 33(c2) 355 191: 143(ivec2) ConvertFToS 190 356 193: 185 Image 189 357 194: 35(ResType) ImageSparseFetch 193 191 Sample 192 358 195: 11(fvec4) CompositeExtract 194 1 359 Store 13(texel) 195 360 196: 6(int) CompositeExtract 194 0 361 197: 6(int) Load 8(resident) 362 198: 6(int) BitwiseOr 197 196 363 Store 8(resident) 198 364 199: 42 Load 44(s3D) 365 200: 46(fvec3) Load 48(c3) 366 201: 129(ivec3) ConvertFToS 200 367 203: 41 Image 199 368 204: 35(ResType) ImageSparseFetch 203 201 Lod ConstOffset 130 202 369 205: 11(fvec4) CompositeExtract 204 1 370 Store 13(texel) 205 371 206: 6(int) CompositeExtract 204 0 372 207: 6(int) Load 8(resident) 373 208: 6(int) BitwiseOr 207 206 374 Store 8(resident) 208 375 209: 138 Load 140(us2DRect) 376 210: 31(fvec2) Load 33(c2) 377 211: 143(ivec2) ConvertFToS 210 378 212: 137 Image 209 379 213:111(ResType) ImageSparseFetch 212 211 ConstOffset 145 380 214: 21(ivec4) CompositeExtract 213 1 381 Store 23(utexel) 214 382 215: 6(int) CompositeExtract 213 0 383 216: 6(int) Load 8(resident) 384 217: 6(int) BitwiseOr 216 215 385 Store 8(resident) 217 386 218: 27 Load 29(s2D) 387 219: 31(fvec2) Load 33(c2) 388 220: 35(ResType) ImageSparseSampleExplicitLod 218 219 Lod ConstOffset 50 158 389 221: 11(fvec4) CompositeExtract 220 1 390 Store 13(texel) 221 391 222: 6(int) CompositeExtract 220 0 392 223: 6(int) Load 8(resident) 393 224: 6(int) BitwiseOr 223 222 394 Store 8(resident) 224 395 229: 226 Load 228(is2DArray) 396 230: 46(fvec3) Load 48(c3) 397 233: 62(ResType) ImageSparseSampleExplicitLod 229 230 Lod ConstOffset 50 232 398 234: 16(ivec4) CompositeExtract 233 1 399 Store 18(itexel) 234 400 235: 6(int) CompositeExtract 233 0 401 236: 6(int) Load 8(resident) 402 237: 6(int) BitwiseOr 236 235 403 Store 8(resident) 237 404 238: 69 Load 71(s2DShadow) 405 239: 46(fvec3) Load 48(c3) 406 242: 74(ptr) AccessChain 13(texel) 159 407 243: 10(float) CompositeExtract 239 2 408 244: 77(ResType) ImageSparseSampleDrefExplicitLod 238 239 243 Lod ConstOffset 50 241 409 245: 10(float) CompositeExtract 244 1 410 Store 242 245 411 246: 6(int) CompositeExtract 244 0 412 247: 6(int) Load 8(resident) 413 248: 6(int) BitwiseOr 247 246 414 Store 8(resident) 248 415 249: 42 Load 44(s3D) 416 250: 46(fvec3) Load 48(c3) 417 251: 35(ResType) ImageSparseSampleExplicitLod 249 250 Grad 250 250 418 252: 11(fvec4) CompositeExtract 251 1 419 Store 13(texel) 252 420 253: 6(int) CompositeExtract 251 0 421 254: 6(int) Load 8(resident) 422 255: 6(int) BitwiseOr 254 253 423 Store 8(resident) 255 424 260: 257 Load 259(sCubeShadow) 425 261: 11(fvec4) Load 89(c4) 426 262: 46(fvec3) Load 48(c3) 427 263: 74(ptr) AccessChain 13(texel) 119 428 264: 10(float) CompositeExtract 261 3 429 265: 77(ResType) ImageSparseSampleDrefExplicitLod 260 261 264 Grad 262 262 430 266: 10(float) CompositeExtract 265 1 431 Store 263 266 432 267: 6(int) CompositeExtract 265 0 433 268: 6(int) Load 8(resident) 434 269: 6(int) BitwiseOr 268 267 435 Store 8(resident) 269 436 270: 106 Load 108(usCubeArray) 437 271: 11(fvec4) Load 89(c4) 438 272: 46(fvec3) Load 48(c3) 439 273:111(ResType) ImageSparseSampleExplicitLod 270 271 Grad 272 272 440 274: 21(ivec4) CompositeExtract 273 1 441 Store 23(utexel) 274 442 275: 6(int) CompositeExtract 273 0 443 276: 6(int) Load 8(resident) 444 277: 6(int) BitwiseOr 276 275 445 Store 8(resident) 277 446 278: 27 Load 29(s2D) 447 279: 31(fvec2) Load 33(c2) 448 280: 35(ResType) ImageSparseSampleExplicitLod 278 279 Grad ConstOffset 279 279 158 449 281: 11(fvec4) CompositeExtract 280 1 450 Store 13(texel) 281 451 282: 6(int) CompositeExtract 280 0 452 283: 6(int) Load 8(resident) 453 284: 6(int) BitwiseOr 283 282 454 Store 8(resident) 284 455 289: 286 Load 288(s2DRectShadow) 456 290: 46(fvec3) Load 48(c3) 457 291: 31(fvec2) Load 33(c2) 458 293: 74(ptr) AccessChain 13(texel) 292 459 294: 10(float) CompositeExtract 290 2 460 295: 77(ResType) ImageSparseSampleDrefExplicitLod 289 290 294 Grad ConstOffset 291 291 232 461 296: 10(float) CompositeExtract 295 1 462 Store 293 296 463 297: 6(int) CompositeExtract 295 0 464 298: 6(int) Load 8(resident) 465 299: 6(int) BitwiseOr 298 297 466 Store 8(resident) 299 467 300: 226 Load 228(is2DArray) 468 301: 46(fvec3) Load 48(c3) 469 302: 31(fvec2) Load 33(c2) 470 304: 62(ResType) ImageSparseSampleExplicitLod 300 301 Grad ConstOffset 302 302 303 471 305: 16(ivec4) CompositeExtract 304 1 472 Store 18(itexel) 305 473 306: 6(int) CompositeExtract 304 0 474 307: 6(int) Load 8(resident) 475 308: 6(int) BitwiseOr 307 306 476 Store 8(resident) 308 477 309: 27 Load 29(s2D) 478 310: 31(fvec2) Load 33(c2) 479 311: 35(ResType) ImageSparseGather 309 310 9 480 312: 11(fvec4) CompositeExtract 311 1 481 Store 13(texel) 312 482 313: 6(int) CompositeExtract 311 0 483 314: 6(int) Load 8(resident) 484 315: 6(int) BitwiseOr 314 313 485 Store 8(resident) 315 486 316: 226 Load 228(is2DArray) 487 317: 46(fvec3) Load 48(c3) 488 318: 62(ResType) ImageSparseGather 316 317 130 489 319: 16(ivec4) CompositeExtract 318 1 490 Store 18(itexel) 319 491 320: 6(int) CompositeExtract 318 0 492 321: 6(int) Load 8(resident) 493 322: 6(int) BitwiseOr 321 320 494 Store 8(resident) 322 495 323: 152 Load 154(s2DArrayShadow) 496 324: 46(fvec3) Load 48(c3) 497 325: 35(ResType) ImageSparseDrefGather 323 324 50 498 326: 11(fvec4) CompositeExtract 325 1 499 Store 13(texel) 326 500 327: 6(int) CompositeExtract 325 0 501 328: 6(int) Load 8(resident) 502 329: 6(int) BitwiseOr 328 327 503 Store 8(resident) 329 504 330: 27 Load 29(s2D) 505 331: 31(fvec2) Load 33(c2) 506 333: 35(ResType) ImageSparseGather 330 331 9 ConstOffset 332 507 334: 11(fvec4) CompositeExtract 333 1 508 Store 13(texel) 334 509 335: 6(int) CompositeExtract 333 0 510 336: 6(int) Load 8(resident) 511 337: 6(int) BitwiseOr 336 335 512 Store 8(resident) 337 513 338: 226 Load 228(is2DArray) 514 339: 46(fvec3) Load 48(c3) 515 340: 62(ResType) ImageSparseGather 338 339 130 ConstOffset 158 516 341: 16(ivec4) CompositeExtract 340 1 517 Store 18(itexel) 341 518 342: 6(int) CompositeExtract 340 0 519 343: 6(int) Load 8(resident) 520 344: 6(int) BitwiseOr 343 342 521 Store 8(resident) 344 522 345: 286 Load 288(s2DRectShadow) 523 346: 31(fvec2) Load 33(c2) 524 347: 35(ResType) ImageSparseDrefGather 345 346 50 ConstOffset 241 525 348: 11(fvec4) CompositeExtract 347 1 526 Store 13(texel) 348 527 349: 6(int) CompositeExtract 347 0 528 350: 6(int) Load 8(resident) 529 351: 6(int) BitwiseOr 350 349 530 Store 8(resident) 351 531 352: 27 Load 29(s2D) 532 353: 31(fvec2) Load 33(c2) 533 365: 35(ResType) ImageSparseGather 352 353 9 ConstOffsets 364 534 366: 11(fvec4) CompositeExtract 365 1 535 Store 13(texel) 366 536 367: 6(int) CompositeExtract 365 0 537 368: 6(int) Load 8(resident) 538 369: 6(int) BitwiseOr 368 367 539 Store 8(resident) 369 540 370: 226 Load 228(is2DArray) 541 371: 46(fvec3) Load 48(c3) 542 372: 62(ResType) ImageSparseGather 370 371 130 ConstOffsets 364 543 373: 16(ivec4) CompositeExtract 372 1 544 Store 18(itexel) 373 545 374: 6(int) CompositeExtract 372 0 546 375: 6(int) Load 8(resident) 547 376: 6(int) BitwiseOr 375 374 548 Store 8(resident) 376 549 377: 286 Load 288(s2DRectShadow) 550 378: 31(fvec2) Load 33(c2) 551 379: 35(ResType) ImageSparseDrefGather 377 378 50 ConstOffsets 364 552 380: 11(fvec4) CompositeExtract 379 1 553 Store 13(texel) 380 554 381: 6(int) CompositeExtract 379 0 555 382: 6(int) Load 8(resident) 556 383: 6(int) BitwiseOr 382 381 557 Store 8(resident) 383 558 387: 384 Load 386(i2D) 559 390: 143(ivec2) Load 389(ic2) 560 391: 35(ResType) ImageSparseRead 387 390 561 392: 11(fvec4) CompositeExtract 391 1 562 Store 13(texel) 392 563 393: 6(int) CompositeExtract 391 0 564 394: 6(int) Load 8(resident) 565 395: 6(int) BitwiseOr 394 393 566 Store 8(resident) 395 567 399: 396 Load 398(ii3D) 568 402: 129(ivec3) Load 401(ic3) 569 403: 62(ResType) ImageSparseRead 399 402 570 404: 16(ivec4) CompositeExtract 403 1 571 Store 18(itexel) 404 572 405: 6(int) CompositeExtract 403 0 573 406: 6(int) Load 8(resident) 574 407: 6(int) BitwiseOr 406 405 575 Store 8(resident) 407 576 411: 408 Load 410(i2DMS) 577 412: 143(ivec2) Load 389(ic2) 578 413: 35(ResType) ImageSparseRead 411 412 Sample 144 579 414: 11(fvec4) CompositeExtract 413 1 580 Store 13(texel) 414 581 415: 6(int) CompositeExtract 413 0 582 416: 6(int) Load 8(resident) 583 417: 6(int) BitwiseOr 416 415 584 Store 8(resident) 417 585 420: 6(int) Load 8(resident) 586 422: 421(bool) ImageSparseTexelsResident 420 587 SelectionMerge 425 None 588 BranchConditional 422 424 427 589 424: Label 590 426: 11(fvec4) Load 13(texel) 591 Store 423 426 592 Branch 425 593 427: Label 594 428: 16(ivec4) Load 18(itexel) 595 429: 11(fvec4) ConvertSToF 428 596 430: 21(ivec4) Load 23(utexel) 597 431: 11(fvec4) ConvertUToF 430 598 432: 11(fvec4) FAdd 429 431 599 Store 423 432 600 Branch 425 601 425: Label 602 433: 11(fvec4) Load 423 603 Store 419(outColor) 433 604 Return 605 FunctionEnd 606