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