2 %1 = OpExtInstImport "GLSL.std.450"
3 OpMemoryModel Logical GLSL450
4 OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise
5 OpExecutionMode %_entrypoint_v OriginUpperLeft
6 OpName %sk_FragColor "sk_FragColor"
7 OpName %sk_Clockwise "sk_Clockwise"
8 OpName %_entrypoint_v "_entrypoint_v"
12 OpDecorate %sk_FragColor RelaxedPrecision
13 OpDecorate %sk_FragColor Location 0
14 OpDecorate %sk_FragColor Index 0
15 OpDecorate %sk_Clockwise BuiltIn FrontFacing
16 OpDecorate %r RelaxedPrecision
17 OpDecorate %g RelaxedPrecision
18 %float = OpTypeFloat 32
19 %v4float = OpTypeVector %float 4
20 %_ptr_Output_v4float = OpTypePointer Output %v4float
21 %sk_FragColor = OpVariable %_ptr_Output_v4float Output
23 %_ptr_Input_bool = OpTypePointer Input %bool
24 %sk_Clockwise = OpVariable %_ptr_Input_bool Input
26 %12 = OpTypeFunction %void
27 %float_0 = OpConstant %float 0
28 %v2float = OpTypeVector %float 2
29 %16 = OpConstantComposite %v2float %float_0 %float_0
30 %_ptr_Function_v2float = OpTypePointer Function %v2float
31 %20 = OpTypeFunction %v4float %_ptr_Function_v2float
32 %_ptr_Function_float = OpTypePointer Function %float
33 %float_1 = OpConstant %float 1
34 %27 = OpConstantComposite %v4float %float_0 %float_1 %float_0 %float_1
35 %_entrypoint_v = OpFunction %void None %12
37 %17 = OpVariable %_ptr_Function_v2float Function
39 %19 = OpFunctionCall %v4float %main %17
40 OpStore %sk_FragColor %19
43 %main = OpFunction %v4float None %20
44 %21 = OpFunctionParameter %_ptr_Function_v2float
46 %r = OpVariable %_ptr_Function_float Function
47 %g = OpVariable %_ptr_Function_float Function