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_ciOpMemberName %_UniformBuffer 1 "colorRed"
11cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 2 "testMatrix2x2"
12cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 3 "testMatrix3x3"
13cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v"
14cb93a386Sopenharmony_ciOpName %main "main"
15cb93a386Sopenharmony_ciOpName %_0_ok "_0_ok"
16cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
17cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
18cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
19cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
20cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0
21cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
22cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 Offset 16
23cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
24cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 2 Offset 32
25cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 2 ColMajor
26cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 2 MatrixStride 16
27cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 2 RelaxedPrecision
28cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 3 Offset 64
29cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 3 ColMajor
30cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 3 MatrixStride 16
31cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 3 RelaxedPrecision
32cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block
33cb93a386Sopenharmony_ciOpDecorate %10 Binding 0
34cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0
35cb93a386Sopenharmony_ciOpDecorate %33 RelaxedPrecision
36cb93a386Sopenharmony_ciOpDecorate %40 RelaxedPrecision
37cb93a386Sopenharmony_ciOpDecorate %45 RelaxedPrecision
38cb93a386Sopenharmony_ciOpDecorate %46 RelaxedPrecision
39cb93a386Sopenharmony_ciOpDecorate %47 RelaxedPrecision
40cb93a386Sopenharmony_ciOpDecorate %59 RelaxedPrecision
41cb93a386Sopenharmony_ciOpDecorate %65 RelaxedPrecision
42cb93a386Sopenharmony_ciOpDecorate %71 RelaxedPrecision
43cb93a386Sopenharmony_ciOpDecorate %72 RelaxedPrecision
44cb93a386Sopenharmony_ciOpDecorate %73 RelaxedPrecision
45cb93a386Sopenharmony_ciOpDecorate %74 RelaxedPrecision
46cb93a386Sopenharmony_ciOpDecorate %91 RelaxedPrecision
47cb93a386Sopenharmony_ciOpDecorate %95 RelaxedPrecision
48cb93a386Sopenharmony_ciOpDecorate %97 RelaxedPrecision
49cb93a386Sopenharmony_ciOpDecorate %98 RelaxedPrecision
50cb93a386Sopenharmony_ciOpDecorate %99 RelaxedPrecision
51cb93a386Sopenharmony_ciOpDecorate %110 RelaxedPrecision
52cb93a386Sopenharmony_ciOpDecorate %114 RelaxedPrecision
53cb93a386Sopenharmony_ciOpDecorate %115 RelaxedPrecision
54cb93a386Sopenharmony_ciOpDecorate %116 RelaxedPrecision
55cb93a386Sopenharmony_ciOpDecorate %117 RelaxedPrecision
56cb93a386Sopenharmony_ciOpDecorate %118 RelaxedPrecision
57cb93a386Sopenharmony_ciOpDecorate %134 RelaxedPrecision
58cb93a386Sopenharmony_ciOpDecorate %143 RelaxedPrecision
59cb93a386Sopenharmony_ciOpDecorate %146 RelaxedPrecision
60cb93a386Sopenharmony_ciOpDecorate %147 RelaxedPrecision
61cb93a386Sopenharmony_ci%float = OpTypeFloat 32
62cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
63cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
64cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
65cb93a386Sopenharmony_ci%bool = OpTypeBool
66cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
67cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
68cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
69cb93a386Sopenharmony_ci%mat2v2float = OpTypeMatrix %v2float 2
70cb93a386Sopenharmony_ci%v3float = OpTypeVector %float 3
71cb93a386Sopenharmony_ci%mat3v3float = OpTypeMatrix %v3float 3
72cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float %v4float %mat2v2float %mat3v3float
73cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
74cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
75cb93a386Sopenharmony_ci%void = OpTypeVoid
76cb93a386Sopenharmony_ci%19 = OpTypeFunction %void
77cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
78cb93a386Sopenharmony_ci%22 = OpConstantComposite %v2float %float_0 %float_0
79cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
80cb93a386Sopenharmony_ci%26 = OpTypeFunction %v4float %_ptr_Function_v2float
81cb93a386Sopenharmony_ci%_ptr_Function_bool = OpTypePointer Function %bool
82cb93a386Sopenharmony_ci%true = OpConstantTrue %bool
83cb93a386Sopenharmony_ci%false = OpConstantFalse %bool
84cb93a386Sopenharmony_ci%_ptr_Uniform_mat2v2float = OpTypePointer Uniform %mat2v2float
85cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
86cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2
87cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1
88cb93a386Sopenharmony_ci%float_2 = OpConstant %float 2
89cb93a386Sopenharmony_ci%float_3 = OpConstant %float 3
90cb93a386Sopenharmony_ci%float_4 = OpConstant %float 4
91cb93a386Sopenharmony_ci%v2bool = OpTypeVector %bool 2
92cb93a386Sopenharmony_ci%_ptr_Uniform_mat3v3float = OpTypePointer Uniform %mat3v3float
93cb93a386Sopenharmony_ci%int_3 = OpConstant %int 3
94cb93a386Sopenharmony_ci%float_5 = OpConstant %float 5
95cb93a386Sopenharmony_ci%float_6 = OpConstant %float 6
96cb93a386Sopenharmony_ci%float_7 = OpConstant %float 7
97cb93a386Sopenharmony_ci%float_8 = OpConstant %float 8
98cb93a386Sopenharmony_ci%float_9 = OpConstant %float 9
99cb93a386Sopenharmony_ci%v3bool = OpTypeVector %bool 3
100cb93a386Sopenharmony_ci%float_100 = OpConstant %float 100
101cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float
102cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
103cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
104cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1
105cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %19
106cb93a386Sopenharmony_ci%20 = OpLabel
107cb93a386Sopenharmony_ci%23 = OpVariable %_ptr_Function_v2float Function
108cb93a386Sopenharmony_ciOpStore %23 %22
109cb93a386Sopenharmony_ci%25 = OpFunctionCall %v4float %main %23
110cb93a386Sopenharmony_ciOpStore %sk_FragColor %25
111cb93a386Sopenharmony_ciOpReturn
112cb93a386Sopenharmony_ciOpFunctionEnd
113cb93a386Sopenharmony_ci%main = OpFunction %v4float None %26
114cb93a386Sopenharmony_ci%27 = OpFunctionParameter %_ptr_Function_v2float
115cb93a386Sopenharmony_ci%28 = OpLabel
116cb93a386Sopenharmony_ci%_0_ok = OpVariable %_ptr_Function_bool Function
117cb93a386Sopenharmony_ci%135 = OpVariable %_ptr_Function_v4float Function
118cb93a386Sopenharmony_ciOpStore %_0_ok %true
119cb93a386Sopenharmony_ci%33 = OpLoad %bool %_0_ok
120cb93a386Sopenharmony_ciOpSelectionMerge %35 None
121cb93a386Sopenharmony_ciOpBranchConditional %33 %34 %35
122cb93a386Sopenharmony_ci%34 = OpLabel
123cb93a386Sopenharmony_ci%36 = OpAccessChain %_ptr_Uniform_mat2v2float %10 %int_2
124cb93a386Sopenharmony_ci%40 = OpLoad %mat2v2float %36
125cb93a386Sopenharmony_ci%45 = OpCompositeConstruct %v2float %float_1 %float_2
126cb93a386Sopenharmony_ci%46 = OpCompositeConstruct %v2float %float_3 %float_4
127cb93a386Sopenharmony_ci%47 = OpCompositeConstruct %mat2v2float %45 %46
128cb93a386Sopenharmony_ci%49 = OpCompositeExtract %v2float %40 0
129cb93a386Sopenharmony_ci%50 = OpCompositeExtract %v2float %47 0
130cb93a386Sopenharmony_ci%51 = OpFOrdEqual %v2bool %49 %50
131cb93a386Sopenharmony_ci%52 = OpAll %bool %51
132cb93a386Sopenharmony_ci%53 = OpCompositeExtract %v2float %40 1
133cb93a386Sopenharmony_ci%54 = OpCompositeExtract %v2float %47 1
134cb93a386Sopenharmony_ci%55 = OpFOrdEqual %v2bool %53 %54
135cb93a386Sopenharmony_ci%56 = OpAll %bool %55
136cb93a386Sopenharmony_ci%57 = OpLogicalAnd %bool %52 %56
137cb93a386Sopenharmony_ciOpBranch %35
138cb93a386Sopenharmony_ci%35 = OpLabel
139cb93a386Sopenharmony_ci%58 = OpPhi %bool %false %28 %57 %34
140cb93a386Sopenharmony_ciOpStore %_0_ok %58
141cb93a386Sopenharmony_ci%59 = OpLoad %bool %_0_ok
142cb93a386Sopenharmony_ciOpSelectionMerge %61 None
143cb93a386Sopenharmony_ciOpBranchConditional %59 %60 %61
144cb93a386Sopenharmony_ci%60 = OpLabel
145cb93a386Sopenharmony_ci%62 = OpAccessChain %_ptr_Uniform_mat3v3float %10 %int_3
146cb93a386Sopenharmony_ci%65 = OpLoad %mat3v3float %62
147cb93a386Sopenharmony_ci%71 = OpCompositeConstruct %v3float %float_1 %float_2 %float_3
148cb93a386Sopenharmony_ci%72 = OpCompositeConstruct %v3float %float_4 %float_5 %float_6
149cb93a386Sopenharmony_ci%73 = OpCompositeConstruct %v3float %float_7 %float_8 %float_9
150cb93a386Sopenharmony_ci%74 = OpCompositeConstruct %mat3v3float %71 %72 %73
151cb93a386Sopenharmony_ci%76 = OpCompositeExtract %v3float %65 0
152cb93a386Sopenharmony_ci%77 = OpCompositeExtract %v3float %74 0
153cb93a386Sopenharmony_ci%78 = OpFOrdEqual %v3bool %76 %77
154cb93a386Sopenharmony_ci%79 = OpAll %bool %78
155cb93a386Sopenharmony_ci%80 = OpCompositeExtract %v3float %65 1
156cb93a386Sopenharmony_ci%81 = OpCompositeExtract %v3float %74 1
157cb93a386Sopenharmony_ci%82 = OpFOrdEqual %v3bool %80 %81
158cb93a386Sopenharmony_ci%83 = OpAll %bool %82
159cb93a386Sopenharmony_ci%84 = OpLogicalAnd %bool %79 %83
160cb93a386Sopenharmony_ci%85 = OpCompositeExtract %v3float %65 2
161cb93a386Sopenharmony_ci%86 = OpCompositeExtract %v3float %74 2
162cb93a386Sopenharmony_ci%87 = OpFOrdEqual %v3bool %85 %86
163cb93a386Sopenharmony_ci%88 = OpAll %bool %87
164cb93a386Sopenharmony_ci%89 = OpLogicalAnd %bool %84 %88
165cb93a386Sopenharmony_ciOpBranch %61
166cb93a386Sopenharmony_ci%61 = OpLabel
167cb93a386Sopenharmony_ci%90 = OpPhi %bool %false %35 %89 %60
168cb93a386Sopenharmony_ciOpStore %_0_ok %90
169cb93a386Sopenharmony_ci%91 = OpLoad %bool %_0_ok
170cb93a386Sopenharmony_ciOpSelectionMerge %93 None
171cb93a386Sopenharmony_ciOpBranchConditional %91 %92 %93
172cb93a386Sopenharmony_ci%92 = OpLabel
173cb93a386Sopenharmony_ci%94 = OpAccessChain %_ptr_Uniform_mat2v2float %10 %int_2
174cb93a386Sopenharmony_ci%95 = OpLoad %mat2v2float %94
175cb93a386Sopenharmony_ci%98 = OpCompositeConstruct %v2float %float_100 %float_0
176cb93a386Sopenharmony_ci%99 = OpCompositeConstruct %v2float %float_0 %float_100
177cb93a386Sopenharmony_ci%97 = OpCompositeConstruct %mat2v2float %98 %99
178cb93a386Sopenharmony_ci%100 = OpCompositeExtract %v2float %95 0
179cb93a386Sopenharmony_ci%101 = OpCompositeExtract %v2float %97 0
180cb93a386Sopenharmony_ci%102 = OpFOrdNotEqual %v2bool %100 %101
181cb93a386Sopenharmony_ci%103 = OpAny %bool %102
182cb93a386Sopenharmony_ci%104 = OpCompositeExtract %v2float %95 1
183cb93a386Sopenharmony_ci%105 = OpCompositeExtract %v2float %97 1
184cb93a386Sopenharmony_ci%106 = OpFOrdNotEqual %v2bool %104 %105
185cb93a386Sopenharmony_ci%107 = OpAny %bool %106
186cb93a386Sopenharmony_ci%108 = OpLogicalOr %bool %103 %107
187cb93a386Sopenharmony_ciOpBranch %93
188cb93a386Sopenharmony_ci%93 = OpLabel
189cb93a386Sopenharmony_ci%109 = OpPhi %bool %false %61 %108 %92
190cb93a386Sopenharmony_ciOpStore %_0_ok %109
191cb93a386Sopenharmony_ci%110 = OpLoad %bool %_0_ok
192cb93a386Sopenharmony_ciOpSelectionMerge %112 None
193cb93a386Sopenharmony_ciOpBranchConditional %110 %111 %112
194cb93a386Sopenharmony_ci%111 = OpLabel
195cb93a386Sopenharmony_ci%113 = OpAccessChain %_ptr_Uniform_mat3v3float %10 %int_3
196cb93a386Sopenharmony_ci%114 = OpLoad %mat3v3float %113
197cb93a386Sopenharmony_ci%115 = OpCompositeConstruct %v3float %float_9 %float_8 %float_7
198cb93a386Sopenharmony_ci%116 = OpCompositeConstruct %v3float %float_6 %float_5 %float_4
199cb93a386Sopenharmony_ci%117 = OpCompositeConstruct %v3float %float_3 %float_2 %float_1
200cb93a386Sopenharmony_ci%118 = OpCompositeConstruct %mat3v3float %115 %116 %117
201cb93a386Sopenharmony_ci%119 = OpCompositeExtract %v3float %114 0
202cb93a386Sopenharmony_ci%120 = OpCompositeExtract %v3float %118 0
203cb93a386Sopenharmony_ci%121 = OpFOrdNotEqual %v3bool %119 %120
204cb93a386Sopenharmony_ci%122 = OpAny %bool %121
205cb93a386Sopenharmony_ci%123 = OpCompositeExtract %v3float %114 1
206cb93a386Sopenharmony_ci%124 = OpCompositeExtract %v3float %118 1
207cb93a386Sopenharmony_ci%125 = OpFOrdNotEqual %v3bool %123 %124
208cb93a386Sopenharmony_ci%126 = OpAny %bool %125
209cb93a386Sopenharmony_ci%127 = OpLogicalOr %bool %122 %126
210cb93a386Sopenharmony_ci%128 = OpCompositeExtract %v3float %114 2
211cb93a386Sopenharmony_ci%129 = OpCompositeExtract %v3float %118 2
212cb93a386Sopenharmony_ci%130 = OpFOrdNotEqual %v3bool %128 %129
213cb93a386Sopenharmony_ci%131 = OpAny %bool %130
214cb93a386Sopenharmony_ci%132 = OpLogicalOr %bool %127 %131
215cb93a386Sopenharmony_ciOpBranch %112
216cb93a386Sopenharmony_ci%112 = OpLabel
217cb93a386Sopenharmony_ci%133 = OpPhi %bool %false %93 %132 %111
218cb93a386Sopenharmony_ciOpStore %_0_ok %133
219cb93a386Sopenharmony_ci%134 = OpLoad %bool %_0_ok
220cb93a386Sopenharmony_ciOpSelectionMerge %139 None
221cb93a386Sopenharmony_ciOpBranchConditional %134 %137 %138
222cb93a386Sopenharmony_ci%137 = OpLabel
223cb93a386Sopenharmony_ci%140 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
224cb93a386Sopenharmony_ci%143 = OpLoad %v4float %140
225cb93a386Sopenharmony_ciOpStore %135 %143
226cb93a386Sopenharmony_ciOpBranch %139
227cb93a386Sopenharmony_ci%138 = OpLabel
228cb93a386Sopenharmony_ci%144 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
229cb93a386Sopenharmony_ci%146 = OpLoad %v4float %144
230cb93a386Sopenharmony_ciOpStore %135 %146
231cb93a386Sopenharmony_ciOpBranch %139
232cb93a386Sopenharmony_ci%139 = OpLabel
233cb93a386Sopenharmony_ci%147 = OpLoad %v4float %135
234cb93a386Sopenharmony_ciOpReturnValue %147
235cb93a386Sopenharmony_ciOpFunctionEnd
236