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