1cb93a386Sopenharmony_ciOpCapability Shader
2cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450"
3cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450
4cb93a386Sopenharmony_ciOpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise
5cb93a386Sopenharmony_ciOpExecutionMode %_entrypoint_v OriginUpperLeft
6cb93a386Sopenharmony_ciOpName %sk_FragColor "sk_FragColor"
7cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise"
8cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v"
9cb93a386Sopenharmony_ciOpName %main "main"
10cb93a386Sopenharmony_ciOpName %r "r"
11cb93a386Sopenharmony_ciOpName %g "g"
12cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
13cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
14cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
15cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
16cb93a386Sopenharmony_ciOpDecorate %r RelaxedPrecision
17cb93a386Sopenharmony_ciOpDecorate %g RelaxedPrecision
18cb93a386Sopenharmony_ciOpDecorate %27 RelaxedPrecision
19cb93a386Sopenharmony_ciOpDecorate %28 RelaxedPrecision
20cb93a386Sopenharmony_ciOpDecorate %29 RelaxedPrecision
21cb93a386Sopenharmony_ci%float = OpTypeFloat 32
22cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
23cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
24cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
25cb93a386Sopenharmony_ci%bool = OpTypeBool
26cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
27cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
28cb93a386Sopenharmony_ci%void = OpTypeVoid
29cb93a386Sopenharmony_ci%12 = OpTypeFunction %void
30cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
31cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
32cb93a386Sopenharmony_ci%16 = OpConstantComposite %v2float %float_0 %float_0
33cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
34cb93a386Sopenharmony_ci%20 = OpTypeFunction %v4float %_ptr_Function_v2float
35cb93a386Sopenharmony_ci%_ptr_Function_float = OpTypePointer Function %float
36cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1
37cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %12
38cb93a386Sopenharmony_ci%13 = OpLabel
39cb93a386Sopenharmony_ci%17 = OpVariable %_ptr_Function_v2float Function
40cb93a386Sopenharmony_ciOpStore %17 %16
41cb93a386Sopenharmony_ci%19 = OpFunctionCall %v4float %main %17
42cb93a386Sopenharmony_ciOpStore %sk_FragColor %19
43cb93a386Sopenharmony_ciOpReturn
44cb93a386Sopenharmony_ciOpFunctionEnd
45cb93a386Sopenharmony_ci%main = OpFunction %v4float None %20
46cb93a386Sopenharmony_ci%21 = OpFunctionParameter %_ptr_Function_v2float
47cb93a386Sopenharmony_ci%22 = OpLabel
48cb93a386Sopenharmony_ci%r = OpVariable %_ptr_Function_float Function
49cb93a386Sopenharmony_ci%g = OpVariable %_ptr_Function_float Function
50cb93a386Sopenharmony_ciOpStore %r %float_0
51cb93a386Sopenharmony_ciOpStore %g %float_1
52cb93a386Sopenharmony_ci%27 = OpLoad %float %r
53cb93a386Sopenharmony_ci%28 = OpLoad %float %g
54cb93a386Sopenharmony_ci%29 = OpCompositeConstruct %v4float %27 %28 %float_0 %float_1
55cb93a386Sopenharmony_ciOpReturnValue %29
56cb93a386Sopenharmony_ciOpFunctionEnd
57