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 %_UniformBuffer "_UniformBuffer"
9cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 0 "colorGreen"
10cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v"
11cb93a386Sopenharmony_ciOpName %main "main"
12cb93a386Sopenharmony_ciOpName %x "x"
13cb93a386Sopenharmony_ciOpName %y "y"
14cb93a386Sopenharmony_ciOpName %z "z"
15cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
16cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
17cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
18cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
19cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0
20cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
21cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block
22cb93a386Sopenharmony_ciOpDecorate %10 Binding 0
23cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0
24cb93a386Sopenharmony_ciOpDecorate %_arr_int_int_1 ArrayStride 16
25cb93a386Sopenharmony_ciOpDecorate %40 RelaxedPrecision
26cb93a386Sopenharmony_ci%float = OpTypeFloat 32
27cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
28cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
29cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
30cb93a386Sopenharmony_ci%bool = OpTypeBool
31cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
32cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
33cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float
34cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
35cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
36cb93a386Sopenharmony_ci%void = OpTypeVoid
37cb93a386Sopenharmony_ci%15 = OpTypeFunction %void
38cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
39cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
40cb93a386Sopenharmony_ci%19 = OpConstantComposite %v2float %float_0 %float_0
41cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
42cb93a386Sopenharmony_ci%23 = OpTypeFunction %v4float %_ptr_Function_v2float
43cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
44cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1
45cb93a386Sopenharmony_ci%_arr_int_int_1 = OpTypeArray %int %int_1
46cb93a386Sopenharmony_ci%_ptr_Function__arr_int_int_1 = OpTypePointer Function %_arr_int_int_1
47cb93a386Sopenharmony_ci%_ptr_Function_int = OpTypePointer Function %int
48cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
49cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
50cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %15
51cb93a386Sopenharmony_ci%16 = OpLabel
52cb93a386Sopenharmony_ci%20 = OpVariable %_ptr_Function_v2float Function
53cb93a386Sopenharmony_ciOpStore %20 %19
54cb93a386Sopenharmony_ci%22 = OpFunctionCall %v4float %main %20
55cb93a386Sopenharmony_ciOpStore %sk_FragColor %22
56cb93a386Sopenharmony_ciOpReturn
57cb93a386Sopenharmony_ciOpFunctionEnd
58cb93a386Sopenharmony_ci%main = OpFunction %v4float None %23
59cb93a386Sopenharmony_ci%24 = OpFunctionParameter %_ptr_Function_v2float
60cb93a386Sopenharmony_ci%25 = OpLabel
61cb93a386Sopenharmony_ci%x = OpVariable %_ptr_Function__arr_int_int_1 Function
62cb93a386Sopenharmony_ci%y = OpVariable %_ptr_Function_int Function
63cb93a386Sopenharmony_ci%z = OpVariable %_ptr_Function_int Function
64cb93a386Sopenharmony_ciOpStore %y %int_0
65cb93a386Sopenharmony_ciOpStore %z %int_0
66cb93a386Sopenharmony_ci%35 = OpLoad %int %z
67cb93a386Sopenharmony_ciOpStore %y %35
68cb93a386Sopenharmony_ci%36 = OpAccessChain %_ptr_Function_int %x %35
69cb93a386Sopenharmony_ci%37 = OpLoad %int %36
70cb93a386Sopenharmony_ci%38 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
71cb93a386Sopenharmony_ci%40 = OpLoad %v4float %38
72cb93a386Sopenharmony_ciOpReturnValue %40
73cb93a386Sopenharmony_ciOpFunctionEnd
74