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 %b "b"
13cb93a386Sopenharmony_ciOpName %b4 "b4"
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 %37 RelaxedPrecision
25cb93a386Sopenharmony_ciOpDecorate %39 RelaxedPrecision
26cb93a386Sopenharmony_ciOpDecorate %47 RelaxedPrecision
27cb93a386Sopenharmony_ciOpDecorate %49 RelaxedPrecision
28cb93a386Sopenharmony_ciOpDecorate %50 RelaxedPrecision
29cb93a386Sopenharmony_ciOpDecorate %52 RelaxedPrecision
30cb93a386Sopenharmony_ciOpDecorate %54 RelaxedPrecision
31cb93a386Sopenharmony_ciOpDecorate %57 RelaxedPrecision
32cb93a386Sopenharmony_ciOpDecorate %59 RelaxedPrecision
33cb93a386Sopenharmony_ciOpDecorate %61 RelaxedPrecision
34cb93a386Sopenharmony_ciOpDecorate %62 RelaxedPrecision
35cb93a386Sopenharmony_ci%float = OpTypeFloat 32
36cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
37cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
38cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
39cb93a386Sopenharmony_ci%bool = OpTypeBool
40cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
41cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
42cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %float
43cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
44cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
45cb93a386Sopenharmony_ci%void = OpTypeVoid
46cb93a386Sopenharmony_ci%15 = OpTypeFunction %void
47cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
48cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
49cb93a386Sopenharmony_ci%19 = OpConstantComposite %v2float %float_0 %float_0
50cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
51cb93a386Sopenharmony_ci%23 = OpTypeFunction %v4float %_ptr_Function_v2float
52cb93a386Sopenharmony_ci%_ptr_Function_bool = OpTypePointer Function %bool
53cb93a386Sopenharmony_ci%_ptr_Uniform_float = OpTypePointer Uniform %float
54cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
55cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
56cb93a386Sopenharmony_ci%v4bool = OpTypeVector %bool 4
57cb93a386Sopenharmony_ci%_ptr_Function_v4bool = OpTypePointer Function %v4bool
58cb93a386Sopenharmony_ci%v2bool = OpTypeVector %bool 2
59cb93a386Sopenharmony_ci%false = OpConstantFalse %bool
60cb93a386Sopenharmony_ci%true = OpConstantTrue %bool
61cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1
62cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %15
63cb93a386Sopenharmony_ci%16 = OpLabel
64cb93a386Sopenharmony_ci%20 = OpVariable %_ptr_Function_v2float Function
65cb93a386Sopenharmony_ciOpStore %20 %19
66cb93a386Sopenharmony_ci%22 = OpFunctionCall %v4float %main %20
67cb93a386Sopenharmony_ciOpStore %sk_FragColor %22
68cb93a386Sopenharmony_ciOpReturn
69cb93a386Sopenharmony_ciOpFunctionEnd
70cb93a386Sopenharmony_ci%main = OpFunction %v4float None %23
71cb93a386Sopenharmony_ci%24 = OpFunctionParameter %_ptr_Function_v2float
72cb93a386Sopenharmony_ci%25 = OpLabel
73cb93a386Sopenharmony_ci%b = OpVariable %_ptr_Function_bool Function
74cb93a386Sopenharmony_ci%b4 = OpVariable %_ptr_Function_v4bool Function
75cb93a386Sopenharmony_ci%28 = OpAccessChain %_ptr_Uniform_float %10 %int_0
76cb93a386Sopenharmony_ci%32 = OpLoad %float %28
77cb93a386Sopenharmony_ci%33 = OpFUnordNotEqual %bool %32 %float_0
78cb93a386Sopenharmony_ciOpStore %b %33
79cb93a386Sopenharmony_ci%37 = OpLoad %bool %b
80cb93a386Sopenharmony_ci%38 = OpCompositeConstruct %v4bool %37 %37 %37 %37
81cb93a386Sopenharmony_ciOpStore %b4 %38
82cb93a386Sopenharmony_ci%39 = OpLoad %bool %b
83cb93a386Sopenharmony_ci%40 = OpCompositeConstruct %v2bool %39 %39
84cb93a386Sopenharmony_ci%42 = OpCompositeExtract %bool %40 0
85cb93a386Sopenharmony_ci%43 = OpCompositeExtract %bool %40 1
86cb93a386Sopenharmony_ci%46 = OpCompositeConstruct %v4bool %42 %43 %false %true
87cb93a386Sopenharmony_ciOpStore %b4 %46
88cb93a386Sopenharmony_ci%47 = OpLoad %bool %b
89cb93a386Sopenharmony_ci%48 = OpCompositeConstruct %v4bool %false %47 %true %false
90cb93a386Sopenharmony_ciOpStore %b4 %48
91cb93a386Sopenharmony_ci%49 = OpLoad %bool %b
92cb93a386Sopenharmony_ci%50 = OpLoad %bool %b
93cb93a386Sopenharmony_ci%51 = OpCompositeConstruct %v4bool %false %49 %false %50
94cb93a386Sopenharmony_ciOpStore %b4 %51
95cb93a386Sopenharmony_ci%52 = OpLoad %v4bool %b4
96cb93a386Sopenharmony_ci%53 = OpCompositeExtract %bool %52 0
97cb93a386Sopenharmony_ci%54 = OpSelect %float %53 %float_1 %float_0
98cb93a386Sopenharmony_ci%56 = OpCompositeExtract %bool %52 1
99cb93a386Sopenharmony_ci%57 = OpSelect %float %56 %float_1 %float_0
100cb93a386Sopenharmony_ci%58 = OpCompositeExtract %bool %52 2
101cb93a386Sopenharmony_ci%59 = OpSelect %float %58 %float_1 %float_0
102cb93a386Sopenharmony_ci%60 = OpCompositeExtract %bool %52 3
103cb93a386Sopenharmony_ci%61 = OpSelect %float %60 %float_1 %float_0
104cb93a386Sopenharmony_ci%62 = OpCompositeConstruct %v4float %54 %57 %59 %61
105cb93a386Sopenharmony_ciOpReturnValue %62
106cb93a386Sopenharmony_ciOpFunctionEnd
107