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 %20 RelaxedPrecision
24OpDecorate %23 RelaxedPrecision
25OpDecorate %24 RelaxedPrecision
26OpDecorate %25 RelaxedPrecision
27OpDecorate %28 RelaxedPrecision
28OpDecorate %29 RelaxedPrecision
29OpDecorate %30 RelaxedPrecision
30%float = OpTypeFloat 32
31%v4float = OpTypeVector %float 4
32%_ptr_Output_v4float = OpTypePointer Output %v4float
33%sk_FragColor = OpVariable %_ptr_Output_v4float Output
34%bool = OpTypeBool
35%_ptr_Input_bool = OpTypePointer Input %bool
36%sk_Clockwise = OpVariable %_ptr_Input_bool Input
37%_UniformBuffer = OpTypeStruct %v4float %v4float
38%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
39%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
40%void = OpTypeVoid
41%14 = OpTypeFunction %void
42%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
43%int = OpTypeInt 32 1
44%int_0 = OpConstant %int 0
45%float_1 = OpConstant %float 1
46%int_1 = OpConstant %int 1
47%main = OpFunction %void None %14
48%15 = OpLabel
49%16 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
50%20 = OpLoad %v4float %16
51%22 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
52%23 = OpLoad %v4float %22
53%24 = OpCompositeConstruct %v4float %float_1 %float_1 %float_1 %float_1
54%25 = OpFSub %v4float %24 %23
55%26 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
56%28 = OpLoad %v4float %26
57%29 = OpFMul %v4float %25 %28
58%30 = OpFAdd %v4float %20 %29
59OpStore %sk_FragColor %30
60OpReturn
61OpFunctionEnd
62