Home | History | Annotate | Download | only in baseResults
      1 spv.130.frag
      2 WARNING: 0:31: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
      3 
      4 Validation failed
      5 // Module Version 10000
      6 // Generated by (magic number): 80007
      7 // Id's are bound by 205
      8 
      9                               Capability Shader
     10                               Capability ClipDistance
     11                               Capability SampledRect
     12                               Capability Sampled1D
     13                               Capability SampledCubeArray
     14                               Capability ImageQuery
     15                1:             ExtInstImport  "GLSL.std.450"
     16                               MemoryModel Logical GLSL450
     17                               EntryPoint Fragment 4  "main" 17 68 79 99 173 184 185 186
     18                               ExecutionMode 4 OriginUpperLeft
     19                               Source GLSL 140
     20                               SourceExtension  "GL_ARB_gpu_shader5"
     21                               SourceExtension  "GL_ARB_shader_texture_lod"
     22                               SourceExtension  "GL_ARB_shading_language_420pack"
     23                               SourceExtension  "GL_ARB_texture_cube_map_array"
     24                               SourceExtension  "GL_ARB_texture_gather"
     25                               SourceExtension  "GL_ARB_texture_rectangle"
     26                               Name 4  "main"
     27                               Name 6  "bar3("
     28                               Name 8  "bar4("
     29                               Name 10  "bar5("
     30                               Name 12  "bar6("
     31                               Name 17  "o"
     32                               Name 21  "samp2D"
     33                               Name 37  "samp2DA"
     34                               Name 47  "samp2DR"
     35                               Name 55  "samp2DS"
     36                               Name 68  "io"
     37                               Name 72  "Sca"
     38                               Name 79  "i"
     39                               Name 87  "Isca"
     40                               Name 99  "uo"
     41                               Name 103  "Usca"
     42                               Name 114  "a"
     43                               Name 118  "Scas"
     44                               Name 124  "f"
     45                               Name 133  "c"
     46                               Name 154  "a1"
     47                               Name 157  "m43"
     48                               Name 160  "b"
     49                               Name 167  "sampC"
     50                               Name 173  "gl_ClipDistance"
     51                               Name 183  "b"
     52                               Name 184  "fflat"
     53                               Name 185  "fsmooth"
     54                               Name 186  "fnop"
     55                               Name 193  "bounds"
     56                               Name 194  "s2D"
     57                               Name 195  "s2DR"
     58                               Name 199  "s2DRS"
     59                               Name 203  "s1D"
     60                               Name 204  "s2DS"
     61                               Decorate 21(samp2D) DescriptorSet 0
     62                               Decorate 21(samp2D) Binding 0
     63                               Decorate 37(samp2DA) DescriptorSet 0
     64                               Decorate 37(samp2DA) Binding 0
     65                               Decorate 47(samp2DR) DescriptorSet 0
     66                               Decorate 47(samp2DR) Binding 0
     67                               Decorate 55(samp2DS) DescriptorSet 0
     68                               Decorate 55(samp2DS) Binding 0
     69                               Decorate 72(Sca) DescriptorSet 0
     70                               Decorate 72(Sca) Binding 0
     71                               Decorate 87(Isca) DescriptorSet 0
     72                               Decorate 87(Isca) Binding 0
     73                               Decorate 103(Usca) DescriptorSet 0
     74                               Decorate 103(Usca) Binding 0
     75                               Decorate 118(Scas) DescriptorSet 0
     76                               Decorate 118(Scas) Binding 0
     77                               Decorate 167(sampC) DescriptorSet 0
     78                               Decorate 167(sampC) Binding 0
     79                               Decorate 173(gl_ClipDistance) BuiltIn ClipDistance
     80                               Decorate 184(fflat) Flat
     81                               Decorate 186(fnop) NoPerspective
     82                               Decorate 193(bounds) DescriptorSet 0
     83                               Decorate 193(bounds) Binding 0
     84                               Decorate 194(s2D) DescriptorSet 0
     85                               Decorate 194(s2D) Binding 0
     86                               Decorate 195(s2DR) DescriptorSet 0
     87                               Decorate 195(s2DR) Binding 0
     88                               Decorate 199(s2DRS) DescriptorSet 0
     89                               Decorate 199(s2DRS) Binding 0
     90                               Decorate 203(s1D) DescriptorSet 0
     91                               Decorate 203(s1D) Binding 0
     92                               Decorate 204(s2DS) DescriptorSet 0
     93                               Decorate 204(s2DS) Binding 0
     94                2:             TypeVoid
     95                3:             TypeFunction 2
     96               14:             TypeFloat 32
     97               15:             TypeVector 14(float) 4
     98               16:             TypePointer Output 15(fvec4)
     99            17(o):     16(ptr) Variable Output
    100               18:             TypeImage 14(float) 2D sampled format:Unknown
    101               19:             TypeSampledImage 18
    102               20:             TypePointer UniformConstant 19
    103       21(samp2D):     20(ptr) Variable UniformConstant
    104               23:             TypeVector 14(float) 2
    105               24:   14(float) Constant 1050253722
    106               25:   23(fvec2) ConstantComposite 24 24
    107               26:             TypeInt 32 1
    108               27:             TypeVector 26(int) 2
    109               28:     26(int) Constant 1
    110               29:   27(ivec2) ConstantComposite 28 28
    111               30:     26(int) Constant 0
    112               34:             TypeImage 14(float) 2D array sampled format:Unknown
    113               35:             TypeSampledImage 34
    114               36:             TypePointer UniformConstant 35
    115      37(samp2DA):     36(ptr) Variable UniformConstant
    116               39:             TypeVector 14(float) 3
    117               40:   39(fvec3) ConstantComposite 24 24 24
    118               44:             TypeImage 14(float) Rect sampled format:Unknown
    119               45:             TypeSampledImage 44
    120               46:             TypePointer UniformConstant 45
    121      47(samp2DR):     46(ptr) Variable UniformConstant
    122               52:             TypeImage 14(float) 2D depth sampled format:Unknown
    123               53:             TypeSampledImage 52
    124               54:             TypePointer UniformConstant 53
    125      55(samp2DS):     54(ptr) Variable UniformConstant
    126               57:   14(float) Constant 1067869798
    127               62:     26(int) Constant 2
    128               66:             TypeVector 26(int) 3
    129               67:             TypePointer Output 66(ivec3)
    130           68(io):     67(ptr) Variable Output
    131               69:             TypeImage 14(float) Cube array sampled format:Unknown
    132               70:             TypeSampledImage 69
    133               71:             TypePointer UniformConstant 70
    134          72(Sca):     71(ptr) Variable UniformConstant
    135               74:     26(int) Constant 3
    136               78:             TypePointer Input 15(fvec4)
    137            79(i):     78(ptr) Variable Input
    138               84:             TypeImage 26(int) Cube array sampled format:Unknown
    139               85:             TypeSampledImage 84
    140               86:             TypePointer UniformConstant 85
    141         87(Isca):     86(ptr) Variable UniformConstant
    142               90:   14(float) Constant 1060320051
    143               91:             TypeVector 26(int) 4
    144               96:             TypeInt 32 0
    145               97:             TypeVector 96(int) 4
    146               98:             TypePointer Output 97(ivec4)
    147           99(uo):     98(ptr) Variable Output
    148              100:             TypeImage 96(int) Cube array sampled format:Unknown
    149              101:             TypeSampledImage 100
    150              102:             TypePointer UniformConstant 101
    151        103(Usca):    102(ptr) Variable UniformConstant
    152              109:   14(float) Constant 1071225242
    153              113:             TypePointer Private 39(fvec3)
    154           114(a):    113(ptr) Variable Private
    155              115:             TypeImage 14(float) Cube depth array sampled format:Unknown
    156              116:             TypeSampledImage 115
    157              117:             TypePointer UniformConstant 116
    158        118(Scas):    117(ptr) Variable UniformConstant
    159              123:             TypePointer Function 14(float)
    160              127:     96(int) Constant 1
    161              128:             TypePointer Input 14(float)
    162              132:             TypePointer Function 91(ivec4)
    163              136:   14(float) Constant 1036831949
    164              137:   39(fvec3) ConstantComposite 136 136 136
    165              138:   14(float) Constant 1045220557
    166              139:   39(fvec3) ConstantComposite 138 138 138
    167              155:             TypeMatrix 39(fvec3) 4
    168              156:             TypePointer Function 155
    169              161:   14(float) Constant 1073741824
    170              164:             TypeImage 14(float) Cube sampled format:Unknown
    171              165:             TypeSampledImage 164
    172              166:             TypePointer UniformConstant 165
    173       167(sampC):    166(ptr) Variable UniformConstant
    174              170:     96(int) Constant 4
    175              171:             TypeArray 14(float) 170
    176              172:             TypePointer Input 171
    177 173(gl_ClipDistance):    172(ptr) Variable Input
    178              176:             TypePointer Output 14(float)
    179              182:             TypePointer Private 14(float)
    180           183(b):    182(ptr) Variable Private
    181       184(fflat):    128(ptr) Variable Input
    182     185(fsmooth):    128(ptr) Variable Input
    183        186(fnop):    128(ptr) Variable Input
    184              187:     96(int) Constant 3
    185              188:             TypeArray 26(int) 187
    186              189:     26(int) Constant 10
    187              190:     26(int) Constant 23
    188              191:     26(int) Constant 32
    189              192:         188 ConstantComposite 189 190 191
    190      193(bounds):     20(ptr) Variable UniformConstant
    191         194(s2D):     20(ptr) Variable UniformConstant
    192        195(s2DR):     46(ptr) Variable UniformConstant
    193              196:             TypeImage 14(float) Rect depth sampled format:Unknown
    194              197:             TypeSampledImage 196
    195              198:             TypePointer UniformConstant 197
    196       199(s2DRS):    198(ptr) Variable UniformConstant
    197              200:             TypeImage 14(float) 1D sampled format:Unknown
    198              201:             TypeSampledImage 200
    199              202:             TypePointer UniformConstant 201
    200         203(s1D):    202(ptr) Variable UniformConstant
    201        204(s2DS):     54(ptr) Variable UniformConstant
    202          4(main):           2 Function None 3
    203                5:             Label
    204              168:         165 Load 167(sampC)
    205              169:   15(fvec4) ImageGather 168 139 30
    206                               Store 17(o) 169
    207              174:    128(ptr) AccessChain 173(gl_ClipDistance) 74
    208              175:   14(float) Load 174
    209              177:    176(ptr) AccessChain 17(o) 127
    210                               Store 177 175
    211              178:           2 FunctionCall 6(bar3()
    212              179:           2 FunctionCall 8(bar4()
    213              180:           2 FunctionCall 10(bar5()
    214              181:           2 FunctionCall 12(bar6()
    215                               Return
    216                               FunctionEnd
    217         6(bar3():           2 Function None 3
    218                7:             Label
    219               22:          19 Load 21(samp2D)
    220               31:   15(fvec4) ImageGather 22 25 30 ConstOffset 29
    221               32:   15(fvec4) Load 17(o)
    222               33:   15(fvec4) FAdd 32 31
    223                               Store 17(o) 33
    224               38:          35 Load 37(samp2DA)
    225               41:   15(fvec4) ImageGather 38 40 30 ConstOffset 29
    226               42:   15(fvec4) Load 17(o)
    227               43:   15(fvec4) FAdd 42 41
    228                               Store 17(o) 43
    229                               Return
    230                               FunctionEnd
    231         8(bar4():           2 Function None 3
    232                9:             Label
    233               48:          45 Load 47(samp2DR)
    234               49:   15(fvec4) ImageGather 48 25 30 ConstOffset 29
    235               50:   15(fvec4) Load 17(o)
    236               51:   15(fvec4) FAdd 50 49
    237                               Store 17(o) 51
    238               56:          53 Load 55(samp2DS)
    239               58:   15(fvec4) ImageDrefGather 56 25 57 ConstOffset 29
    240               59:   15(fvec4) Load 17(o)
    241               60:   15(fvec4) FAdd 59 58
    242                               Store 17(o) 60
    243               61:          19 Load 21(samp2D)
    244               63:   15(fvec4) ImageGather 61 25 62 ConstOffset 29
    245               64:   15(fvec4) Load 17(o)
    246               65:   15(fvec4) FAdd 64 63
    247                               Store 17(o) 65
    248                               Return
    249                               FunctionEnd
    250        10(bar5():           2 Function None 3
    251               11:             Label
    252           124(f):    123(ptr) Variable Function
    253           133(c):    132(ptr) Variable Function
    254               73:          70 Load 72(Sca)
    255               75:          69 Image 73
    256               76:   66(ivec3) ImageQuerySizeLod 75 74
    257                               Store 68(io) 76
    258               77:          70 Load 72(Sca)
    259               80:   15(fvec4) Load 79(i)
    260               81:   15(fvec4) ImageSampleImplicitLod 77 80
    261               82:   15(fvec4) Load 17(o)
    262               83:   15(fvec4) FAdd 82 81
    263                               Store 17(o) 83
    264               88:          85 Load 87(Isca)
    265               89:   15(fvec4) Load 79(i)
    266               92:   91(ivec4) ImageSampleImplicitLod 88 89 Bias 90
    267               93:   66(ivec3) VectorShuffle 92 92 0 1 2
    268               94:   66(ivec3) Load 68(io)
    269               95:   66(ivec3) IAdd 94 93
    270                               Store 68(io) 95
    271              104:         101 Load 103(Usca)
    272              105:   15(fvec4) Load 79(i)
    273              106:   97(ivec4) ImageSampleImplicitLod 104 105
    274                               Store 99(uo) 106
    275              107:          70 Load 72(Sca)
    276              108:   15(fvec4) Load 79(i)
    277              110:   15(fvec4) ImageSampleExplicitLod 107 108 Lod 109
    278              111:   15(fvec4) Load 17(o)
    279              112:   15(fvec4) FAdd 111 110
    280                               Store 17(o) 112
    281              119:         116 Load 118(Scas)
    282              120:         115 Image 119
    283              121:   66(ivec3) ImageQuerySizeLod 120 74
    284              122:   39(fvec3) ConvertSToF 121
    285                               Store 114(a) 122
    286              125:         116 Load 118(Scas)
    287              126:   15(fvec4) Load 79(i)
    288              129:    128(ptr) AccessChain 79(i) 127
    289              130:   14(float) Load 129
    290              131:   14(float) ImageSampleDrefImplicitLod 125 126 130
    291                               Store 124(f) 131
    292              134:          85 Load 87(Isca)
    293              135:   15(fvec4) Load 79(i)
    294              140:   91(ivec4) ImageSampleExplicitLod 134 135 Grad 137 139
    295                               Store 133(c) 140
    296              141:   39(fvec3) Load 114(a)
    297              142:   14(float) Load 124(f)
    298              143:   91(ivec4) Load 133(c)
    299              144:   15(fvec4) ConvertSToF 143
    300              145:   15(fvec4) CompositeConstruct 142 142 142 142
    301              146:   15(fvec4) FAdd 145 144
    302              147:   14(float) CompositeExtract 141 0
    303              148:   14(float) CompositeExtract 141 1
    304              149:   14(float) CompositeExtract 141 2
    305              150:   14(float) CompositeExtract 146 0
    306              151:   15(fvec4) CompositeConstruct 147 148 149 150
    307              152:   15(fvec4) Load 17(o)
    308              153:   15(fvec4) FAdd 152 151
    309                               Store 17(o) 153
    310                               Return
    311                               FunctionEnd
    312        12(bar6():           2 Function None 3
    313               13:             Label
    314          154(a1):    123(ptr) Variable Function
    315         157(m43):    156(ptr) Variable Function
    316           160(b):    123(ptr) Variable Function
    317              158:    123(ptr) AccessChain 157(m43) 74 127
    318              159:   14(float) Load 158
    319                               Store 154(a1) 159
    320              162:   14(float) Load 154(a1)
    321              163:   14(float) FMul 161 162
    322                               Store 160(b) 163
    323                               Return
    324                               FunctionEnd
    325