Home | History | Annotate | Download | only in baseResults
      1 spv.shaderImageFootprint.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 622
      5 
      6                               Capability Shader
      7                               Capability MinLod
      8                               Capability Bad
      9                               Extension  "SPV_NV_shader_image_footprint"
     10                1:             ExtInstImport  "GLSL.std.450"
     11                               MemoryModel Logical GLSL450
     12                               EntryPoint Fragment 4  "main" 21 24 76 125 225 275 277 387
     13                               ExecutionMode 4 OriginUpperLeft
     14                               Source GLSL 450
     15                               SourceExtension  "GL_NV_shader_texture_footprint"
     16                               Name 4  "main"
     17                               Name 8  "result2D"
     18                               MemberName 8(result2D) 0  "ret2D"
     19                               MemberName 8(result2D) 1  "anchor2D"
     20                               MemberName 8(result2D) 2  "offset2D"
     21                               MemberName 8(result2D) 3  "mask2D"
     22                               MemberName 8(result2D) 4  "lod2D"
     23                               MemberName 8(result2D) 5  "granularity2D"
     24                               Name 10  ""
     25                               Name 17  "sample2D"
     26                               Name 21  "P2"
     27                               Name 24  "granularity"
     28                               Name 28  "gl_TextureFootprint2DNV"
     29                               MemberName 28(gl_TextureFootprint2DNV) 0  "anchor"
     30                               MemberName 28(gl_TextureFootprint2DNV) 1  "offset"
     31                               MemberName 28(gl_TextureFootprint2DNV) 2  "mask"
     32                               MemberName 28(gl_TextureFootprint2DNV) 3  "lod"
     33                               MemberName 28(gl_TextureFootprint2DNV) 4  "granularity"
     34                               Name 30  "fp2D"
     35                               Name 31  "ResType"
     36                               Name 76  "bias"
     37                               Name 78  "ResType"
     38                               Name 125  "lodClamp"
     39                               Name 128  "ResType"
     40                               Name 178  "ResType"
     41                               Name 225  "lod"
     42                               Name 228  "ResType"
     43                               Name 275  "dx"
     44                               Name 277  "dy"
     45                               Name 280  "ResType"
     46                               Name 331  "ResType"
     47                               Name 377  "result3D"
     48                               MemberName 377(result3D) 0  "ret3D"
     49                               MemberName 377(result3D) 1  "anchor3D"
     50                               MemberName 377(result3D) 2  "offset3D"
     51                               MemberName 377(result3D) 3  "mask3D"
     52                               MemberName 377(result3D) 4  "lod3D"
     53                               MemberName 377(result3D) 5  "granularity3D"
     54                               Name 379  ""
     55                               Name 383  "sample3D"
     56                               Name 387  "P3"
     57                               Name 390  "gl_TextureFootprint3DNV"
     58                               MemberName 390(gl_TextureFootprint3DNV) 0  "anchor"
     59                               MemberName 390(gl_TextureFootprint3DNV) 1  "offset"
     60                               MemberName 390(gl_TextureFootprint3DNV) 2  "mask"
     61                               MemberName 390(gl_TextureFootprint3DNV) 3  "lod"
     62                               MemberName 390(gl_TextureFootprint3DNV) 4  "granularity"
     63                               Name 392  "fp3D"
     64                               Name 393  "ResType"
     65                               Name 429  "ResType"
     66                               Name 478  "ResType"
     67                               Name 528  "ResType"
     68                               Name 577  "ResType"
     69                               MemberDecorate 8(result2D) 0 Offset 0
     70                               MemberDecorate 8(result2D) 1 Offset 8
     71                               MemberDecorate 8(result2D) 2 Offset 16
     72                               MemberDecorate 8(result2D) 3 Offset 24
     73                               MemberDecorate 8(result2D) 4 Offset 32
     74                               MemberDecorate 8(result2D) 5 Offset 36
     75                               Decorate 8(result2D) BufferBlock
     76                               Decorate 10 DescriptorSet 0
     77                               Decorate 10 Binding 0
     78                               Decorate 17(sample2D) DescriptorSet 0
     79                               Decorate 17(sample2D) Binding 0
     80                               Decorate 21(P2) Location 0
     81                               Decorate 24(granularity) Flat
     82                               Decorate 24(granularity) Location 3
     83                               Decorate 76(bias) Location 9
     84                               Decorate 125(lodClamp) Location 4
     85                               Decorate 225(lod) Location 5
     86                               Decorate 275(dx) Location 6
     87                               Decorate 277(dy) Location 8
     88                               MemberDecorate 377(result3D) 0 Offset 0
     89                               MemberDecorate 377(result3D) 1 Offset 16
     90                               MemberDecorate 377(result3D) 2 Offset 32
     91                               MemberDecorate 377(result3D) 3 Offset 48
     92                               MemberDecorate 377(result3D) 4 Offset 56
     93                               MemberDecorate 377(result3D) 5 Offset 60
     94                               Decorate 377(result3D) BufferBlock
     95                               Decorate 379 DescriptorSet 0
     96                               Decorate 379 Binding 0
     97                               Decorate 383(sample3D) DescriptorSet 0
     98                               Decorate 383(sample3D) Binding 0
     99                               Decorate 387(P3) Location 2
    100                2:             TypeVoid
    101                3:             TypeFunction 2
    102                6:             TypeInt 32 0
    103                7:             TypeVector 6(int) 2
    104      8(result2D):             TypeStruct 6(int) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    105                9:             TypePointer Uniform 8(result2D)
    106               10:      9(ptr) Variable Uniform
    107               11:             TypeInt 32 1
    108               12:     11(int) Constant 0
    109               13:             TypeFloat 32
    110               14:             TypeImage 13(float) 2D sampled format:Unknown
    111               15:             TypeSampledImage 14
    112               16:             TypePointer UniformConstant 15
    113     17(sample2D):     16(ptr) Variable UniformConstant
    114               19:             TypeVector 13(float) 2
    115               20:             TypePointer Input 19(fvec2)
    116           21(P2):     20(ptr) Variable Input
    117               23:             TypePointer Input 11(int)
    118  24(granularity):     23(ptr) Variable Input
    119               26:             TypeBool
    120               27:    26(bool) ConstantTrue
    121 28(gl_TextureFootprint2DNV):             TypeStruct 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    122               29:             TypePointer Function 28(gl_TextureFootprint2DNV)
    123      31(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    124               34:             TypePointer Function 7(ivec2)
    125               36:     11(int) Constant 1
    126               39:     11(int) Constant 2
    127               42:     11(int) Constant 3
    128               44:             TypePointer Function 6(int)
    129               46:     11(int) Constant 4
    130               50:      6(int) Constant 1
    131               51:      6(int) Constant 0
    132               53:             TypePointer Uniform 6(int)
    133               57:             TypePointer Uniform 7(ivec2)
    134               68:     11(int) Constant 5
    135               75:             TypePointer Input 13(float)
    136         76(bias):     75(ptr) Variable Input
    137      78(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    138    125(lodClamp):     75(ptr) Variable Input
    139     128(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    140     178(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    141         225(lod):     75(ptr) Variable Input
    142     228(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    143          275(dx):     20(ptr) Variable Input
    144          277(dy):     20(ptr) Variable Input
    145     280(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    146     331(ResType):             TypeStruct 26(bool) 7(ivec2) 7(ivec2) 7(ivec2) 6(int) 6(int)
    147              376:             TypeVector 6(int) 3
    148    377(result3D):             TypeStruct 6(int) 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    149              378:             TypePointer Uniform 377(result3D)
    150              379:    378(ptr) Variable Uniform
    151              380:             TypeImage 13(float) 3D sampled format:Unknown
    152              381:             TypeSampledImage 380
    153              382:             TypePointer UniformConstant 381
    154    383(sample3D):    382(ptr) Variable UniformConstant
    155              385:             TypeVector 13(float) 3
    156              386:             TypePointer Input 385(fvec3)
    157          387(P3):    386(ptr) Variable Input
    158 390(gl_TextureFootprint3DNV):             TypeStruct 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    159              391:             TypePointer Function 390(gl_TextureFootprint3DNV)
    160     393(ResType):             TypeStruct 26(bool) 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    161              396:             TypePointer Function 376(ivec3)
    162              411:             TypePointer Uniform 376(ivec3)
    163     429(ResType):             TypeStruct 26(bool) 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    164     478(ResType):             TypeStruct 26(bool) 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    165     528(ResType):             TypeStruct 26(bool) 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    166     577(ResType):             TypeStruct 26(bool) 376(ivec3) 376(ivec3) 7(ivec2) 6(int) 6(int)
    167          4(main):           2 Function None 3
    168                5:             Label
    169         30(fp2D):     29(ptr) Variable Function
    170        392(fp3D):    391(ptr) Variable Function
    171               18:          15 Load 17(sample2D)
    172               22:   19(fvec2) Load 21(P2)
    173               25:     11(int) Load 24(granularity)
    174               32: 31(ResType) ImageSampleFootprintNV 18 22 25 27
    175               33:    7(ivec2) CompositeExtract 32 1
    176               35:     34(ptr) AccessChain 30(fp2D) 12
    177                               Store 35 33
    178               37:    7(ivec2) CompositeExtract 32 2
    179               38:     34(ptr) AccessChain 30(fp2D) 36
    180                               Store 38 37
    181               40:    7(ivec2) CompositeExtract 32 3
    182               41:     34(ptr) AccessChain 30(fp2D) 39
    183                               Store 41 40
    184               43:      6(int) CompositeExtract 32 4
    185               45:     44(ptr) AccessChain 30(fp2D) 42
    186                               Store 45 43
    187               47:      6(int) CompositeExtract 32 5
    188               48:     44(ptr) AccessChain 30(fp2D) 46
    189                               Store 48 47
    190               49:    26(bool) CompositeExtract 32 0
    191               52:      6(int) Select 49 50 51
    192               54:     53(ptr) AccessChain 10 12
    193                               Store 54 52
    194               55:     34(ptr) AccessChain 30(fp2D) 12
    195               56:    7(ivec2) Load 55
    196               58:     57(ptr) AccessChain 10 36
    197                               Store 58 56
    198               59:     34(ptr) AccessChain 30(fp2D) 36
    199               60:    7(ivec2) Load 59
    200               61:     57(ptr) AccessChain 10 39
    201                               Store 61 60
    202               62:     34(ptr) AccessChain 30(fp2D) 39
    203               63:    7(ivec2) Load 62
    204               64:     57(ptr) AccessChain 10 42
    205                               Store 64 63
    206               65:     44(ptr) AccessChain 30(fp2D) 42
    207               66:      6(int) Load 65
    208               67:     53(ptr) AccessChain 10 46
    209                               Store 67 66
    210               69:     44(ptr) AccessChain 30(fp2D) 46
    211               70:      6(int) Load 69
    212               71:     53(ptr) AccessChain 10 68
    213                               Store 71 70
    214               72:          15 Load 17(sample2D)
    215               73:   19(fvec2) Load 21(P2)
    216               74:     11(int) Load 24(granularity)
    217               77:   13(float) Load 76(bias)
    218               79: 78(ResType) ImageSampleFootprintNV 72 73 74 27 Bias 77
    219               80:    7(ivec2) CompositeExtract 79 1
    220               81:     34(ptr) AccessChain 30(fp2D) 12
    221                               Store 81 80
    222               82:    7(ivec2) CompositeExtract 79 2
    223               83:     34(ptr) AccessChain 30(fp2D) 36
    224                               Store 83 82
    225               84:    7(ivec2) CompositeExtract 79 3
    226               85:     34(ptr) AccessChain 30(fp2D) 39
    227                               Store 85 84
    228               86:      6(int) CompositeExtract 79 4
    229               87:     44(ptr) AccessChain 30(fp2D) 42
    230                               Store 87 86
    231               88:      6(int) CompositeExtract 79 5
    232               89:     44(ptr) AccessChain 30(fp2D) 46
    233                               Store 89 88
    234               90:    26(bool) CompositeExtract 79 0
    235               91:      6(int) Select 90 50 51
    236               92:     53(ptr) AccessChain 10 12
    237                               Store 92 91
    238               93:     34(ptr) AccessChain 30(fp2D) 12
    239               94:    7(ivec2) Load 93
    240               95:     57(ptr) AccessChain 10 36
    241               96:    7(ivec2) Load 95
    242               97:    7(ivec2) IAdd 96 94
    243               98:     57(ptr) AccessChain 10 36
    244                               Store 98 97
    245               99:     34(ptr) AccessChain 30(fp2D) 36
    246              100:    7(ivec2) Load 99
    247              101:     57(ptr) AccessChain 10 39
    248              102:    7(ivec2) Load 101
    249              103:    7(ivec2) IAdd 102 100
    250              104:     57(ptr) AccessChain 10 39
    251                               Store 104 103
    252              105:     34(ptr) AccessChain 30(fp2D) 39
    253              106:    7(ivec2) Load 105
    254              107:     57(ptr) AccessChain 10 42
    255              108:    7(ivec2) Load 107
    256              109:    7(ivec2) IAdd 108 106
    257              110:     57(ptr) AccessChain 10 42
    258                               Store 110 109
    259              111:     44(ptr) AccessChain 30(fp2D) 42
    260              112:      6(int) Load 111
    261              113:     53(ptr) AccessChain 10 46
    262              114:      6(int) Load 113
    263              115:      6(int) IAdd 114 112
    264              116:     53(ptr) AccessChain 10 46
    265                               Store 116 115
    266              117:     44(ptr) AccessChain 30(fp2D) 46
    267              118:      6(int) Load 117
    268              119:     53(ptr) AccessChain 10 68
    269              120:      6(int) Load 119
    270              121:      6(int) IAdd 120 118
    271              122:     53(ptr) AccessChain 10 68
    272                               Store 122 121
    273              123:          15 Load 17(sample2D)
    274              124:   19(fvec2) Load 21(P2)
    275              126:   13(float) Load 125(lodClamp)
    276              127:     11(int) Load 24(granularity)
    277              129:128(ResType) ImageSampleFootprintNV 123 124 127 27 MinLod 126
    278              130:    7(ivec2) CompositeExtract 129 1
    279              131:     34(ptr) AccessChain 30(fp2D) 12
    280                               Store 131 130
    281              132:    7(ivec2) CompositeExtract 129 2
    282              133:     34(ptr) AccessChain 30(fp2D) 36
    283                               Store 133 132
    284              134:    7(ivec2) CompositeExtract 129 3
    285              135:     34(ptr) AccessChain 30(fp2D) 39
    286                               Store 135 134
    287              136:      6(int) CompositeExtract 129 4
    288              137:     44(ptr) AccessChain 30(fp2D) 42
    289                               Store 137 136
    290              138:      6(int) CompositeExtract 129 5
    291              139:     44(ptr) AccessChain 30(fp2D) 46
    292                               Store 139 138
    293              140:    26(bool) CompositeExtract 129 0
    294              141:      6(int) Select 140 50 51
    295              142:     53(ptr) AccessChain 10 12
    296                               Store 142 141
    297              143:     34(ptr) AccessChain 30(fp2D) 12
    298              144:    7(ivec2) Load 143
    299              145:     57(ptr) AccessChain 10 36
    300              146:    7(ivec2) Load 145
    301              147:    7(ivec2) IAdd 146 144
    302              148:     57(ptr) AccessChain 10 36
    303                               Store 148 147
    304              149:     34(ptr) AccessChain 30(fp2D) 36
    305              150:    7(ivec2) Load 149
    306              151:     57(ptr) AccessChain 10 39
    307              152:    7(ivec2) Load 151
    308              153:    7(ivec2) IAdd 152 150
    309              154:     57(ptr) AccessChain 10 39
    310                               Store 154 153
    311              155:     34(ptr) AccessChain 30(fp2D) 39
    312              156:    7(ivec2) Load 155
    313              157:     57(ptr) AccessChain 10 42
    314              158:    7(ivec2) Load 157
    315              159:    7(ivec2) IAdd 158 156
    316              160:     57(ptr) AccessChain 10 42
    317                               Store 160 159
    318              161:     44(ptr) AccessChain 30(fp2D) 42
    319              162:      6(int) Load 161
    320              163:     53(ptr) AccessChain 10 46
    321              164:      6(int) Load 163
    322              165:      6(int) IAdd 164 162
    323              166:     53(ptr) AccessChain 10 46
    324                               Store 166 165
    325              167:     44(ptr) AccessChain 30(fp2D) 46
    326              168:      6(int) Load 167
    327              169:     53(ptr) AccessChain 10 68
    328              170:      6(int) Load 169
    329              171:      6(int) IAdd 170 168
    330              172:     53(ptr) AccessChain 10 68
    331                               Store 172 171
    332              173:          15 Load 17(sample2D)
    333              174:   19(fvec2) Load 21(P2)
    334              175:   13(float) Load 125(lodClamp)
    335              176:     11(int) Load 24(granularity)
    336              177:   13(float) Load 76(bias)
    337              179:178(ResType) ImageSampleFootprintNV 173 174 176 27 Bias MinLod 177 175
    338              180:    7(ivec2) CompositeExtract 179 1
    339              181:     34(ptr) AccessChain 30(fp2D) 12
    340                               Store 181 180
    341              182:    7(ivec2) CompositeExtract 179 2
    342              183:     34(ptr) AccessChain 30(fp2D) 36
    343                               Store 183 182
    344              184:    7(ivec2) CompositeExtract 179 3
    345              185:     34(ptr) AccessChain 30(fp2D) 39
    346                               Store 185 184
    347              186:      6(int) CompositeExtract 179 4
    348              187:     44(ptr) AccessChain 30(fp2D) 42
    349                               Store 187 186
    350              188:      6(int) CompositeExtract 179 5
    351              189:     44(ptr) AccessChain 30(fp2D) 46
    352                               Store 189 188
    353              190:    26(bool) CompositeExtract 179 0
    354              191:      6(int) Select 190 50 51
    355              192:     53(ptr) AccessChain 10 12
    356                               Store 192 191
    357              193:     34(ptr) AccessChain 30(fp2D) 12
    358              194:    7(ivec2) Load 193
    359              195:     57(ptr) AccessChain 10 36
    360              196:    7(ivec2) Load 195
    361              197:    7(ivec2) IAdd 196 194
    362              198:     57(ptr) AccessChain 10 36
    363                               Store 198 197
    364              199:     34(ptr) AccessChain 30(fp2D) 36
    365              200:    7(ivec2) Load 199
    366              201:     57(ptr) AccessChain 10 39
    367              202:    7(ivec2) Load 201
    368              203:    7(ivec2) IAdd 202 200
    369              204:     57(ptr) AccessChain 10 39
    370                               Store 204 203
    371              205:     34(ptr) AccessChain 30(fp2D) 39
    372              206:    7(ivec2) Load 205
    373              207:     57(ptr) AccessChain 10 42
    374              208:    7(ivec2) Load 207
    375              209:    7(ivec2) IAdd 208 206
    376              210:     57(ptr) AccessChain 10 42
    377                               Store 210 209
    378              211:     44(ptr) AccessChain 30(fp2D) 42
    379              212:      6(int) Load 211
    380              213:     53(ptr) AccessChain 10 46
    381              214:      6(int) Load 213
    382              215:      6(int) IAdd 214 212
    383              216:     53(ptr) AccessChain 10 46
    384                               Store 216 215
    385              217:     44(ptr) AccessChain 30(fp2D) 46
    386              218:      6(int) Load 217
    387              219:     53(ptr) AccessChain 10 68
    388              220:      6(int) Load 219
    389              221:      6(int) IAdd 220 218
    390              222:     53(ptr) AccessChain 10 68
    391                               Store 222 221
    392              223:          15 Load 17(sample2D)
    393              224:   19(fvec2) Load 21(P2)
    394              226:   13(float) Load 225(lod)
    395              227:     11(int) Load 24(granularity)
    396              229:228(ResType) ImageSampleFootprintNV 223 224 227 27 Lod 226
    397              230:    7(ivec2) CompositeExtract 229 1
    398              231:     34(ptr) AccessChain 30(fp2D) 12
    399                               Store 231 230
    400              232:    7(ivec2) CompositeExtract 229 2
    401              233:     34(ptr) AccessChain 30(fp2D) 36
    402                               Store 233 232
    403              234:    7(ivec2) CompositeExtract 229 3
    404              235:     34(ptr) AccessChain 30(fp2D) 39
    405                               Store 235 234
    406              236:      6(int) CompositeExtract 229 4
    407              237:     44(ptr) AccessChain 30(fp2D) 42
    408                               Store 237 236
    409              238:      6(int) CompositeExtract 229 5
    410              239:     44(ptr) AccessChain 30(fp2D) 46
    411                               Store 239 238
    412              240:    26(bool) CompositeExtract 229 0
    413              241:      6(int) Select 240 50 51
    414              242:     53(ptr) AccessChain 10 12
    415                               Store 242 241
    416              243:     34(ptr) AccessChain 30(fp2D) 12
    417              244:    7(ivec2) Load 243
    418              245:     57(ptr) AccessChain 10 36
    419              246:    7(ivec2) Load 245
    420              247:    7(ivec2) IAdd 246 244
    421              248:     57(ptr) AccessChain 10 36
    422                               Store 248 247
    423              249:     34(ptr) AccessChain 30(fp2D) 36
    424              250:    7(ivec2) Load 249
    425              251:     57(ptr) AccessChain 10 39
    426              252:    7(ivec2) Load 251
    427              253:    7(ivec2) IAdd 252 250
    428              254:     57(ptr) AccessChain 10 39
    429                               Store 254 253
    430              255:     34(ptr) AccessChain 30(fp2D) 39
    431              256:    7(ivec2) Load 255
    432              257:     57(ptr) AccessChain 10 42
    433              258:    7(ivec2) Load 257
    434              259:    7(ivec2) IAdd 258 256
    435              260:     57(ptr) AccessChain 10 42
    436                               Store 260 259
    437              261:     44(ptr) AccessChain 30(fp2D) 42
    438              262:      6(int) Load 261
    439              263:     53(ptr) AccessChain 10 46
    440              264:      6(int) Load 263
    441              265:      6(int) IAdd 264 262
    442              266:     53(ptr) AccessChain 10 46
    443                               Store 266 265
    444              267:     44(ptr) AccessChain 30(fp2D) 46
    445              268:      6(int) Load 267
    446              269:     53(ptr) AccessChain 10 68
    447              270:      6(int) Load 269
    448              271:      6(int) IAdd 270 268
    449              272:     53(ptr) AccessChain 10 68
    450                               Store 272 271
    451              273:          15 Load 17(sample2D)
    452              274:   19(fvec2) Load 21(P2)
    453              276:   19(fvec2) Load 275(dx)
    454              278:   19(fvec2) Load 277(dy)
    455              279:     11(int) Load 24(granularity)
    456              281:280(ResType) ImageSampleFootprintNV 273 274 279 27 Grad 276 278
    457              282:    7(ivec2) CompositeExtract 281 1
    458              283:     34(ptr) AccessChain 30(fp2D) 12
    459                               Store 283 282
    460              284:    7(ivec2) CompositeExtract 281 2
    461              285:     34(ptr) AccessChain 30(fp2D) 36
    462                               Store 285 284
    463              286:    7(ivec2) CompositeExtract 281 3
    464              287:     34(ptr) AccessChain 30(fp2D) 39
    465                               Store 287 286
    466              288:      6(int) CompositeExtract 281 4
    467              289:     44(ptr) AccessChain 30(fp2D) 42
    468                               Store 289 288
    469              290:      6(int) CompositeExtract 281 5
    470              291:     44(ptr) AccessChain 30(fp2D) 46
    471                               Store 291 290
    472              292:    26(bool) CompositeExtract 281 0
    473              293:      6(int) Select 292 50 51
    474              294:     53(ptr) AccessChain 10 12
    475                               Store 294 293
    476              295:     34(ptr) AccessChain 30(fp2D) 12
    477              296:    7(ivec2) Load 295
    478              297:     57(ptr) AccessChain 10 36
    479              298:    7(ivec2) Load 297
    480              299:    7(ivec2) IAdd 298 296
    481              300:     57(ptr) AccessChain 10 36
    482                               Store 300 299
    483              301:     34(ptr) AccessChain 30(fp2D) 36
    484              302:    7(ivec2) Load 301
    485              303:     57(ptr) AccessChain 10 39
    486              304:    7(ivec2) Load 303
    487              305:    7(ivec2) IAdd 304 302
    488              306:     57(ptr) AccessChain 10 39
    489                               Store 306 305
    490              307:     34(ptr) AccessChain 30(fp2D) 39
    491              308:    7(ivec2) Load 307
    492              309:     57(ptr) AccessChain 10 42
    493              310:    7(ivec2) Load 309
    494              311:    7(ivec2) IAdd 310 308
    495              312:     57(ptr) AccessChain 10 42
    496                               Store 312 311
    497              313:     44(ptr) AccessChain 30(fp2D) 42
    498              314:      6(int) Load 313
    499              315:     53(ptr) AccessChain 10 46
    500              316:      6(int) Load 315
    501              317:      6(int) IAdd 316 314
    502              318:     53(ptr) AccessChain 10 46
    503                               Store 318 317
    504              319:     44(ptr) AccessChain 30(fp2D) 46
    505              320:      6(int) Load 319
    506              321:     53(ptr) AccessChain 10 68
    507              322:      6(int) Load 321
    508              323:      6(int) IAdd 322 320
    509              324:     53(ptr) AccessChain 10 68
    510                               Store 324 323
    511              325:          15 Load 17(sample2D)
    512              326:   19(fvec2) Load 21(P2)
    513              327:   19(fvec2) Load 275(dx)
    514              328:   19(fvec2) Load 277(dy)
    515              329:   13(float) Load 125(lodClamp)
    516              330:     11(int) Load 24(granularity)
    517              332:331(ResType) ImageSampleFootprintNV 325 326 330 27 Grad MinLod 327 328 329
    518              333:    7(ivec2) CompositeExtract 332 1
    519              334:     34(ptr) AccessChain 30(fp2D) 12
    520                               Store 334 333
    521              335:    7(ivec2) CompositeExtract 332 2
    522              336:     34(ptr) AccessChain 30(fp2D) 36
    523                               Store 336 335
    524              337:    7(ivec2) CompositeExtract 332 3
    525              338:     34(ptr) AccessChain 30(fp2D) 39
    526                               Store 338 337
    527              339:      6(int) CompositeExtract 332 4
    528              340:     44(ptr) AccessChain 30(fp2D) 42
    529                               Store 340 339
    530              341:      6(int) CompositeExtract 332 5
    531              342:     44(ptr) AccessChain 30(fp2D) 46
    532                               Store 342 341
    533              343:    26(bool) CompositeExtract 332 0
    534              344:      6(int) Select 343 50 51
    535              345:     53(ptr) AccessChain 10 12
    536                               Store 345 344
    537              346:     34(ptr) AccessChain 30(fp2D) 12
    538              347:    7(ivec2) Load 346
    539              348:     57(ptr) AccessChain 10 36
    540              349:    7(ivec2) Load 348
    541              350:    7(ivec2) IAdd 349 347
    542              351:     57(ptr) AccessChain 10 36
    543                               Store 351 350
    544              352:     34(ptr) AccessChain 30(fp2D) 36
    545              353:    7(ivec2) Load 352
    546              354:     57(ptr) AccessChain 10 39
    547              355:    7(ivec2) Load 354
    548              356:    7(ivec2) IAdd 355 353
    549              357:     57(ptr) AccessChain 10 39
    550                               Store 357 356
    551              358:     34(ptr) AccessChain 30(fp2D) 39
    552              359:    7(ivec2) Load 358
    553              360:     57(ptr) AccessChain 10 42
    554              361:    7(ivec2) Load 360
    555              362:    7(ivec2) IAdd 361 359
    556              363:     57(ptr) AccessChain 10 42
    557                               Store 363 362
    558              364:     44(ptr) AccessChain 30(fp2D) 42
    559              365:      6(int) Load 364
    560              366:     53(ptr) AccessChain 10 46
    561              367:      6(int) Load 366
    562              368:      6(int) IAdd 367 365
    563              369:     53(ptr) AccessChain 10 46
    564                               Store 369 368
    565              370:     44(ptr) AccessChain 30(fp2D) 46
    566              371:      6(int) Load 370
    567              372:     53(ptr) AccessChain 10 68
    568              373:      6(int) Load 372
    569              374:      6(int) IAdd 373 371
    570              375:     53(ptr) AccessChain 10 68
    571                               Store 375 374
    572              384:         381 Load 383(sample3D)
    573              388:  385(fvec3) Load 387(P3)
    574              389:     11(int) Load 24(granularity)
    575              394:393(ResType) ImageSampleFootprintNV 384 388 389 27
    576              395:  376(ivec3) CompositeExtract 394 1
    577              397:    396(ptr) AccessChain 392(fp3D) 12
    578                               Store 397 395
    579              398:  376(ivec3) CompositeExtract 394 2
    580              399:    396(ptr) AccessChain 392(fp3D) 36
    581                               Store 399 398
    582              400:    7(ivec2) CompositeExtract 394 3
    583              401:     34(ptr) AccessChain 392(fp3D) 39
    584                               Store 401 400
    585              402:      6(int) CompositeExtract 394 4
    586              403:     44(ptr) AccessChain 392(fp3D) 42
    587                               Store 403 402
    588              404:      6(int) CompositeExtract 394 5
    589              405:     44(ptr) AccessChain 392(fp3D) 46
    590                               Store 405 404
    591              406:    26(bool) CompositeExtract 394 0
    592              407:      6(int) Select 406 50 51
    593              408:     53(ptr) AccessChain 379 12
    594                               Store 408 407
    595              409:    396(ptr) AccessChain 392(fp3D) 12
    596              410:  376(ivec3) Load 409
    597              412:    411(ptr) AccessChain 379 36
    598                               Store 412 410
    599              413:    396(ptr) AccessChain 392(fp3D) 36
    600              414:  376(ivec3) Load 413
    601              415:    411(ptr) AccessChain 379 39
    602                               Store 415 414
    603              416:     34(ptr) AccessChain 392(fp3D) 39
    604              417:    7(ivec2) Load 416
    605              418:     57(ptr) AccessChain 379 42
    606                               Store 418 417
    607              419:     44(ptr) AccessChain 392(fp3D) 42
    608              420:      6(int) Load 419
    609              421:     53(ptr) AccessChain 379 46
    610                               Store 421 420
    611              422:     44(ptr) AccessChain 392(fp3D) 46
    612              423:      6(int) Load 422
    613              424:     53(ptr) AccessChain 379 68
    614                               Store 424 423
    615              425:         381 Load 383(sample3D)
    616              426:  385(fvec3) Load 387(P3)
    617              427:     11(int) Load 24(granularity)
    618              428:   13(float) Load 76(bias)
    619              430:429(ResType) ImageSampleFootprintNV 425 426 427 27 Bias 428
    620              431:  376(ivec3) CompositeExtract 430 1
    621              432:    396(ptr) AccessChain 392(fp3D) 12
    622                               Store 432 431
    623              433:  376(ivec3) CompositeExtract 430 2
    624              434:    396(ptr) AccessChain 392(fp3D) 36
    625                               Store 434 433
    626              435:    7(ivec2) CompositeExtract 430 3
    627              436:     34(ptr) AccessChain 392(fp3D) 39
    628                               Store 436 435
    629              437:      6(int) CompositeExtract 430 4
    630              438:     44(ptr) AccessChain 392(fp3D) 42
    631                               Store 438 437
    632              439:      6(int) CompositeExtract 430 5
    633              440:     44(ptr) AccessChain 392(fp3D) 46
    634                               Store 440 439
    635              441:    26(bool) CompositeExtract 430 0
    636              442:      6(int) Select 441 50 51
    637              443:     53(ptr) AccessChain 379 12
    638                               Store 443 442
    639              444:    396(ptr) AccessChain 392(fp3D) 12
    640              445:  376(ivec3) Load 444
    641              446:    411(ptr) AccessChain 379 36
    642              447:  376(ivec3) Load 446
    643              448:  376(ivec3) IAdd 447 445
    644              449:    411(ptr) AccessChain 379 36
    645                               Store 449 448
    646              450:    396(ptr) AccessChain 392(fp3D) 36
    647              451:  376(ivec3) Load 450
    648              452:    411(ptr) AccessChain 379 39
    649              453:  376(ivec3) Load 452
    650              454:  376(ivec3) IAdd 453 451
    651              455:    411(ptr) AccessChain 379 39
    652                               Store 455 454
    653              456:     34(ptr) AccessChain 392(fp3D) 39
    654              457:    7(ivec2) Load 456
    655              458:     57(ptr) AccessChain 379 42
    656              459:    7(ivec2) Load 458
    657              460:    7(ivec2) IAdd 459 457
    658              461:     57(ptr) AccessChain 379 42
    659                               Store 461 460
    660              462:     44(ptr) AccessChain 392(fp3D) 42
    661              463:      6(int) Load 462
    662              464:     53(ptr) AccessChain 379 46
    663              465:      6(int) Load 464
    664              466:      6(int) IAdd 465 463
    665              467:     53(ptr) AccessChain 379 46
    666                               Store 467 466
    667              468:     44(ptr) AccessChain 392(fp3D) 46
    668              469:      6(int) Load 468
    669              470:     53(ptr) AccessChain 379 68
    670              471:      6(int) Load 470
    671              472:      6(int) IAdd 471 469
    672              473:     53(ptr) AccessChain 379 68
    673                               Store 473 472
    674              474:         381 Load 383(sample3D)
    675              475:  385(fvec3) Load 387(P3)
    676              476:   13(float) Load 125(lodClamp)
    677              477:     11(int) Load 24(granularity)
    678              479:478(ResType) ImageSampleFootprintNV 474 475 477 27 MinLod 476
    679              480:  376(ivec3) CompositeExtract 479 1
    680              481:    396(ptr) AccessChain 392(fp3D) 12
    681                               Store 481 480
    682              482:  376(ivec3) CompositeExtract 479 2
    683              483:    396(ptr) AccessChain 392(fp3D) 36
    684                               Store 483 482
    685              484:    7(ivec2) CompositeExtract 479 3
    686              485:     34(ptr) AccessChain 392(fp3D) 39
    687                               Store 485 484
    688              486:      6(int) CompositeExtract 479 4
    689              487:     44(ptr) AccessChain 392(fp3D) 42
    690                               Store 487 486
    691              488:      6(int) CompositeExtract 479 5
    692              489:     44(ptr) AccessChain 392(fp3D) 46
    693                               Store 489 488
    694              490:    26(bool) CompositeExtract 479 0
    695              491:      6(int) Select 490 50 51
    696              492:     53(ptr) AccessChain 379 12
    697                               Store 492 491
    698              493:    396(ptr) AccessChain 392(fp3D) 12
    699              494:  376(ivec3) Load 493
    700              495:    411(ptr) AccessChain 379 36
    701              496:  376(ivec3) Load 495
    702              497:  376(ivec3) IAdd 496 494
    703              498:    411(ptr) AccessChain 379 36
    704                               Store 498 497
    705              499:    396(ptr) AccessChain 392(fp3D) 36
    706              500:  376(ivec3) Load 499
    707              501:    411(ptr) AccessChain 379 39
    708              502:  376(ivec3) Load 501
    709              503:  376(ivec3) IAdd 502 500
    710              504:    411(ptr) AccessChain 379 39
    711                               Store 504 503
    712              505:     34(ptr) AccessChain 392(fp3D) 39
    713              506:    7(ivec2) Load 505
    714              507:     57(ptr) AccessChain 379 42
    715              508:    7(ivec2) Load 507
    716              509:    7(ivec2) IAdd 508 506
    717              510:     57(ptr) AccessChain 379 42
    718                               Store 510 509
    719              511:     44(ptr) AccessChain 392(fp3D) 42
    720              512:      6(int) Load 511
    721              513:     53(ptr) AccessChain 379 46
    722              514:      6(int) Load 513
    723              515:      6(int) IAdd 514 512
    724              516:     53(ptr) AccessChain 379 46
    725                               Store 516 515
    726              517:     44(ptr) AccessChain 392(fp3D) 46
    727              518:      6(int) Load 517
    728              519:     53(ptr) AccessChain 379 68
    729              520:      6(int) Load 519
    730              521:      6(int) IAdd 520 518
    731              522:     53(ptr) AccessChain 379 68
    732                               Store 522 521
    733              523:         381 Load 383(sample3D)
    734              524:  385(fvec3) Load 387(P3)
    735              525:   13(float) Load 125(lodClamp)
    736              526:     11(int) Load 24(granularity)
    737              527:   13(float) Load 76(bias)
    738              529:528(ResType) ImageSampleFootprintNV 523 524 526 27 Bias MinLod 527 525
    739              530:  376(ivec3) CompositeExtract 529 1
    740              531:    396(ptr) AccessChain 392(fp3D) 12
    741                               Store 531 530
    742              532:  376(ivec3) CompositeExtract 529 2
    743              533:    396(ptr) AccessChain 392(fp3D) 36
    744                               Store 533 532
    745              534:    7(ivec2) CompositeExtract 529 3
    746              535:     34(ptr) AccessChain 392(fp3D) 39
    747                               Store 535 534
    748              536:      6(int) CompositeExtract 529 4
    749              537:     44(ptr) AccessChain 392(fp3D) 42
    750                               Store 537 536
    751              538:      6(int) CompositeExtract 529 5
    752              539:     44(ptr) AccessChain 392(fp3D) 46
    753                               Store 539 538
    754              540:    26(bool) CompositeExtract 529 0
    755              541:      6(int) Select 540 50 51
    756              542:     53(ptr) AccessChain 379 12
    757                               Store 542 541
    758              543:    396(ptr) AccessChain 392(fp3D) 12
    759              544:  376(ivec3) Load 543
    760              545:    411(ptr) AccessChain 379 36
    761              546:  376(ivec3) Load 545
    762              547:  376(ivec3) IAdd 546 544
    763              548:    411(ptr) AccessChain 379 36
    764                               Store 548 547
    765              549:    396(ptr) AccessChain 392(fp3D) 36
    766              550:  376(ivec3) Load 549
    767              551:    411(ptr) AccessChain 379 39
    768              552:  376(ivec3) Load 551
    769              553:  376(ivec3) IAdd 552 550
    770              554:    411(ptr) AccessChain 379 39
    771                               Store 554 553
    772              555:     34(ptr) AccessChain 392(fp3D) 39
    773              556:    7(ivec2) Load 555
    774              557:     57(ptr) AccessChain 379 42
    775              558:    7(ivec2) Load 557
    776              559:    7(ivec2) IAdd 558 556
    777              560:     57(ptr) AccessChain 379 42
    778                               Store 560 559
    779              561:     44(ptr) AccessChain 392(fp3D) 42
    780              562:      6(int) Load 561
    781              563:     53(ptr) AccessChain 379 46
    782              564:      6(int) Load 563
    783              565:      6(int) IAdd 564 562
    784              566:     53(ptr) AccessChain 379 46
    785                               Store 566 565
    786              567:     44(ptr) AccessChain 392(fp3D) 46
    787              568:      6(int) Load 567
    788              569:     53(ptr) AccessChain 379 68
    789              570:      6(int) Load 569
    790              571:      6(int) IAdd 570 568
    791              572:     53(ptr) AccessChain 379 68
    792                               Store 572 571
    793              573:         381 Load 383(sample3D)
    794              574:  385(fvec3) Load 387(P3)
    795              575:   13(float) Load 225(lod)
    796              576:     11(int) Load 24(granularity)
    797              578:577(ResType) ImageSampleFootprintNV 573 574 576 27 Lod 575
    798              579:  376(ivec3) CompositeExtract 578 1
    799              580:    396(ptr) AccessChain 392(fp3D) 12
    800                               Store 580 579
    801              581:  376(ivec3) CompositeExtract 578 2
    802              582:    396(ptr) AccessChain 392(fp3D) 36
    803                               Store 582 581
    804              583:    7(ivec2) CompositeExtract 578 3
    805              584:     34(ptr) AccessChain 392(fp3D) 39
    806                               Store 584 583
    807              585:      6(int) CompositeExtract 578 4
    808              586:     44(ptr) AccessChain 392(fp3D) 42
    809                               Store 586 585
    810              587:      6(int) CompositeExtract 578 5
    811              588:     44(ptr) AccessChain 392(fp3D) 46
    812                               Store 588 587
    813              589:    26(bool) CompositeExtract 578 0
    814              590:      6(int) Select 589 50 51
    815              591:     53(ptr) AccessChain 379 12
    816                               Store 591 590
    817              592:    396(ptr) AccessChain 392(fp3D) 12
    818              593:  376(ivec3) Load 592
    819              594:    411(ptr) AccessChain 379 36
    820              595:  376(ivec3) Load 594
    821              596:  376(ivec3) IAdd 595 593
    822              597:    411(ptr) AccessChain 379 36
    823                               Store 597 596
    824              598:    396(ptr) AccessChain 392(fp3D) 36
    825              599:  376(ivec3) Load 598
    826              600:    411(ptr) AccessChain 379 39
    827              601:  376(ivec3) Load 600
    828              602:  376(ivec3) IAdd 601 599
    829              603:    411(ptr) AccessChain 379 39
    830                               Store 603 602
    831              604:     34(ptr) AccessChain 392(fp3D) 39
    832              605:    7(ivec2) Load 604
    833              606:     57(ptr) AccessChain 379 42
    834              607:    7(ivec2) Load 606
    835              608:    7(ivec2) IAdd 607 605
    836              609:     57(ptr) AccessChain 379 42
    837                               Store 609 608
    838              610:     44(ptr) AccessChain 392(fp3D) 42
    839              611:      6(int) Load 610
    840              612:     53(ptr) AccessChain 379 46
    841              613:      6(int) Load 612
    842              614:      6(int) IAdd 613 611
    843              615:     53(ptr) AccessChain 379 46
    844                               Store 615 614
    845              616:     44(ptr) AccessChain 392(fp3D) 46
    846              617:      6(int) Load 616
    847              618:     53(ptr) AccessChain 379 68
    848              619:      6(int) Load 618
    849              620:      6(int) IAdd 619 617
    850              621:     53(ptr) AccessChain 379 68
    851                               Store 621 620
    852                               Return
    853                               FunctionEnd
    854