• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OpCapability Shader
2%1 = OpExtInstImport "GLSL.std.450"
3OpMemoryModel Logical GLSL450
4OpEntryPoint Fragment %main "main" %sk_FragColor %sk_Clockwise
5OpExecutionMode %main OriginUpperLeft
6OpName %sk_FragColor "sk_FragColor"
7OpName %sk_Clockwise "sk_Clockwise"
8OpName %_UniformBuffer "_UniformBuffer"
9OpMemberName %_UniformBuffer 0 "unknownInput"
10OpName %main "main"
11OpName %b "b"
12OpName %s "s"
13OpName %i "i"
14OpName %us "us"
15OpName %ui "ui"
16OpName %h "h"
17OpName %f "f"
18OpName %s2s "s2s"
19OpName %i2s "i2s"
20OpName %us2s "us2s"
21OpName %ui2s "ui2s"
22OpName %h2s "h2s"
23OpName %f2s "f2s"
24OpName %b2s "b2s"
25OpName %s2i "s2i"
26OpName %i2i "i2i"
27OpName %us2i "us2i"
28OpName %ui2i "ui2i"
29OpName %h2i "h2i"
30OpName %f2i "f2i"
31OpName %b2i "b2i"
32OpName %s2us "s2us"
33OpName %i2us "i2us"
34OpName %us2us "us2us"
35OpName %ui2us "ui2us"
36OpName %h2us "h2us"
37OpName %f2us "f2us"
38OpName %b2us "b2us"
39OpName %s2ui "s2ui"
40OpName %i2ui "i2ui"
41OpName %us2ui "us2ui"
42OpName %ui2ui "ui2ui"
43OpName %h2ui "h2ui"
44OpName %f2ui "f2ui"
45OpName %b2ui "b2ui"
46OpName %s2f "s2f"
47OpName %i2f "i2f"
48OpName %us2f "us2f"
49OpName %ui2f "ui2f"
50OpName %h2f "h2f"
51OpName %f2f "f2f"
52OpName %b2f "b2f"
53OpDecorate %sk_FragColor RelaxedPrecision
54OpDecorate %sk_FragColor Location 0
55OpDecorate %sk_FragColor Index 0
56OpDecorate %sk_Clockwise BuiltIn FrontFacing
57OpMemberDecorate %_UniformBuffer 0 Offset 0
58OpDecorate %_UniformBuffer Block
59OpDecorate %10 Binding 0
60OpDecorate %10 DescriptorSet 0
61OpDecorate %s RelaxedPrecision
62OpDecorate %26 RelaxedPrecision
63OpDecorate %us RelaxedPrecision
64OpDecorate %36 RelaxedPrecision
65OpDecorate %h RelaxedPrecision
66OpDecorate %s2s RelaxedPrecision
67OpDecorate %49 RelaxedPrecision
68OpDecorate %i2s RelaxedPrecision
69OpDecorate %us2s RelaxedPrecision
70OpDecorate %53 RelaxedPrecision
71OpDecorate %54 RelaxedPrecision
72OpDecorate %ui2s RelaxedPrecision
73OpDecorate %57 RelaxedPrecision
74OpDecorate %h2s RelaxedPrecision
75OpDecorate %59 RelaxedPrecision
76OpDecorate %60 RelaxedPrecision
77OpDecorate %f2s RelaxedPrecision
78OpDecorate %63 RelaxedPrecision
79OpDecorate %b2s RelaxedPrecision
80OpDecorate %65 RelaxedPrecision
81OpDecorate %66 RelaxedPrecision
82OpDecorate %69 RelaxedPrecision
83OpDecorate %73 RelaxedPrecision
84OpDecorate %79 RelaxedPrecision
85OpDecorate %85 RelaxedPrecision
86OpDecorate %s2us RelaxedPrecision
87OpDecorate %88 RelaxedPrecision
88OpDecorate %89 RelaxedPrecision
89OpDecorate %i2us RelaxedPrecision
90OpDecorate %92 RelaxedPrecision
91OpDecorate %us2us RelaxedPrecision
92OpDecorate %94 RelaxedPrecision
93OpDecorate %ui2us RelaxedPrecision
94OpDecorate %h2us RelaxedPrecision
95OpDecorate %98 RelaxedPrecision
96OpDecorate %99 RelaxedPrecision
97OpDecorate %f2us RelaxedPrecision
98OpDecorate %102 RelaxedPrecision
99OpDecorate %b2us RelaxedPrecision
100OpDecorate %104 RelaxedPrecision
101OpDecorate %105 RelaxedPrecision
102OpDecorate %109 RelaxedPrecision
103OpDecorate %115 RelaxedPrecision
104OpDecorate %119 RelaxedPrecision
105OpDecorate %125 RelaxedPrecision
106OpDecorate %128 RelaxedPrecision
107OpDecorate %134 RelaxedPrecision
108OpDecorate %140 RelaxedPrecision
109OpDecorate %144 RelaxedPrecision
110OpDecorate %148 RelaxedPrecision
111OpDecorate %149 RelaxedPrecision
112OpDecorate %151 RelaxedPrecision
113OpDecorate %152 RelaxedPrecision
114OpDecorate %153 RelaxedPrecision
115OpDecorate %154 RelaxedPrecision
116OpDecorate %155 RelaxedPrecision
117OpDecorate %157 RelaxedPrecision
118OpDecorate %158 RelaxedPrecision
119OpDecorate %159 RelaxedPrecision
120OpDecorate %160 RelaxedPrecision
121OpDecorate %162 RelaxedPrecision
122OpDecorate %163 RelaxedPrecision
123OpDecorate %164 RelaxedPrecision
124OpDecorate %165 RelaxedPrecision
125OpDecorate %166 RelaxedPrecision
126OpDecorate %167 RelaxedPrecision
127OpDecorate %168 RelaxedPrecision
128OpDecorate %169 RelaxedPrecision
129OpDecorate %170 RelaxedPrecision
130OpDecorate %171 RelaxedPrecision
131OpDecorate %172 RelaxedPrecision
132OpDecorate %173 RelaxedPrecision
133OpDecorate %174 RelaxedPrecision
134OpDecorate %175 RelaxedPrecision
135OpDecorate %176 RelaxedPrecision
136OpDecorate %177 RelaxedPrecision
137OpDecorate %178 RelaxedPrecision
138OpDecorate %179 RelaxedPrecision
139OpDecorate %180 RelaxedPrecision
140OpDecorate %181 RelaxedPrecision
141OpDecorate %182 RelaxedPrecision
142OpDecorate %183 RelaxedPrecision
143OpDecorate %185 RelaxedPrecision
144OpDecorate %186 RelaxedPrecision
145OpDecorate %188 RelaxedPrecision
146OpDecorate %189 RelaxedPrecision
147OpDecorate %191 RelaxedPrecision
148OpDecorate %192 RelaxedPrecision
149OpDecorate %194 RelaxedPrecision
150OpDecorate %195 RelaxedPrecision
151OpDecorate %197 RelaxedPrecision
152OpDecorate %198 RelaxedPrecision
153OpDecorate %200 RelaxedPrecision
154OpDecorate %201 RelaxedPrecision
155OpDecorate %203 RelaxedPrecision
156OpDecorate %204 RelaxedPrecision
157OpDecorate %205 RelaxedPrecision
158OpDecorate %206 RelaxedPrecision
159OpDecorate %207 RelaxedPrecision
160OpDecorate %208 RelaxedPrecision
161OpDecorate %209 RelaxedPrecision
162OpDecorate %210 RelaxedPrecision
163OpDecorate %211 RelaxedPrecision
164OpDecorate %212 RelaxedPrecision
165OpDecorate %213 RelaxedPrecision
166OpDecorate %217 RelaxedPrecision
167OpDecorate %218 RelaxedPrecision
168OpDecorate %219 RelaxedPrecision
169OpDecorate %220 RelaxedPrecision
170OpDecorate %221 RelaxedPrecision
171OpDecorate %222 RelaxedPrecision
172OpDecorate %223 RelaxedPrecision
173OpDecorate %224 RelaxedPrecision
174OpDecorate %225 RelaxedPrecision
175OpDecorate %226 RelaxedPrecision
176OpDecorate %227 RelaxedPrecision
177OpDecorate %228 RelaxedPrecision
178OpDecorate %230 RelaxedPrecision
179OpDecorate %231 RelaxedPrecision
180OpDecorate %233 RelaxedPrecision
181OpDecorate %234 RelaxedPrecision
182OpDecorate %236 RelaxedPrecision
183OpDecorate %237 RelaxedPrecision
184OpDecorate %239 RelaxedPrecision
185OpDecorate %240 RelaxedPrecision
186OpDecorate %242 RelaxedPrecision
187OpDecorate %243 RelaxedPrecision
188OpDecorate %245 RelaxedPrecision
189OpDecorate %246 RelaxedPrecision
190OpDecorate %248 RelaxedPrecision
191OpDecorate %249 RelaxedPrecision
192OpDecorate %251 RelaxedPrecision
193OpDecorate %253 RelaxedPrecision
194OpDecorate %255 RelaxedPrecision
195OpDecorate %257 RelaxedPrecision
196OpDecorate %259 RelaxedPrecision
197OpDecorate %261 RelaxedPrecision
198OpDecorate %263 RelaxedPrecision
199OpDecorate %264 RelaxedPrecision
200%float = OpTypeFloat 32
201%v4float = OpTypeVector %float 4
202%_ptr_Output_v4float = OpTypePointer Output %v4float
203%sk_FragColor = OpVariable %_ptr_Output_v4float Output
204%bool = OpTypeBool
205%_ptr_Input_bool = OpTypePointer Input %bool
206%sk_Clockwise = OpVariable %_ptr_Input_bool Input
207%_UniformBuffer = OpTypeStruct %float
208%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
209%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
210%void = OpTypeVoid
211%14 = OpTypeFunction %void
212%_ptr_Function_bool = OpTypePointer Function %bool
213%true = OpConstantTrue %bool
214%int = OpTypeInt 32 1
215%_ptr_Function_int = OpTypePointer Function %int
216%_ptr_Uniform_float = OpTypePointer Uniform %float
217%int_0 = OpConstant %int 0
218%uint = OpTypeInt 32 0
219%_ptr_Function_uint = OpTypePointer Function %uint
220%_ptr_Function_float = OpTypePointer Function %float
221%int_1 = OpConstant %int 1
222%uint_1 = OpConstant %uint 1
223%uint_0 = OpConstant %uint 0
224%float_1 = OpConstant %float 1
225%float_0 = OpConstant %float 0
226%_ptr_Output_float = OpTypePointer Output %float
227%main = OpFunction %void None %14
228%15 = OpLabel
229%b = OpVariable %_ptr_Function_bool Function
230%s = OpVariable %_ptr_Function_int Function
231%i = OpVariable %_ptr_Function_int Function
232%us = OpVariable %_ptr_Function_uint Function
233%ui = OpVariable %_ptr_Function_uint Function
234%h = OpVariable %_ptr_Function_float Function
235%f = OpVariable %_ptr_Function_float Function
236%s2s = OpVariable %_ptr_Function_int Function
237%i2s = OpVariable %_ptr_Function_int Function
238%us2s = OpVariable %_ptr_Function_int Function
239%ui2s = OpVariable %_ptr_Function_int Function
240%h2s = OpVariable %_ptr_Function_int Function
241%f2s = OpVariable %_ptr_Function_int Function
242%b2s = OpVariable %_ptr_Function_int Function
243%s2i = OpVariable %_ptr_Function_int Function
244%i2i = OpVariable %_ptr_Function_int Function
245%us2i = OpVariable %_ptr_Function_int Function
246%ui2i = OpVariable %_ptr_Function_int Function
247%h2i = OpVariable %_ptr_Function_int Function
248%f2i = OpVariable %_ptr_Function_int Function
249%b2i = OpVariable %_ptr_Function_int Function
250%s2us = OpVariable %_ptr_Function_uint Function
251%i2us = OpVariable %_ptr_Function_uint Function
252%us2us = OpVariable %_ptr_Function_uint Function
253%ui2us = OpVariable %_ptr_Function_uint Function
254%h2us = OpVariable %_ptr_Function_uint Function
255%f2us = OpVariable %_ptr_Function_uint Function
256%b2us = OpVariable %_ptr_Function_uint Function
257%s2ui = OpVariable %_ptr_Function_uint Function
258%i2ui = OpVariable %_ptr_Function_uint Function
259%us2ui = OpVariable %_ptr_Function_uint Function
260%ui2ui = OpVariable %_ptr_Function_uint Function
261%h2ui = OpVariable %_ptr_Function_uint Function
262%f2ui = OpVariable %_ptr_Function_uint Function
263%b2ui = OpVariable %_ptr_Function_uint Function
264%s2f = OpVariable %_ptr_Function_float Function
265%i2f = OpVariable %_ptr_Function_float Function
266%us2f = OpVariable %_ptr_Function_float Function
267%ui2f = OpVariable %_ptr_Function_float Function
268%h2f = OpVariable %_ptr_Function_float Function
269%f2f = OpVariable %_ptr_Function_float Function
270%b2f = OpVariable %_ptr_Function_float Function
271OpStore %b %true
272%22 = OpAccessChain %_ptr_Uniform_float %10 %int_0
273%25 = OpLoad %float %22
274%26 = OpConvertFToS %int %25
275OpStore %s %26
276%28 = OpAccessChain %_ptr_Uniform_float %10 %int_0
277%29 = OpLoad %float %28
278%30 = OpConvertFToS %int %29
279OpStore %i %30
280%34 = OpAccessChain %_ptr_Uniform_float %10 %int_0
281%35 = OpLoad %float %34
282%36 = OpConvertFToU %uint %35
283OpStore %us %36
284%38 = OpAccessChain %_ptr_Uniform_float %10 %int_0
285%39 = OpLoad %float %38
286%40 = OpConvertFToU %uint %39
287OpStore %ui %40
288%43 = OpAccessChain %_ptr_Uniform_float %10 %int_0
289%44 = OpLoad %float %43
290OpStore %h %44
291%46 = OpAccessChain %_ptr_Uniform_float %10 %int_0
292%47 = OpLoad %float %46
293OpStore %f %47
294%49 = OpLoad %int %s
295OpStore %s2s %49
296%51 = OpLoad %int %i
297OpStore %i2s %51
298%53 = OpLoad %uint %us
299%54 = OpBitcast %int %53
300OpStore %us2s %54
301%56 = OpLoad %uint %ui
302%57 = OpBitcast %int %56
303OpStore %ui2s %57
304%59 = OpLoad %float %h
305%60 = OpConvertFToS %int %59
306OpStore %h2s %60
307%62 = OpLoad %float %f
308%63 = OpConvertFToS %int %62
309OpStore %f2s %63
310%65 = OpLoad %bool %b
311%66 = OpSelect %int %65 %int_1 %int_0
312OpStore %b2s %66
313%69 = OpLoad %int %s
314OpStore %s2i %69
315%71 = OpLoad %int %i
316OpStore %i2i %71
317%73 = OpLoad %uint %us
318%74 = OpBitcast %int %73
319OpStore %us2i %74
320%76 = OpLoad %uint %ui
321%77 = OpBitcast %int %76
322OpStore %ui2i %77
323%79 = OpLoad %float %h
324%80 = OpConvertFToS %int %79
325OpStore %h2i %80
326%82 = OpLoad %float %f
327%83 = OpConvertFToS %int %82
328OpStore %f2i %83
329%85 = OpLoad %bool %b
330%86 = OpSelect %int %85 %int_1 %int_0
331OpStore %b2i %86
332%88 = OpLoad %int %s
333%89 = OpBitcast %uint %88
334OpStore %s2us %89
335%91 = OpLoad %int %i
336%92 = OpBitcast %uint %91
337OpStore %i2us %92
338%94 = OpLoad %uint %us
339OpStore %us2us %94
340%96 = OpLoad %uint %ui
341OpStore %ui2us %96
342%98 = OpLoad %float %h
343%99 = OpConvertFToU %uint %98
344OpStore %h2us %99
345%101 = OpLoad %float %f
346%102 = OpConvertFToU %uint %101
347OpStore %f2us %102
348%104 = OpLoad %bool %b
349%105 = OpSelect %uint %104 %uint_1 %uint_0
350OpStore %b2us %105
351%109 = OpLoad %int %s
352%110 = OpBitcast %uint %109
353OpStore %s2ui %110
354%112 = OpLoad %int %i
355%113 = OpBitcast %uint %112
356OpStore %i2ui %113
357%115 = OpLoad %uint %us
358OpStore %us2ui %115
359%117 = OpLoad %uint %ui
360OpStore %ui2ui %117
361%119 = OpLoad %float %h
362%120 = OpConvertFToU %uint %119
363OpStore %h2ui %120
364%122 = OpLoad %float %f
365%123 = OpConvertFToU %uint %122
366OpStore %f2ui %123
367%125 = OpLoad %bool %b
368%126 = OpSelect %uint %125 %uint_1 %uint_0
369OpStore %b2ui %126
370%128 = OpLoad %int %s
371%129 = OpConvertSToF %float %128
372OpStore %s2f %129
373%131 = OpLoad %int %i
374%132 = OpConvertSToF %float %131
375OpStore %i2f %132
376%134 = OpLoad %uint %us
377%135 = OpConvertUToF %float %134
378OpStore %us2f %135
379%137 = OpLoad %uint %ui
380%138 = OpConvertUToF %float %137
381OpStore %ui2f %138
382%140 = OpLoad %float %h
383OpStore %h2f %140
384%142 = OpLoad %float %f
385OpStore %f2f %142
386%144 = OpLoad %bool %b
387%145 = OpSelect %float %144 %float_1 %float_0
388OpStore %b2f %145
389%148 = OpLoad %int %s
390%149 = OpConvertSToF %float %148
391%150 = OpLoad %int %i
392%151 = OpConvertSToF %float %150
393%152 = OpFAdd %float %149 %151
394%153 = OpLoad %uint %us
395%154 = OpConvertUToF %float %153
396%155 = OpFAdd %float %152 %154
397%156 = OpLoad %uint %ui
398%157 = OpConvertUToF %float %156
399%158 = OpFAdd %float %155 %157
400%159 = OpLoad %float %h
401%160 = OpFAdd %float %158 %159
402%161 = OpLoad %float %f
403%162 = OpFAdd %float %160 %161
404%163 = OpLoad %int %s2s
405%164 = OpConvertSToF %float %163
406%165 = OpFAdd %float %162 %164
407%166 = OpLoad %int %i2s
408%167 = OpConvertSToF %float %166
409%168 = OpFAdd %float %165 %167
410%169 = OpLoad %int %us2s
411%170 = OpConvertSToF %float %169
412%171 = OpFAdd %float %168 %170
413%172 = OpLoad %int %ui2s
414%173 = OpConvertSToF %float %172
415%174 = OpFAdd %float %171 %173
416%175 = OpLoad %int %h2s
417%176 = OpConvertSToF %float %175
418%177 = OpFAdd %float %174 %176
419%178 = OpLoad %int %f2s
420%179 = OpConvertSToF %float %178
421%180 = OpFAdd %float %177 %179
422%181 = OpLoad %int %b2s
423%182 = OpConvertSToF %float %181
424%183 = OpFAdd %float %180 %182
425%184 = OpLoad %int %s2i
426%185 = OpConvertSToF %float %184
427%186 = OpFAdd %float %183 %185
428%187 = OpLoad %int %i2i
429%188 = OpConvertSToF %float %187
430%189 = OpFAdd %float %186 %188
431%190 = OpLoad %int %us2i
432%191 = OpConvertSToF %float %190
433%192 = OpFAdd %float %189 %191
434%193 = OpLoad %int %ui2i
435%194 = OpConvertSToF %float %193
436%195 = OpFAdd %float %192 %194
437%196 = OpLoad %int %h2i
438%197 = OpConvertSToF %float %196
439%198 = OpFAdd %float %195 %197
440%199 = OpLoad %int %f2i
441%200 = OpConvertSToF %float %199
442%201 = OpFAdd %float %198 %200
443%202 = OpLoad %int %b2i
444%203 = OpConvertSToF %float %202
445%204 = OpFAdd %float %201 %203
446%205 = OpLoad %uint %s2us
447%206 = OpConvertUToF %float %205
448%207 = OpFAdd %float %204 %206
449%208 = OpLoad %uint %i2us
450%209 = OpConvertUToF %float %208
451%210 = OpFAdd %float %207 %209
452%211 = OpLoad %uint %us2us
453%212 = OpConvertUToF %float %211
454%213 = OpFAdd %float %210 %212
455%214 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
456OpStore %214 %213
457%216 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
458%217 = OpLoad %float %216
459%218 = OpLoad %uint %ui2us
460%219 = OpConvertUToF %float %218
461%220 = OpLoad %uint %h2us
462%221 = OpConvertUToF %float %220
463%222 = OpFAdd %float %219 %221
464%223 = OpLoad %uint %f2us
465%224 = OpConvertUToF %float %223
466%225 = OpFAdd %float %222 %224
467%226 = OpLoad %uint %b2us
468%227 = OpConvertUToF %float %226
469%228 = OpFAdd %float %225 %227
470%229 = OpLoad %uint %s2ui
471%230 = OpConvertUToF %float %229
472%231 = OpFAdd %float %228 %230
473%232 = OpLoad %uint %i2ui
474%233 = OpConvertUToF %float %232
475%234 = OpFAdd %float %231 %233
476%235 = OpLoad %uint %us2ui
477%236 = OpConvertUToF %float %235
478%237 = OpFAdd %float %234 %236
479%238 = OpLoad %uint %ui2ui
480%239 = OpConvertUToF %float %238
481%240 = OpFAdd %float %237 %239
482%241 = OpLoad %uint %h2ui
483%242 = OpConvertUToF %float %241
484%243 = OpFAdd %float %240 %242
485%244 = OpLoad %uint %f2ui
486%245 = OpConvertUToF %float %244
487%246 = OpFAdd %float %243 %245
488%247 = OpLoad %uint %b2ui
489%248 = OpConvertUToF %float %247
490%249 = OpFAdd %float %246 %248
491%250 = OpLoad %float %s2f
492%251 = OpFAdd %float %249 %250
493%252 = OpLoad %float %i2f
494%253 = OpFAdd %float %251 %252
495%254 = OpLoad %float %us2f
496%255 = OpFAdd %float %253 %254
497%256 = OpLoad %float %ui2f
498%257 = OpFAdd %float %255 %256
499%258 = OpLoad %float %h2f
500%259 = OpFAdd %float %257 %258
501%260 = OpLoad %float %f2f
502%261 = OpFAdd %float %259 %260
503%262 = OpLoad %float %b2f
504%263 = OpFAdd %float %261 %262
505%264 = OpFAdd %float %217 %263
506OpStore %216 %264
507OpReturn
508OpFunctionEnd
509