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