1spv.sparseTexture.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 442 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 397 409 427 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 261 "sCubeShadow" 42 Name 294 "s2DRectShadow" 43 Name 394 "i2D" 44 Name 397 "ic2" 45 Name 406 "ii3D" 46 Name 409 "ic3" 47 Name 418 "i2DMS" 48 Name 427 "outColor" 49 Decorate 29(s2D) DescriptorSet 0 50 Decorate 29(s2D) Binding 0 51 Decorate 33(c2) Location 0 52 Decorate 44(s3D) DescriptorSet 0 53 Decorate 44(s3D) Binding 1 54 Decorate 48(c3) Location 1 55 Decorate 59(isCube) DescriptorSet 0 56 Decorate 59(isCube) Binding 8 57 Decorate 71(s2DShadow) DescriptorSet 0 58 Decorate 71(s2DShadow) Binding 2 59 Decorate 86(sCubeArrayShadow) DescriptorSet 0 60 Decorate 86(sCubeArrayShadow) Binding 6 61 Decorate 89(c4) Location 2 62 Decorate 108(usCubeArray) DescriptorSet 0 63 Decorate 108(usCubeArray) Binding 10 64 Decorate 140(us2DRect) DescriptorSet 0 65 Decorate 140(us2DRect) Binding 11 66 Decorate 154(s2DArrayShadow) DescriptorSet 0 67 Decorate 154(s2DArrayShadow) Binding 4 68 Decorate 188(s2DMS) DescriptorSet 0 69 Decorate 188(s2DMS) Binding 7 70 Decorate 228(is2DArray) DescriptorSet 0 71 Decorate 228(is2DArray) Binding 9 72 Decorate 261(sCubeShadow) DescriptorSet 0 73 Decorate 261(sCubeShadow) Binding 3 74 Decorate 294(s2DRectShadow) DescriptorSet 0 75 Decorate 294(s2DRectShadow) Binding 5 76 Decorate 394(i2D) DescriptorSet 0 77 Decorate 394(i2D) Binding 12 78 Decorate 397(ic2) Flat 79 Decorate 397(ic2) Location 3 80 Decorate 406(ii3D) DescriptorSet 0 81 Decorate 406(ii3D) Binding 13 82 Decorate 409(ic3) Flat 83 Decorate 409(ic3) Location 4 84 Decorate 418(i2DMS) DescriptorSet 0 85 Decorate 418(i2DMS) Binding 14 86 Decorate 427(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 258: TypeImage 10(float) Cube depth sampled format:Unknown 177 259: TypeSampledImage 258 178 260: TypePointer UniformConstant 259 179261(sCubeShadow): 260(ptr) Variable UniformConstant 180 291: TypeImage 10(float) Rect depth sampled format:Unknown 181 292: TypeSampledImage 291 182 293: TypePointer UniformConstant 292 183294(s2DRectShadow): 293(ptr) Variable UniformConstant 184 299: 20(int) Constant 3 185 311: 143(ivec2) ConstantComposite 130 130 186 340: 143(ivec2) ConstantComposite 192 192 187 362: 20(int) Constant 4 188 363: TypeArray 143(ivec2) 362 189 364: 6(int) Constant 1 190 365: 143(ivec2) ConstantComposite 364 130 191 366: 143(ivec2) ConstantComposite 144 192 192 367: 6(int) Constant 15 193 368: 6(int) Constant 16 194 369: 143(ivec2) ConstantComposite 367 368 195 370: 6(int) Constant 4294967294 196 371: 143(ivec2) ConstantComposite 370 9 197 372: 363 ConstantComposite 365 366 369 371 198 392: TypeImage 10(float) 2D nonsampled format:Rgba32f 199 393: TypePointer UniformConstant 392 200 394(i2D): 393(ptr) Variable UniformConstant 201 396: TypePointer Input 143(ivec2) 202 397(ic2): 396(ptr) Variable Input 203 404: TypeImage 6(int) 3D nonsampled format:Rgba32i 204 405: TypePointer UniformConstant 404 205 406(ii3D): 405(ptr) Variable UniformConstant 206 408: TypePointer Input 129(ivec3) 207 409(ic3): 408(ptr) Variable Input 208 416: TypeImage 10(float) 2D multi-sampled nonsampled format:Rgba32f 209 417: TypePointer UniformConstant 416 210 418(i2DMS): 417(ptr) Variable UniformConstant 211 426: TypePointer Output 11(fvec4) 212 427(outColor): 426(ptr) Variable Output 213 429: 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 431: 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: 46(fvec3) Load 48(c3) 418 252: 46(fvec3) Load 48(c3) 419 253: 35(ResType) ImageSparseSampleExplicitLod 249 250 Grad 251 252 420 254: 11(fvec4) CompositeExtract 253 1 421 Store 13(texel) 254 422 255: 6(int) CompositeExtract 253 0 423 256: 6(int) Load 8(resident) 424 257: 6(int) BitwiseOr 256 255 425 Store 8(resident) 257 426 262: 259 Load 261(sCubeShadow) 427 263: 11(fvec4) Load 89(c4) 428 264: 46(fvec3) Load 48(c3) 429 265: 46(fvec3) Load 48(c3) 430 266: 74(ptr) AccessChain 13(texel) 119 431 267: 10(float) CompositeExtract 263 3 432 268: 77(ResType) ImageSparseSampleDrefExplicitLod 262 263 267 Grad 264 265 433 269: 10(float) CompositeExtract 268 1 434 Store 266 269 435 270: 6(int) CompositeExtract 268 0 436 271: 6(int) Load 8(resident) 437 272: 6(int) BitwiseOr 271 270 438 Store 8(resident) 272 439 273: 106 Load 108(usCubeArray) 440 274: 11(fvec4) Load 89(c4) 441 275: 46(fvec3) Load 48(c3) 442 276: 46(fvec3) Load 48(c3) 443 277:111(ResType) ImageSparseSampleExplicitLod 273 274 Grad 275 276 444 278: 21(ivec4) CompositeExtract 277 1 445 Store 23(utexel) 278 446 279: 6(int) CompositeExtract 277 0 447 280: 6(int) Load 8(resident) 448 281: 6(int) BitwiseOr 280 279 449 Store 8(resident) 281 450 282: 27 Load 29(s2D) 451 283: 31(fvec2) Load 33(c2) 452 284: 31(fvec2) Load 33(c2) 453 285: 31(fvec2) Load 33(c2) 454 286: 35(ResType) ImageSparseSampleExplicitLod 282 283 Grad ConstOffset 284 285 158 455 287: 11(fvec4) CompositeExtract 286 1 456 Store 13(texel) 287 457 288: 6(int) CompositeExtract 286 0 458 289: 6(int) Load 8(resident) 459 290: 6(int) BitwiseOr 289 288 460 Store 8(resident) 290 461 295: 292 Load 294(s2DRectShadow) 462 296: 46(fvec3) Load 48(c3) 463 297: 31(fvec2) Load 33(c2) 464 298: 31(fvec2) Load 33(c2) 465 300: 74(ptr) AccessChain 13(texel) 299 466 301: 10(float) CompositeExtract 296 2 467 302: 77(ResType) ImageSparseSampleDrefExplicitLod 295 296 301 Grad ConstOffset 297 298 232 468 303: 10(float) CompositeExtract 302 1 469 Store 300 303 470 304: 6(int) CompositeExtract 302 0 471 305: 6(int) Load 8(resident) 472 306: 6(int) BitwiseOr 305 304 473 Store 8(resident) 306 474 307: 226 Load 228(is2DArray) 475 308: 46(fvec3) Load 48(c3) 476 309: 31(fvec2) Load 33(c2) 477 310: 31(fvec2) Load 33(c2) 478 312: 62(ResType) ImageSparseSampleExplicitLod 307 308 Grad ConstOffset 309 310 311 479 313: 16(ivec4) CompositeExtract 312 1 480 Store 18(itexel) 313 481 314: 6(int) CompositeExtract 312 0 482 315: 6(int) Load 8(resident) 483 316: 6(int) BitwiseOr 315 314 484 Store 8(resident) 316 485 317: 27 Load 29(s2D) 486 318: 31(fvec2) Load 33(c2) 487 319: 35(ResType) ImageSparseGather 317 318 9 488 320: 11(fvec4) CompositeExtract 319 1 489 Store 13(texel) 320 490 321: 6(int) CompositeExtract 319 0 491 322: 6(int) Load 8(resident) 492 323: 6(int) BitwiseOr 322 321 493 Store 8(resident) 323 494 324: 226 Load 228(is2DArray) 495 325: 46(fvec3) Load 48(c3) 496 326: 62(ResType) ImageSparseGather 324 325 130 497 327: 16(ivec4) CompositeExtract 326 1 498 Store 18(itexel) 327 499 328: 6(int) CompositeExtract 326 0 500 329: 6(int) Load 8(resident) 501 330: 6(int) BitwiseOr 329 328 502 Store 8(resident) 330 503 331: 152 Load 154(s2DArrayShadow) 504 332: 46(fvec3) Load 48(c3) 505 333: 35(ResType) ImageSparseDrefGather 331 332 50 506 334: 11(fvec4) CompositeExtract 333 1 507 Store 13(texel) 334 508 335: 6(int) CompositeExtract 333 0 509 336: 6(int) Load 8(resident) 510 337: 6(int) BitwiseOr 336 335 511 Store 8(resident) 337 512 338: 27 Load 29(s2D) 513 339: 31(fvec2) Load 33(c2) 514 341: 35(ResType) ImageSparseGather 338 339 9 ConstOffset 340 515 342: 11(fvec4) CompositeExtract 341 1 516 Store 13(texel) 342 517 343: 6(int) CompositeExtract 341 0 518 344: 6(int) Load 8(resident) 519 345: 6(int) BitwiseOr 344 343 520 Store 8(resident) 345 521 346: 226 Load 228(is2DArray) 522 347: 46(fvec3) Load 48(c3) 523 348: 62(ResType) ImageSparseGather 346 347 130 ConstOffset 158 524 349: 16(ivec4) CompositeExtract 348 1 525 Store 18(itexel) 349 526 350: 6(int) CompositeExtract 348 0 527 351: 6(int) Load 8(resident) 528 352: 6(int) BitwiseOr 351 350 529 Store 8(resident) 352 530 353: 292 Load 294(s2DRectShadow) 531 354: 31(fvec2) Load 33(c2) 532 355: 35(ResType) ImageSparseDrefGather 353 354 50 ConstOffset 241 533 356: 11(fvec4) CompositeExtract 355 1 534 Store 13(texel) 356 535 357: 6(int) CompositeExtract 355 0 536 358: 6(int) Load 8(resident) 537 359: 6(int) BitwiseOr 358 357 538 Store 8(resident) 359 539 360: 27 Load 29(s2D) 540 361: 31(fvec2) Load 33(c2) 541 373: 35(ResType) ImageSparseGather 360 361 9 ConstOffsets 372 542 374: 11(fvec4) CompositeExtract 373 1 543 Store 13(texel) 374 544 375: 6(int) CompositeExtract 373 0 545 376: 6(int) Load 8(resident) 546 377: 6(int) BitwiseOr 376 375 547 Store 8(resident) 377 548 378: 226 Load 228(is2DArray) 549 379: 46(fvec3) Load 48(c3) 550 380: 62(ResType) ImageSparseGather 378 379 130 ConstOffsets 372 551 381: 16(ivec4) CompositeExtract 380 1 552 Store 18(itexel) 381 553 382: 6(int) CompositeExtract 380 0 554 383: 6(int) Load 8(resident) 555 384: 6(int) BitwiseOr 383 382 556 Store 8(resident) 384 557 385: 292 Load 294(s2DRectShadow) 558 386: 31(fvec2) Load 33(c2) 559 387: 35(ResType) ImageSparseDrefGather 385 386 50 ConstOffsets 372 560 388: 11(fvec4) CompositeExtract 387 1 561 Store 13(texel) 388 562 389: 6(int) CompositeExtract 387 0 563 390: 6(int) Load 8(resident) 564 391: 6(int) BitwiseOr 390 389 565 Store 8(resident) 391 566 395: 392 Load 394(i2D) 567 398: 143(ivec2) Load 397(ic2) 568 399: 35(ResType) ImageSparseRead 395 398 569 400: 11(fvec4) CompositeExtract 399 1 570 Store 13(texel) 400 571 401: 6(int) CompositeExtract 399 0 572 402: 6(int) Load 8(resident) 573 403: 6(int) BitwiseOr 402 401 574 Store 8(resident) 403 575 407: 404 Load 406(ii3D) 576 410: 129(ivec3) Load 409(ic3) 577 411: 62(ResType) ImageSparseRead 407 410 578 412: 16(ivec4) CompositeExtract 411 1 579 Store 18(itexel) 412 580 413: 6(int) CompositeExtract 411 0 581 414: 6(int) Load 8(resident) 582 415: 6(int) BitwiseOr 414 413 583 Store 8(resident) 415 584 419: 416 Load 418(i2DMS) 585 420: 143(ivec2) Load 397(ic2) 586 421: 35(ResType) ImageSparseRead 419 420 Sample 144 587 422: 11(fvec4) CompositeExtract 421 1 588 Store 13(texel) 422 589 423: 6(int) CompositeExtract 421 0 590 424: 6(int) Load 8(resident) 591 425: 6(int) BitwiseOr 424 423 592 Store 8(resident) 425 593 428: 6(int) Load 8(resident) 594 430: 429(bool) ImageSparseTexelsResident 428 595 SelectionMerge 433 None 596 BranchConditional 430 432 435 597 432: Label 598 434: 11(fvec4) Load 13(texel) 599 Store 431 434 600 Branch 433 601 435: Label 602 436: 16(ivec4) Load 18(itexel) 603 437: 11(fvec4) ConvertSToF 436 604 438: 21(ivec4) Load 23(utexel) 605 439: 11(fvec4) ConvertUToF 438 606 440: 11(fvec4) FAdd 437 439 607 Store 431 440 608 Branch 433 609 433: Label 610 441: 11(fvec4) Load 431 611 Store 427(outColor) 441 612 Return 613 FunctionEnd 614