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