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