• 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 "src"
10OpMemberName %_UniformBuffer 1 "dst"
11OpName %_blend_set_color_luminance_h3h3hh3 "_blend_set_color_luminance_h3h3hh3"
12OpName %lum "lum"
13OpName %result "result"
14OpName %minComp "minComp"
15OpName %maxComp "maxComp"
16OpName %_blend_set_color_saturation_helper_h3h3h "_blend_set_color_saturation_helper_h3h3h"
17OpName %_blend_set_color_saturation_h3h3h3 "_blend_set_color_saturation_h3h3h3"
18OpName %sat "sat"
19OpName %main "main"
20OpName %_0_alpha "_0_alpha"
21OpName %_1_sda "_1_sda"
22OpName %_2_dsa "_2_dsa"
23OpDecorate %sk_FragColor RelaxedPrecision
24OpDecorate %sk_FragColor Location 0
25OpDecorate %sk_FragColor Index 0
26OpDecorate %sk_Clockwise BuiltIn FrontFacing
27OpMemberDecorate %_UniformBuffer 0 Offset 0
28OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
29OpMemberDecorate %_UniformBuffer 1 Offset 16
30OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
31OpDecorate %_UniformBuffer Block
32OpDecorate %13 Binding 0
33OpDecorate %13 DescriptorSet 0
34OpDecorate %lum RelaxedPrecision
35OpDecorate %25 RelaxedPrecision
36OpDecorate %29 RelaxedPrecision
37OpDecorate %30 RelaxedPrecision
38OpDecorate %result RelaxedPrecision
39OpDecorate %32 RelaxedPrecision
40OpDecorate %33 RelaxedPrecision
41OpDecorate %34 RelaxedPrecision
42OpDecorate %35 RelaxedPrecision
43OpDecorate %36 RelaxedPrecision
44OpDecorate %37 RelaxedPrecision
45OpDecorate %38 RelaxedPrecision
46OpDecorate %minComp RelaxedPrecision
47OpDecorate %42 RelaxedPrecision
48OpDecorate %43 RelaxedPrecision
49OpDecorate %44 RelaxedPrecision
50OpDecorate %45 RelaxedPrecision
51OpDecorate %46 RelaxedPrecision
52OpDecorate %47 RelaxedPrecision
53OpDecorate %maxComp RelaxedPrecision
54OpDecorate %51 RelaxedPrecision
55OpDecorate %52 RelaxedPrecision
56OpDecorate %53 RelaxedPrecision
57OpDecorate %54 RelaxedPrecision
58OpDecorate %55 RelaxedPrecision
59OpDecorate %56 RelaxedPrecision
60OpDecorate %58 RelaxedPrecision
61OpDecorate %63 RelaxedPrecision
62OpDecorate %64 RelaxedPrecision
63OpDecorate %69 RelaxedPrecision
64OpDecorate %70 RelaxedPrecision
65OpDecorate %71 RelaxedPrecision
66OpDecorate %72 RelaxedPrecision
67OpDecorate %73 RelaxedPrecision
68OpDecorate %74 RelaxedPrecision
69OpDecorate %75 RelaxedPrecision
70OpDecorate %76 RelaxedPrecision
71OpDecorate %77 RelaxedPrecision
72OpDecorate %78 RelaxedPrecision
73OpDecorate %79 RelaxedPrecision
74OpDecorate %80 RelaxedPrecision
75OpDecorate %81 RelaxedPrecision
76OpDecorate %82 RelaxedPrecision
77OpDecorate %83 RelaxedPrecision
78OpDecorate %87 RelaxedPrecision
79OpDecorate %88 RelaxedPrecision
80OpDecorate %94 RelaxedPrecision
81OpDecorate %95 RelaxedPrecision
82OpDecorate %96 RelaxedPrecision
83OpDecorate %97 RelaxedPrecision
84OpDecorate %98 RelaxedPrecision
85OpDecorate %99 RelaxedPrecision
86OpDecorate %100 RelaxedPrecision
87OpDecorate %101 RelaxedPrecision
88OpDecorate %102 RelaxedPrecision
89OpDecorate %103 RelaxedPrecision
90OpDecorate %104 RelaxedPrecision
91OpDecorate %105 RelaxedPrecision
92OpDecorate %107 RelaxedPrecision
93OpDecorate %108 RelaxedPrecision
94OpDecorate %109 RelaxedPrecision
95OpDecorate %110 RelaxedPrecision
96OpDecorate %111 RelaxedPrecision
97OpDecorate %116 RelaxedPrecision
98OpDecorate %117 RelaxedPrecision
99OpDecorate %118 RelaxedPrecision
100OpDecorate %119 RelaxedPrecision
101OpDecorate %124 RelaxedPrecision
102OpDecorate %125 RelaxedPrecision
103OpDecorate %126 RelaxedPrecision
104OpDecorate %127 RelaxedPrecision
105OpDecorate %128 RelaxedPrecision
106OpDecorate %129 RelaxedPrecision
107OpDecorate %130 RelaxedPrecision
108OpDecorate %131 RelaxedPrecision
109OpDecorate %132 RelaxedPrecision
110OpDecorate %133 RelaxedPrecision
111OpDecorate %134 RelaxedPrecision
112OpDecorate %135 RelaxedPrecision
113OpDecorate %136 RelaxedPrecision
114OpDecorate %137 RelaxedPrecision
115OpDecorate %138 RelaxedPrecision
116OpDecorate %139 RelaxedPrecision
117OpDecorate %sat RelaxedPrecision
118OpDecorate %147 RelaxedPrecision
119OpDecorate %148 RelaxedPrecision
120OpDecorate %149 RelaxedPrecision
121OpDecorate %150 RelaxedPrecision
122OpDecorate %151 RelaxedPrecision
123OpDecorate %152 RelaxedPrecision
124OpDecorate %155 RelaxedPrecision
125OpDecorate %156 RelaxedPrecision
126OpDecorate %157 RelaxedPrecision
127OpDecorate %158 RelaxedPrecision
128OpDecorate %159 RelaxedPrecision
129OpDecorate %160 RelaxedPrecision
130OpDecorate %161 RelaxedPrecision
131OpDecorate %162 RelaxedPrecision
132OpDecorate %163 RelaxedPrecision
133OpDecorate %164 RelaxedPrecision
134OpDecorate %165 RelaxedPrecision
135OpDecorate %170 RelaxedPrecision
136OpDecorate %171 RelaxedPrecision
137OpDecorate %172 RelaxedPrecision
138OpDecorate %173 RelaxedPrecision
139OpDecorate %178 RelaxedPrecision
140OpDecorate %180 RelaxedPrecision
141OpDecorate %183 RelaxedPrecision
142OpDecorate %184 RelaxedPrecision
143OpDecorate %185 RelaxedPrecision
144OpDecorate %186 RelaxedPrecision
145OpDecorate %191 RelaxedPrecision
146OpDecorate %192 RelaxedPrecision
147OpDecorate %194 RelaxedPrecision
148OpDecorate %197 RelaxedPrecision
149OpDecorate %198 RelaxedPrecision
150OpDecorate %199 RelaxedPrecision
151OpDecorate %201 RelaxedPrecision
152OpDecorate %204 RelaxedPrecision
153OpDecorate %205 RelaxedPrecision
154OpDecorate %206 RelaxedPrecision
155OpDecorate %207 RelaxedPrecision
156OpDecorate %208 RelaxedPrecision
157OpDecorate %213 RelaxedPrecision
158OpDecorate %214 RelaxedPrecision
159OpDecorate %216 RelaxedPrecision
160OpDecorate %219 RelaxedPrecision
161OpDecorate %220 RelaxedPrecision
162OpDecorate %221 RelaxedPrecision
163OpDecorate %222 RelaxedPrecision
164OpDecorate %223 RelaxedPrecision
165OpDecorate %228 RelaxedPrecision
166OpDecorate %229 RelaxedPrecision
167OpDecorate %231 RelaxedPrecision
168OpDecorate %234 RelaxedPrecision
169OpDecorate %235 RelaxedPrecision
170OpDecorate %236 RelaxedPrecision
171OpDecorate %238 RelaxedPrecision
172OpDecorate %241 RelaxedPrecision
173OpDecorate %_0_alpha RelaxedPrecision
174OpDecorate %250 RelaxedPrecision
175OpDecorate %251 RelaxedPrecision
176OpDecorate %254 RelaxedPrecision
177OpDecorate %255 RelaxedPrecision
178OpDecorate %256 RelaxedPrecision
179OpDecorate %_1_sda RelaxedPrecision
180OpDecorate %259 RelaxedPrecision
181OpDecorate %260 RelaxedPrecision
182OpDecorate %262 RelaxedPrecision
183OpDecorate %263 RelaxedPrecision
184OpDecorate %264 RelaxedPrecision
185OpDecorate %_2_dsa RelaxedPrecision
186OpDecorate %267 RelaxedPrecision
187OpDecorate %268 RelaxedPrecision
188OpDecorate %270 RelaxedPrecision
189OpDecorate %271 RelaxedPrecision
190OpDecorate %272 RelaxedPrecision
191OpDecorate %273 RelaxedPrecision
192OpDecorate %275 RelaxedPrecision
193OpDecorate %279 RelaxedPrecision
194OpDecorate %281 RelaxedPrecision
195OpDecorate %285 RelaxedPrecision
196OpDecorate %286 RelaxedPrecision
197OpDecorate %287 RelaxedPrecision
198OpDecorate %288 RelaxedPrecision
199OpDecorate %289 RelaxedPrecision
200OpDecorate %291 RelaxedPrecision
201OpDecorate %292 RelaxedPrecision
202OpDecorate %293 RelaxedPrecision
203OpDecorate %294 RelaxedPrecision
204OpDecorate %295 RelaxedPrecision
205OpDecorate %296 RelaxedPrecision
206OpDecorate %297 RelaxedPrecision
207OpDecorate %298 RelaxedPrecision
208OpDecorate %300 RelaxedPrecision
209OpDecorate %301 RelaxedPrecision
210OpDecorate %303 RelaxedPrecision
211OpDecorate %304 RelaxedPrecision
212OpDecorate %305 RelaxedPrecision
213OpDecorate %306 RelaxedPrecision
214OpDecorate %307 RelaxedPrecision
215OpDecorate %308 RelaxedPrecision
216%float = OpTypeFloat 32
217%v4float = OpTypeVector %float 4
218%_ptr_Output_v4float = OpTypePointer Output %v4float
219%sk_FragColor = OpVariable %_ptr_Output_v4float Output
220%bool = OpTypeBool
221%_ptr_Input_bool = OpTypePointer Input %bool
222%sk_Clockwise = OpVariable %_ptr_Input_bool Input
223%_UniformBuffer = OpTypeStruct %v4float %v4float
224%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
225%13 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
226%v3float = OpTypeVector %float 3
227%_ptr_Function_v3float = OpTypePointer Function %v3float
228%_ptr_Function_float = OpTypePointer Function %float
229%17 = OpTypeFunction %v3float %_ptr_Function_v3float %_ptr_Function_float %_ptr_Function_v3float
230%float_0_300000012 = OpConstant %float 0.300000012
231%float_0_589999974 = OpConstant %float 0.589999974
232%float_0_109999999 = OpConstant %float 0.109999999
233%29 = OpConstantComposite %v3float %float_0_300000012 %float_0_589999974 %float_0_109999999
234%false = OpConstantFalse %bool
235%float_0 = OpConstant %float 0
236%float_1 = OpConstant %float 1
237%112 = OpTypeFunction %v3float %_ptr_Function_v3float %_ptr_Function_float
238%139 = OpConstantComposite %v3float %float_0 %float_0 %float_0
239%140 = OpTypeFunction %v3float %_ptr_Function_v3float %_ptr_Function_v3float
240%void = OpTypeVoid
241%243 = OpTypeFunction %void
242%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
243%int = OpTypeInt 32 1
244%int_1 = OpConstant %int 1
245%int_0 = OpConstant %int 0
246%_blend_set_color_luminance_h3h3hh3 = OpFunction %v3float None %17
247%20 = OpFunctionParameter %_ptr_Function_v3float
248%21 = OpFunctionParameter %_ptr_Function_float
249%22 = OpFunctionParameter %_ptr_Function_v3float
250%23 = OpLabel
251%lum = OpVariable %_ptr_Function_float Function
252%result = OpVariable %_ptr_Function_v3float Function
253%minComp = OpVariable %_ptr_Function_float Function
254%maxComp = OpVariable %_ptr_Function_float Function
255%30 = OpLoad %v3float %22
256%25 = OpDot %float %29 %30
257OpStore %lum %25
258%32 = OpLoad %float %lum
259%34 = OpLoad %v3float %20
260%33 = OpDot %float %29 %34
261%35 = OpFSub %float %32 %33
262%36 = OpLoad %v3float %20
263%37 = OpCompositeConstruct %v3float %35 %35 %35
264%38 = OpFAdd %v3float %37 %36
265OpStore %result %38
266%42 = OpLoad %v3float %result
267%43 = OpCompositeExtract %float %42 0
268%44 = OpLoad %v3float %result
269%45 = OpCompositeExtract %float %44 1
270%41 = OpExtInst %float %1 FMin %43 %45
271%46 = OpLoad %v3float %result
272%47 = OpCompositeExtract %float %46 2
273%40 = OpExtInst %float %1 FMin %41 %47
274OpStore %minComp %40
275%51 = OpLoad %v3float %result
276%52 = OpCompositeExtract %float %51 0
277%53 = OpLoad %v3float %result
278%54 = OpCompositeExtract %float %53 1
279%50 = OpExtInst %float %1 FMax %52 %54
280%55 = OpLoad %v3float %result
281%56 = OpCompositeExtract %float %55 2
282%49 = OpExtInst %float %1 FMax %50 %56
283OpStore %maxComp %49
284%58 = OpLoad %float %minComp
285%60 = OpFOrdLessThan %bool %58 %float_0
286OpSelectionMerge %62 None
287OpBranchConditional %60 %61 %62
288%61 = OpLabel
289%63 = OpLoad %float %lum
290%64 = OpLoad %float %minComp
291%65 = OpFOrdNotEqual %bool %63 %64
292OpBranch %62
293%62 = OpLabel
294%66 = OpPhi %bool %false %23 %65 %61
295OpSelectionMerge %68 None
296OpBranchConditional %66 %67 %68
297%67 = OpLabel
298%69 = OpLoad %float %lum
299%70 = OpLoad %v3float %result
300%71 = OpLoad %float %lum
301%72 = OpCompositeConstruct %v3float %71 %71 %71
302%73 = OpFSub %v3float %70 %72
303%74 = OpLoad %float %lum
304%75 = OpLoad %float %lum
305%76 = OpLoad %float %minComp
306%77 = OpFSub %float %75 %76
307%78 = OpFDiv %float %74 %77
308%79 = OpVectorTimesScalar %v3float %73 %78
309%80 = OpCompositeConstruct %v3float %69 %69 %69
310%81 = OpFAdd %v3float %80 %79
311OpStore %result %81
312OpBranch %68
313%68 = OpLabel
314%82 = OpLoad %float %maxComp
315%83 = OpLoad %float %21
316%84 = OpFOrdGreaterThan %bool %82 %83
317OpSelectionMerge %86 None
318OpBranchConditional %84 %85 %86
319%85 = OpLabel
320%87 = OpLoad %float %maxComp
321%88 = OpLoad %float %lum
322%89 = OpFOrdNotEqual %bool %87 %88
323OpBranch %86
324%86 = OpLabel
325%90 = OpPhi %bool %false %68 %89 %85
326OpSelectionMerge %93 None
327OpBranchConditional %90 %91 %92
328%91 = OpLabel
329%94 = OpLoad %float %lum
330%95 = OpLoad %v3float %result
331%96 = OpLoad %float %lum
332%97 = OpCompositeConstruct %v3float %96 %96 %96
333%98 = OpFSub %v3float %95 %97
334%99 = OpLoad %float %21
335%100 = OpLoad %float %lum
336%101 = OpFSub %float %99 %100
337%102 = OpVectorTimesScalar %v3float %98 %101
338%103 = OpLoad %float %maxComp
339%104 = OpLoad %float %lum
340%105 = OpFSub %float %103 %104
341%107 = OpFDiv %float %float_1 %105
342%108 = OpVectorTimesScalar %v3float %102 %107
343%109 = OpCompositeConstruct %v3float %94 %94 %94
344%110 = OpFAdd %v3float %109 %108
345OpReturnValue %110
346%92 = OpLabel
347%111 = OpLoad %v3float %result
348OpReturnValue %111
349%93 = OpLabel
350OpUnreachable
351OpFunctionEnd
352%_blend_set_color_saturation_helper_h3h3h = OpFunction %v3float None %112
353%113 = OpFunctionParameter %_ptr_Function_v3float
354%114 = OpFunctionParameter %_ptr_Function_float
355%115 = OpLabel
356%116 = OpLoad %v3float %113
357%117 = OpCompositeExtract %float %116 0
358%118 = OpLoad %v3float %113
359%119 = OpCompositeExtract %float %118 2
360%120 = OpFOrdLessThan %bool %117 %119
361OpSelectionMerge %123 None
362OpBranchConditional %120 %121 %122
363%121 = OpLabel
364%124 = OpLoad %float %114
365%125 = OpLoad %v3float %113
366%126 = OpCompositeExtract %float %125 1
367%127 = OpLoad %v3float %113
368%128 = OpCompositeExtract %float %127 0
369%129 = OpFSub %float %126 %128
370%130 = OpFMul %float %124 %129
371%131 = OpLoad %v3float %113
372%132 = OpCompositeExtract %float %131 2
373%133 = OpLoad %v3float %113
374%134 = OpCompositeExtract %float %133 0
375%135 = OpFSub %float %132 %134
376%136 = OpFDiv %float %130 %135
377%137 = OpLoad %float %114
378%138 = OpCompositeConstruct %v3float %float_0 %136 %137
379OpReturnValue %138
380%122 = OpLabel
381OpReturnValue %139
382%123 = OpLabel
383OpUnreachable
384OpFunctionEnd
385%_blend_set_color_saturation_h3h3h3 = OpFunction %v3float None %140
386%141 = OpFunctionParameter %_ptr_Function_v3float
387%142 = OpFunctionParameter %_ptr_Function_v3float
388%143 = OpLabel
389%sat = OpVariable %_ptr_Function_float Function
390%179 = OpVariable %_ptr_Function_v3float Function
391%181 = OpVariable %_ptr_Function_float Function
392%193 = OpVariable %_ptr_Function_v3float Function
393%195 = OpVariable %_ptr_Function_float Function
394%200 = OpVariable %_ptr_Function_v3float Function
395%202 = OpVariable %_ptr_Function_float Function
396%215 = OpVariable %_ptr_Function_v3float Function
397%217 = OpVariable %_ptr_Function_float Function
398%230 = OpVariable %_ptr_Function_v3float Function
399%232 = OpVariable %_ptr_Function_float Function
400%237 = OpVariable %_ptr_Function_v3float Function
401%239 = OpVariable %_ptr_Function_float Function
402%147 = OpLoad %v3float %142
403%148 = OpCompositeExtract %float %147 0
404%149 = OpLoad %v3float %142
405%150 = OpCompositeExtract %float %149 1
406%146 = OpExtInst %float %1 FMax %148 %150
407%151 = OpLoad %v3float %142
408%152 = OpCompositeExtract %float %151 2
409%145 = OpExtInst %float %1 FMax %146 %152
410%155 = OpLoad %v3float %142
411%156 = OpCompositeExtract %float %155 0
412%157 = OpLoad %v3float %142
413%158 = OpCompositeExtract %float %157 1
414%154 = OpExtInst %float %1 FMin %156 %158
415%159 = OpLoad %v3float %142
416%160 = OpCompositeExtract %float %159 2
417%153 = OpExtInst %float %1 FMin %154 %160
418%161 = OpFSub %float %145 %153
419OpStore %sat %161
420%162 = OpLoad %v3float %141
421%163 = OpCompositeExtract %float %162 0
422%164 = OpLoad %v3float %141
423%165 = OpCompositeExtract %float %164 1
424%166 = OpFOrdLessThanEqual %bool %163 %165
425OpSelectionMerge %169 None
426OpBranchConditional %166 %167 %168
427%167 = OpLabel
428%170 = OpLoad %v3float %141
429%171 = OpCompositeExtract %float %170 1
430%172 = OpLoad %v3float %141
431%173 = OpCompositeExtract %float %172 2
432%174 = OpFOrdLessThanEqual %bool %171 %173
433OpSelectionMerge %177 None
434OpBranchConditional %174 %175 %176
435%175 = OpLabel
436%178 = OpLoad %v3float %141
437OpStore %179 %178
438%180 = OpLoad %float %sat
439OpStore %181 %180
440%182 = OpFunctionCall %v3float %_blend_set_color_saturation_helper_h3h3h %179 %181
441OpReturnValue %182
442%176 = OpLabel
443%183 = OpLoad %v3float %141
444%184 = OpCompositeExtract %float %183 0
445%185 = OpLoad %v3float %141
446%186 = OpCompositeExtract %float %185 2
447%187 = OpFOrdLessThanEqual %bool %184 %186
448OpSelectionMerge %190 None
449OpBranchConditional %187 %188 %189
450%188 = OpLabel
451%191 = OpLoad %v3float %141
452%192 = OpVectorShuffle %v3float %191 %191 0 2 1
453OpStore %193 %192
454%194 = OpLoad %float %sat
455OpStore %195 %194
456%196 = OpFunctionCall %v3float %_blend_set_color_saturation_helper_h3h3h %193 %195
457%197 = OpVectorShuffle %v3float %196 %196 0 2 1
458OpReturnValue %197
459%189 = OpLabel
460%198 = OpLoad %v3float %141
461%199 = OpVectorShuffle %v3float %198 %198 2 0 1
462OpStore %200 %199
463%201 = OpLoad %float %sat
464OpStore %202 %201
465%203 = OpFunctionCall %v3float %_blend_set_color_saturation_helper_h3h3h %200 %202
466%204 = OpVectorShuffle %v3float %203 %203 1 2 0
467OpReturnValue %204
468%190 = OpLabel
469OpBranch %177
470%177 = OpLabel
471OpBranch %169
472%168 = OpLabel
473%205 = OpLoad %v3float %141
474%206 = OpCompositeExtract %float %205 0
475%207 = OpLoad %v3float %141
476%208 = OpCompositeExtract %float %207 2
477%209 = OpFOrdLessThanEqual %bool %206 %208
478OpSelectionMerge %212 None
479OpBranchConditional %209 %210 %211
480%210 = OpLabel
481%213 = OpLoad %v3float %141
482%214 = OpVectorShuffle %v3float %213 %213 1 0 2
483OpStore %215 %214
484%216 = OpLoad %float %sat
485OpStore %217 %216
486%218 = OpFunctionCall %v3float %_blend_set_color_saturation_helper_h3h3h %215 %217
487%219 = OpVectorShuffle %v3float %218 %218 1 0 2
488OpReturnValue %219
489%211 = OpLabel
490%220 = OpLoad %v3float %141
491%221 = OpCompositeExtract %float %220 1
492%222 = OpLoad %v3float %141
493%223 = OpCompositeExtract %float %222 2
494%224 = OpFOrdLessThanEqual %bool %221 %223
495OpSelectionMerge %227 None
496OpBranchConditional %224 %225 %226
497%225 = OpLabel
498%228 = OpLoad %v3float %141
499%229 = OpVectorShuffle %v3float %228 %228 1 2 0
500OpStore %230 %229
501%231 = OpLoad %float %sat
502OpStore %232 %231
503%233 = OpFunctionCall %v3float %_blend_set_color_saturation_helper_h3h3h %230 %232
504%234 = OpVectorShuffle %v3float %233 %233 2 0 1
505OpReturnValue %234
506%226 = OpLabel
507%235 = OpLoad %v3float %141
508%236 = OpVectorShuffle %v3float %235 %235 2 1 0
509OpStore %237 %236
510%238 = OpLoad %float %sat
511OpStore %239 %238
512%240 = OpFunctionCall %v3float %_blend_set_color_saturation_helper_h3h3h %237 %239
513%241 = OpVectorShuffle %v3float %240 %240 2 1 0
514OpReturnValue %241
515%227 = OpLabel
516OpBranch %212
517%212 = OpLabel
518OpBranch %169
519%169 = OpLabel
520OpUnreachable
521OpFunctionEnd
522%main = OpFunction %void None %243
523%244 = OpLabel
524%_0_alpha = OpVariable %_ptr_Function_float Function
525%_1_sda = OpVariable %_ptr_Function_v3float Function
526%_2_dsa = OpVariable %_ptr_Function_v3float Function
527%274 = OpVariable %_ptr_Function_v3float Function
528%276 = OpVariable %_ptr_Function_v3float Function
529%278 = OpVariable %_ptr_Function_v3float Function
530%280 = OpVariable %_ptr_Function_float Function
531%282 = OpVariable %_ptr_Function_v3float Function
532%246 = OpAccessChain %_ptr_Uniform_v4float %13 %int_1
533%250 = OpLoad %v4float %246
534%251 = OpCompositeExtract %float %250 3
535%252 = OpAccessChain %_ptr_Uniform_v4float %13 %int_0
536%254 = OpLoad %v4float %252
537%255 = OpCompositeExtract %float %254 3
538%256 = OpFMul %float %251 %255
539OpStore %_0_alpha %256
540%258 = OpAccessChain %_ptr_Uniform_v4float %13 %int_0
541%259 = OpLoad %v4float %258
542%260 = OpVectorShuffle %v3float %259 %259 0 1 2
543%261 = OpAccessChain %_ptr_Uniform_v4float %13 %int_1
544%262 = OpLoad %v4float %261
545%263 = OpCompositeExtract %float %262 3
546%264 = OpVectorTimesScalar %v3float %260 %263
547OpStore %_1_sda %264
548%266 = OpAccessChain %_ptr_Uniform_v4float %13 %int_1
549%267 = OpLoad %v4float %266
550%268 = OpVectorShuffle %v3float %267 %267 0 1 2
551%269 = OpAccessChain %_ptr_Uniform_v4float %13 %int_0
552%270 = OpLoad %v4float %269
553%271 = OpCompositeExtract %float %270 3
554%272 = OpVectorTimesScalar %v3float %268 %271
555OpStore %_2_dsa %272
556%273 = OpLoad %v3float %_2_dsa
557OpStore %274 %273
558%275 = OpLoad %v3float %_1_sda
559OpStore %276 %275
560%277 = OpFunctionCall %v3float %_blend_set_color_saturation_h3h3h3 %274 %276
561OpStore %278 %277
562%279 = OpLoad %float %_0_alpha
563OpStore %280 %279
564%281 = OpLoad %v3float %_2_dsa
565OpStore %282 %281
566%283 = OpFunctionCall %v3float %_blend_set_color_luminance_h3h3hh3 %278 %280 %282
567%284 = OpAccessChain %_ptr_Uniform_v4float %13 %int_1
568%285 = OpLoad %v4float %284
569%286 = OpVectorShuffle %v3float %285 %285 0 1 2
570%287 = OpFAdd %v3float %283 %286
571%288 = OpLoad %v3float %_2_dsa
572%289 = OpFSub %v3float %287 %288
573%290 = OpAccessChain %_ptr_Uniform_v4float %13 %int_0
574%291 = OpLoad %v4float %290
575%292 = OpVectorShuffle %v3float %291 %291 0 1 2
576%293 = OpFAdd %v3float %289 %292
577%294 = OpLoad %v3float %_1_sda
578%295 = OpFSub %v3float %293 %294
579%296 = OpCompositeExtract %float %295 0
580%297 = OpCompositeExtract %float %295 1
581%298 = OpCompositeExtract %float %295 2
582%299 = OpAccessChain %_ptr_Uniform_v4float %13 %int_0
583%300 = OpLoad %v4float %299
584%301 = OpCompositeExtract %float %300 3
585%302 = OpAccessChain %_ptr_Uniform_v4float %13 %int_1
586%303 = OpLoad %v4float %302
587%304 = OpCompositeExtract %float %303 3
588%305 = OpFAdd %float %301 %304
589%306 = OpLoad %float %_0_alpha
590%307 = OpFSub %float %305 %306
591%308 = OpCompositeConstruct %v4float %296 %297 %298 %307
592OpStore %sk_FragColor %308
593OpReturn
594OpFunctionEnd
595