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 %rgb "rgb"
11cb93a386Sopenharmony_ciOpName %a "a"
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 %rgb RelaxedPrecision
17cb93a386Sopenharmony_ciOpDecorate %_arr_float_int_3 ArrayStride 16
18cb93a386Sopenharmony_ciOpDecorate %a RelaxedPrecision
19cb93a386Sopenharmony_ciOpDecorate %38 RelaxedPrecision
20cb93a386Sopenharmony_ciOpDecorate %40 RelaxedPrecision
21cb93a386Sopenharmony_ciOpDecorate %42 RelaxedPrecision
22cb93a386Sopenharmony_ciOpDecorate %43 RelaxedPrecision
23cb93a386Sopenharmony_ciOpDecorate %44 RelaxedPrecision
24cb93a386Sopenharmony_ci%float = OpTypeFloat 32
25cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
26cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
27cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
28cb93a386Sopenharmony_ci%bool = OpTypeBool
29cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
30cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
31cb93a386Sopenharmony_ci%void = OpTypeVoid
32cb93a386Sopenharmony_ci%12 = OpTypeFunction %void
33cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
34cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
35cb93a386Sopenharmony_ci%16 = OpConstantComposite %v2float %float_0 %float_0
36cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
37cb93a386Sopenharmony_ci%20 = OpTypeFunction %v4float %_ptr_Function_v2float
38cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
39cb93a386Sopenharmony_ci%int_3 = OpConstant %int 3
40cb93a386Sopenharmony_ci%_arr_float_int_3 = OpTypeArray %float %int_3
41cb93a386Sopenharmony_ci%_ptr_Function__arr_float_int_3 = OpTypePointer Function %_arr_float_int_3
42cb93a386Sopenharmony_ci%_ptr_Function_float = OpTypePointer Function %float
43cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
44cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1
45cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1
46cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2
47cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %12
48cb93a386Sopenharmony_ci%13 = OpLabel
49cb93a386Sopenharmony_ci%17 = OpVariable %_ptr_Function_v2float Function
50cb93a386Sopenharmony_ciOpStore %17 %16
51cb93a386Sopenharmony_ci%19 = OpFunctionCall %v4float %main %17
52cb93a386Sopenharmony_ciOpStore %sk_FragColor %19
53cb93a386Sopenharmony_ciOpReturn
54cb93a386Sopenharmony_ciOpFunctionEnd
55cb93a386Sopenharmony_ci%main = OpFunction %v4float None %20
56cb93a386Sopenharmony_ci%21 = OpFunctionParameter %_ptr_Function_v2float
57cb93a386Sopenharmony_ci%22 = OpLabel
58cb93a386Sopenharmony_ci%rgb = OpVariable %_ptr_Function__arr_float_int_3 Function
59cb93a386Sopenharmony_ci%a = OpVariable %_ptr_Function_float Function
60cb93a386Sopenharmony_ci%31 = OpAccessChain %_ptr_Function_float %rgb %int_0
61cb93a386Sopenharmony_ciOpStore %31 %float_0
62cb93a386Sopenharmony_ci%34 = OpAccessChain %_ptr_Function_float %rgb %int_1
63cb93a386Sopenharmony_ciOpStore %34 %float_1
64cb93a386Sopenharmony_ci%36 = OpAccessChain %_ptr_Function_float %rgb %int_2
65cb93a386Sopenharmony_ciOpStore %36 %float_0
66cb93a386Sopenharmony_ciOpStore %a %float_1
67cb93a386Sopenharmony_ci%37 = OpAccessChain %_ptr_Function_float %rgb %int_0
68cb93a386Sopenharmony_ci%38 = OpLoad %float %37
69cb93a386Sopenharmony_ci%39 = OpAccessChain %_ptr_Function_float %rgb %int_1
70cb93a386Sopenharmony_ci%40 = OpLoad %float %39
71cb93a386Sopenharmony_ci%41 = OpAccessChain %_ptr_Function_float %rgb %int_2
72cb93a386Sopenharmony_ci%42 = OpLoad %float %41
73cb93a386Sopenharmony_ci%43 = OpLoad %float %a
74cb93a386Sopenharmony_ci%44 = OpCompositeConstruct %v4float %38 %40 %42 %43
75cb93a386Sopenharmony_ciOpReturnValue %44
76cb93a386Sopenharmony_ciOpFunctionEnd
77