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 "unknownInput"
10cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v"
11cb93a386Sopenharmony_ciOpName %main "main"
12cb93a386Sopenharmony_ciOpName %i "i"
13cb93a386Sopenharmony_ciOpName %i4 "i4"
14cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
15cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
16cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
17cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
18cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0
19cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
20cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block
21cb93a386Sopenharmony_ciOpDecorate %10 Binding 0
22cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0
23cb93a386Sopenharmony_ciOpDecorate %32 RelaxedPrecision
24cb93a386Sopenharmony_ciOpDecorate %53 RelaxedPrecision
25cb93a386Sopenharmony_ciOpDecorate %55 RelaxedPrecision
26cb93a386Sopenharmony_ciOpDecorate %57 RelaxedPrecision
27cb93a386Sopenharmony_ciOpDecorate %59 RelaxedPrecision
28cb93a386Sopenharmony_ciOpDecorate %60 RelaxedPrecision
29cb93a386Sopenharmony_ci%float = OpTypeFloat 32
30cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
31cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
32cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
33cb93a386Sopenharmony_ci%bool = OpTypeBool
34cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
35cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
36cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %float
37cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
38cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
39cb93a386Sopenharmony_ci%void = OpTypeVoid
40cb93a386Sopenharmony_ci%15 = OpTypeFunction %void
41cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
42cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
43cb93a386Sopenharmony_ci%19 = OpConstantComposite %v2float %float_0 %float_0
44cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
45cb93a386Sopenharmony_ci%23 = OpTypeFunction %v4float %_ptr_Function_v2float
46cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
47cb93a386Sopenharmony_ci%_ptr_Function_int = OpTypePointer Function %int
48cb93a386Sopenharmony_ci%_ptr_Uniform_float = OpTypePointer Uniform %float
49cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
50cb93a386Sopenharmony_ci%v4int = OpTypeVector %int 4
51cb93a386Sopenharmony_ci%_ptr_Function_v4int = OpTypePointer Function %v4int
52cb93a386Sopenharmony_ci%v2int = OpTypeVector %int 2
53cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1
54cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %15
55cb93a386Sopenharmony_ci%16 = OpLabel
56cb93a386Sopenharmony_ci%20 = OpVariable %_ptr_Function_v2float Function
57cb93a386Sopenharmony_ciOpStore %20 %19
58cb93a386Sopenharmony_ci%22 = OpFunctionCall %v4float %main %20
59cb93a386Sopenharmony_ciOpStore %sk_FragColor %22
60cb93a386Sopenharmony_ciOpReturn
61cb93a386Sopenharmony_ciOpFunctionEnd
62cb93a386Sopenharmony_ci%main = OpFunction %v4float None %23
63cb93a386Sopenharmony_ci%24 = OpFunctionParameter %_ptr_Function_v2float
64cb93a386Sopenharmony_ci%25 = OpLabel
65cb93a386Sopenharmony_ci%i = OpVariable %_ptr_Function_int Function
66cb93a386Sopenharmony_ci%i4 = OpVariable %_ptr_Function_v4int Function
67cb93a386Sopenharmony_ci%29 = OpAccessChain %_ptr_Uniform_float %10 %int_0
68cb93a386Sopenharmony_ci%32 = OpLoad %float %29
69cb93a386Sopenharmony_ci%33 = OpConvertFToS %int %32
70cb93a386Sopenharmony_ciOpStore %i %33
71cb93a386Sopenharmony_ci%37 = OpLoad %int %i
72cb93a386Sopenharmony_ci%38 = OpCompositeConstruct %v4int %37 %37 %37 %37
73cb93a386Sopenharmony_ciOpStore %i4 %38
74cb93a386Sopenharmony_ci%39 = OpLoad %int %i
75cb93a386Sopenharmony_ci%40 = OpCompositeConstruct %v2int %39 %39
76cb93a386Sopenharmony_ci%42 = OpCompositeExtract %int %40 0
77cb93a386Sopenharmony_ci%43 = OpCompositeExtract %int %40 1
78cb93a386Sopenharmony_ci%45 = OpCompositeConstruct %v4int %42 %43 %int_0 %int_1
79cb93a386Sopenharmony_ciOpStore %i4 %45
80cb93a386Sopenharmony_ci%46 = OpLoad %int %i
81cb93a386Sopenharmony_ci%47 = OpCompositeConstruct %v4int %int_0 %46 %int_1 %int_0
82cb93a386Sopenharmony_ciOpStore %i4 %47
83cb93a386Sopenharmony_ci%48 = OpLoad %int %i
84cb93a386Sopenharmony_ci%49 = OpLoad %int %i
85cb93a386Sopenharmony_ci%50 = OpCompositeConstruct %v4int %int_0 %48 %int_0 %49
86cb93a386Sopenharmony_ciOpStore %i4 %50
87cb93a386Sopenharmony_ci%51 = OpLoad %v4int %i4
88cb93a386Sopenharmony_ci%52 = OpCompositeExtract %int %51 0
89cb93a386Sopenharmony_ci%53 = OpConvertSToF %float %52
90cb93a386Sopenharmony_ci%54 = OpCompositeExtract %int %51 1
91cb93a386Sopenharmony_ci%55 = OpConvertSToF %float %54
92cb93a386Sopenharmony_ci%56 = OpCompositeExtract %int %51 2
93cb93a386Sopenharmony_ci%57 = OpConvertSToF %float %56
94cb93a386Sopenharmony_ci%58 = OpCompositeExtract %int %51 3
95cb93a386Sopenharmony_ci%59 = OpConvertSToF %float %58
96cb93a386Sopenharmony_ci%60 = OpCompositeConstruct %v4float %53 %55 %57 %59
97cb93a386Sopenharmony_ciOpReturnValue %60
98cb93a386Sopenharmony_ciOpFunctionEnd
99