Home | History | Annotate | Download | only in baseResults
      1 spv.texture.vert
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 150
      5 
      6                               Capability Shader
      7                               Capability Sampled1D
      8                1:             ExtInstImport  "GLSL.std.450"
      9                               MemoryModel Logical GLSL450
     10                               EntryPoint Vertex 4  "main" 39 148
     11                               Source GLSL 140
     12                               Name 4  "main"
     13                               Name 8  "lod"
     14                               Name 10  "coords1D"
     15                               Name 14  "coords3D"
     16                               Name 20  "coords4D"
     17                               Name 23  "color"
     18                               Name 29  "texSampler1D"
     19                               Name 39  "coords2D"
     20                               Name 56  "texSampler2D"
     21                               Name 80  "texSampler3D"
     22                               Name 96  "texSamplerCube"
     23                               Name 106  "shadowSampler1D"
     24                               Name 118  "shadowSampler2D"
     25                               Name 148  "gl_Position"
     26                               Decorate 29(texSampler1D) DescriptorSet 0
     27                               Decorate 29(texSampler1D) Binding 0
     28                               Decorate 56(texSampler2D) DescriptorSet 0
     29                               Decorate 56(texSampler2D) Binding 0
     30                               Decorate 80(texSampler3D) DescriptorSet 0
     31                               Decorate 80(texSampler3D) Binding 0
     32                               Decorate 96(texSamplerCube) DescriptorSet 0
     33                               Decorate 96(texSamplerCube) Binding 0
     34                               Decorate 106(shadowSampler1D) DescriptorSet 0
     35                               Decorate 106(shadowSampler1D) Binding 0
     36                               Decorate 118(shadowSampler2D) DescriptorSet 0
     37                               Decorate 118(shadowSampler2D) Binding 0
     38                               Decorate 148(gl_Position) BuiltIn Position
     39                2:             TypeVoid
     40                3:             TypeFunction 2
     41                6:             TypeFloat 32
     42                7:             TypePointer Function 6(float)
     43                9:    6(float) Constant 1077936128
     44               11:    6(float) Constant 1071971828
     45               12:             TypeVector 6(float) 3
     46               13:             TypePointer Function 12(fvec3)
     47               15:    6(float) Constant 1076753334
     48               16:    6(float) Constant 1079836148
     49               17:   12(fvec3) ConstantComposite 11 15 16
     50               18:             TypeVector 6(float) 4
     51               19:             TypePointer Function 18(fvec4)
     52               21:    6(float) Constant 1073741824
     53               22:   18(fvec4) ConstantComposite 11 15 16 21
     54               24:    6(float) Constant 0
     55               25:   18(fvec4) ConstantComposite 24 24 24 24
     56               26:             TypeImage 6(float) 1D sampled format:Unknown
     57               27:             TypeSampledImage 26
     58               28:             TypePointer UniformConstant 27
     59 29(texSampler1D):     28(ptr) Variable UniformConstant
     60               37:             TypeVector 6(float) 2
     61               38:             TypePointer Input 37(fvec2)
     62     39(coords2D):     38(ptr) Variable Input
     63               53:             TypeImage 6(float) 2D sampled format:Unknown
     64               54:             TypeSampledImage 53
     65               55:             TypePointer UniformConstant 54
     66 56(texSampler2D):     55(ptr) Variable UniformConstant
     67               77:             TypeImage 6(float) 3D sampled format:Unknown
     68               78:             TypeSampledImage 77
     69               79:             TypePointer UniformConstant 78
     70 80(texSampler3D):     79(ptr) Variable UniformConstant
     71               93:             TypeImage 6(float) Cube sampled format:Unknown
     72               94:             TypeSampledImage 93
     73               95:             TypePointer UniformConstant 94
     74 96(texSamplerCube):     95(ptr) Variable UniformConstant
     75              103:             TypeImage 6(float) 1D depth sampled format:Unknown
     76              104:             TypeSampledImage 103
     77              105:             TypePointer UniformConstant 104
     78 106(shadowSampler1D):    105(ptr) Variable UniformConstant
     79              115:             TypeImage 6(float) 2D depth sampled format:Unknown
     80              116:             TypeSampledImage 115
     81              117:             TypePointer UniformConstant 116
     82 118(shadowSampler2D):    117(ptr) Variable UniformConstant
     83              147:             TypePointer Output 18(fvec4)
     84 148(gl_Position):    147(ptr) Variable Output
     85          4(main):           2 Function None 3
     86                5:             Label
     87           8(lod):      7(ptr) Variable Function
     88     10(coords1D):      7(ptr) Variable Function
     89     14(coords3D):     13(ptr) Variable Function
     90     20(coords4D):     19(ptr) Variable Function
     91        23(color):     19(ptr) Variable Function
     92                               Store 8(lod) 9
     93                               Store 10(coords1D) 11
     94                               Store 14(coords3D) 17
     95                               Store 20(coords4D) 22
     96                               Store 23(color) 25
     97               30:          27 Load 29(texSampler1D)
     98               31:    6(float) Load 10(coords1D)
     99               32:    6(float) Load 8(lod)
    100               33:   18(fvec4) ImageSampleExplicitLod 30 31 Lod 32
    101               34:   18(fvec4) Load 23(color)
    102               35:   18(fvec4) FAdd 34 33
    103                               Store 23(color) 35
    104               36:          27 Load 29(texSampler1D)
    105               40:   37(fvec2) Load 39(coords2D)
    106               41:    6(float) Load 8(lod)
    107               42:   18(fvec4) ImageSampleProjExplicitLod 36 40 Lod 41
    108               43:   18(fvec4) Load 23(color)
    109               44:   18(fvec4) FAdd 43 42
    110                               Store 23(color) 44
    111               45:          27 Load 29(texSampler1D)
    112               46:   18(fvec4) Load 20(coords4D)
    113               47:    6(float) Load 8(lod)
    114               48:    6(float) CompositeExtract 46 3
    115               49:   18(fvec4) CompositeInsert 48 46 1
    116               50:   18(fvec4) ImageSampleProjExplicitLod 45 49 Lod 47
    117               51:   18(fvec4) Load 23(color)
    118               52:   18(fvec4) FAdd 51 50
    119                               Store 23(color) 52
    120               57:          54 Load 56(texSampler2D)
    121               58:   37(fvec2) Load 39(coords2D)
    122               59:    6(float) Load 8(lod)
    123               60:   18(fvec4) ImageSampleExplicitLod 57 58 Lod 59
    124               61:   18(fvec4) Load 23(color)
    125               62:   18(fvec4) FAdd 61 60
    126                               Store 23(color) 62
    127               63:          54 Load 56(texSampler2D)
    128               64:   12(fvec3) Load 14(coords3D)
    129               65:    6(float) Load 8(lod)
    130               66:   18(fvec4) ImageSampleProjExplicitLod 63 64 Lod 65
    131               67:   18(fvec4) Load 23(color)
    132               68:   18(fvec4) FAdd 67 66
    133                               Store 23(color) 68
    134               69:          54 Load 56(texSampler2D)
    135               70:   18(fvec4) Load 20(coords4D)
    136               71:    6(float) Load 8(lod)
    137               72:    6(float) CompositeExtract 70 3
    138               73:   18(fvec4) CompositeInsert 72 70 2
    139               74:   18(fvec4) ImageSampleProjExplicitLod 69 73 Lod 71
    140               75:   18(fvec4) Load 23(color)
    141               76:   18(fvec4) FAdd 75 74
    142                               Store 23(color) 76
    143               81:          78 Load 80(texSampler3D)
    144               82:   12(fvec3) Load 14(coords3D)
    145               83:    6(float) Load 8(lod)
    146               84:   18(fvec4) ImageSampleExplicitLod 81 82 Lod 83
    147               85:   18(fvec4) Load 23(color)
    148               86:   18(fvec4) FAdd 85 84
    149                               Store 23(color) 86
    150               87:          78 Load 80(texSampler3D)
    151               88:   18(fvec4) Load 20(coords4D)
    152               89:    6(float) Load 8(lod)
    153               90:   18(fvec4) ImageSampleProjExplicitLod 87 88 Lod 89
    154               91:   18(fvec4) Load 23(color)
    155               92:   18(fvec4) FAdd 91 90
    156                               Store 23(color) 92
    157               97:          94 Load 96(texSamplerCube)
    158               98:   12(fvec3) Load 14(coords3D)
    159               99:    6(float) Load 8(lod)
    160              100:   18(fvec4) ImageSampleExplicitLod 97 98 Lod 99
    161              101:   18(fvec4) Load 23(color)
    162              102:   18(fvec4) FAdd 101 100
    163                               Store 23(color) 102
    164              107:         104 Load 106(shadowSampler1D)
    165              108:   12(fvec3) Load 14(coords3D)
    166              109:    6(float) Load 8(lod)
    167              110:    6(float) CompositeExtract 108 2
    168              111:    6(float) ImageSampleDrefExplicitLod 107 108 110 Lod 109
    169              112:   18(fvec4) Load 23(color)
    170              113:   18(fvec4) CompositeConstruct 111 111 111 111
    171              114:   18(fvec4) FAdd 112 113
    172                               Store 23(color) 114
    173              119:         116 Load 118(shadowSampler2D)
    174              120:   12(fvec3) Load 14(coords3D)
    175              121:    6(float) Load 8(lod)
    176              122:    6(float) CompositeExtract 120 2
    177              123:    6(float) ImageSampleDrefExplicitLod 119 120 122 Lod 121
    178              124:   18(fvec4) Load 23(color)
    179              125:   18(fvec4) CompositeConstruct 123 123 123 123
    180              126:   18(fvec4) FAdd 124 125
    181                               Store 23(color) 126
    182              127:         104 Load 106(shadowSampler1D)
    183              128:   18(fvec4) Load 20(coords4D)
    184              129:    6(float) Load 8(lod)
    185              130:    6(float) CompositeExtract 128 2
    186              131:    6(float) CompositeExtract 128 3
    187              132:   18(fvec4) CompositeInsert 131 128 1
    188              133:    6(float) ImageSampleProjDrefExplicitLod 127 132 130 Lod 129
    189              134:   18(fvec4) Load 23(color)
    190              135:   18(fvec4) CompositeConstruct 133 133 133 133
    191              136:   18(fvec4) FAdd 134 135
    192                               Store 23(color) 136
    193              137:         116 Load 118(shadowSampler2D)
    194              138:   18(fvec4) Load 20(coords4D)
    195              139:    6(float) Load 8(lod)
    196              140:    6(float) CompositeExtract 138 2
    197              141:    6(float) CompositeExtract 138 3
    198              142:   18(fvec4) CompositeInsert 141 138 2
    199              143:    6(float) ImageSampleProjDrefExplicitLod 137 142 140 Lod 139
    200              144:   18(fvec4) Load 23(color)
    201              145:   18(fvec4) CompositeConstruct 143 143 143 143
    202              146:   18(fvec4) FAdd 144 145
    203                               Store 23(color) 146
    204              149:   18(fvec4) Load 23(color)
    205                               Store 148(gl_Position) 149
    206                               Return
    207                               FunctionEnd
    208