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 %main "main"
12OpDecorate %sk_FragColor RelaxedPrecision
13OpDecorate %sk_FragColor Location 0
14OpDecorate %sk_FragColor Index 0
15OpDecorate %sk_Clockwise BuiltIn FrontFacing
16OpMemberDecorate %_UniformBuffer 0 Offset 0
17OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
18OpMemberDecorate %_UniformBuffer 1 Offset 16
19OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
20OpDecorate %_UniformBuffer Block
21OpDecorate %10 Binding 0
22OpDecorate %10 DescriptorSet 0
23OpDecorate %21 RelaxedPrecision
24OpDecorate %22 RelaxedPrecision
25OpDecorate %23 RelaxedPrecision
26OpDecorate %26 RelaxedPrecision
27OpDecorate %27 RelaxedPrecision
28%float = OpTypeFloat 32
29%v4float = OpTypeVector %float 4
30%_ptr_Output_v4float = OpTypePointer Output %v4float
31%sk_FragColor = OpVariable %_ptr_Output_v4float Output
32%bool = OpTypeBool
33%_ptr_Input_bool = OpTypePointer Input %bool
34%sk_Clockwise = OpVariable %_ptr_Input_bool Input
35%_UniformBuffer = OpTypeStruct %v4float %v4float
36%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
37%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
38%void = OpTypeVoid
39%14 = OpTypeFunction %void
40%float_1 = OpConstant %float 1
41%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
42%int = OpTypeInt 32 1
43%int_0 = OpConstant %int 0
44%int_1 = OpConstant %int 1
45%main = OpFunction %void None %14
46%15 = OpLabel
47%17 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
48%21 = OpLoad %v4float %17
49%22 = OpCompositeExtract %float %21 3
50%23 = OpFSub %float %float_1 %22
51%24 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
52%26 = OpLoad %v4float %24
53%27 = OpVectorTimesScalar %v4float %26 %23
54OpStore %sk_FragColor %27
55OpReturn
56OpFunctionEnd
57