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 %globalVar "globalVar"
9cb93a386Sopenharmony_ciOpName %S "S"
10cb93a386Sopenharmony_ciOpMemberName %S 0 "f"
11cb93a386Sopenharmony_ciOpMemberName %S 1 "af"
12cb93a386Sopenharmony_ciOpMemberName %S 2 "h4"
13cb93a386Sopenharmony_ciOpMemberName %S 3 "ah4"
14cb93a386Sopenharmony_ciOpName %globalStruct "globalStruct"
15cb93a386Sopenharmony_ciOpName %_UniformBuffer "_UniformBuffer"
16cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 0 "colorGreen"
17cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v"
18cb93a386Sopenharmony_ciOpName %main "main"
19cb93a386Sopenharmony_ciOpName %i "i"
20cb93a386Sopenharmony_ciOpName %i4 "i4"
21cb93a386Sopenharmony_ciOpName %f3x3 "f3x3"
22cb93a386Sopenharmony_ciOpName %x "x"
23cb93a386Sopenharmony_ciOpName %ai "ai"
24cb93a386Sopenharmony_ciOpName %ai4 "ai4"
25cb93a386Sopenharmony_ciOpName %ah2x4 "ah2x4"
26cb93a386Sopenharmony_ciOpName %af4 "af4"
27cb93a386Sopenharmony_ciOpName %s "s"
28cb93a386Sopenharmony_ciOpName %l "l"
29cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
30cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
31cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
32cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
33cb93a386Sopenharmony_ciOpDecorate %globalVar RelaxedPrecision
34cb93a386Sopenharmony_ciOpDecorate %_arr_float_int_5 ArrayStride 16
35cb93a386Sopenharmony_ciOpDecorate %_arr_v4float_int_5 ArrayStride 16
36cb93a386Sopenharmony_ciOpMemberDecorate %S 0 Offset 0
37cb93a386Sopenharmony_ciOpMemberDecorate %S 1 Offset 16
38cb93a386Sopenharmony_ciOpMemberDecorate %S 2 Offset 96
39cb93a386Sopenharmony_ciOpMemberDecorate %S 2 RelaxedPrecision
40cb93a386Sopenharmony_ciOpMemberDecorate %S 3 Offset 112
41cb93a386Sopenharmony_ciOpMemberDecorate %S 3 RelaxedPrecision
42cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0
43cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
44cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block
45cb93a386Sopenharmony_ciOpDecorate %19 Binding 0
46cb93a386Sopenharmony_ciOpDecorate %19 DescriptorSet 0
47cb93a386Sopenharmony_ciOpDecorate %x RelaxedPrecision
48cb93a386Sopenharmony_ciOpDecorate %67 RelaxedPrecision
49cb93a386Sopenharmony_ciOpDecorate %68 RelaxedPrecision
50cb93a386Sopenharmony_ciOpDecorate %_arr_int_int_1 ArrayStride 16
51cb93a386Sopenharmony_ciOpDecorate %_arr_v4int_int_1 ArrayStride 16
52cb93a386Sopenharmony_ciOpDecorate %_arr_mat3v3float_int_1 ArrayStride 48
53cb93a386Sopenharmony_ciOpDecorate %80 RelaxedPrecision
54cb93a386Sopenharmony_ciOpDecorate %81 RelaxedPrecision
55cb93a386Sopenharmony_ciOpDecorate %82 RelaxedPrecision
56cb93a386Sopenharmony_ciOpDecorate %83 RelaxedPrecision
57cb93a386Sopenharmony_ciOpDecorate %_arr_v4float_int_1 ArrayStride 16
58cb93a386Sopenharmony_ciOpDecorate %98 RelaxedPrecision
59cb93a386Sopenharmony_ciOpDecorate %100 RelaxedPrecision
60cb93a386Sopenharmony_ciOpDecorate %101 RelaxedPrecision
61cb93a386Sopenharmony_ciOpDecorate %102 RelaxedPrecision
62cb93a386Sopenharmony_ciOpDecorate %104 RelaxedPrecision
63cb93a386Sopenharmony_ciOpDecorate %105 RelaxedPrecision
64cb93a386Sopenharmony_ciOpDecorate %106 RelaxedPrecision
65cb93a386Sopenharmony_ciOpDecorate %l RelaxedPrecision
66cb93a386Sopenharmony_ciOpDecorate %119 RelaxedPrecision
67cb93a386Sopenharmony_ciOpDecorate %125 RelaxedPrecision
68cb93a386Sopenharmony_ciOpDecorate %126 RelaxedPrecision
69cb93a386Sopenharmony_ciOpDecorate %133 RelaxedPrecision
70cb93a386Sopenharmony_ciOpDecorate %134 RelaxedPrecision
71cb93a386Sopenharmony_ciOpDecorate %135 RelaxedPrecision
72cb93a386Sopenharmony_ciOpDecorate %138 RelaxedPrecision
73cb93a386Sopenharmony_ciOpDecorate %142 RelaxedPrecision
74cb93a386Sopenharmony_ci%float = OpTypeFloat 32
75cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
76cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
77cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
78cb93a386Sopenharmony_ci%bool = OpTypeBool
79cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
80cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
81cb93a386Sopenharmony_ci%_ptr_Private_v4float = OpTypePointer Private %v4float
82cb93a386Sopenharmony_ci%globalVar = OpVariable %_ptr_Private_v4float Private
83cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
84cb93a386Sopenharmony_ci%int_5 = OpConstant %int 5
85cb93a386Sopenharmony_ci%_arr_float_int_5 = OpTypeArray %float %int_5
86cb93a386Sopenharmony_ci%_arr_v4float_int_5 = OpTypeArray %v4float %int_5
87cb93a386Sopenharmony_ci%S = OpTypeStruct %float %_arr_float_int_5 %v4float %_arr_v4float_int_5
88cb93a386Sopenharmony_ci%_ptr_Private_S = OpTypePointer Private %S
89cb93a386Sopenharmony_ci%globalStruct = OpVariable %_ptr_Private_S Private
90cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float
91cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
92cb93a386Sopenharmony_ci%19 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
93cb93a386Sopenharmony_ci%void = OpTypeVoid
94cb93a386Sopenharmony_ci%24 = OpTypeFunction %void
95cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
96cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0
97cb93a386Sopenharmony_ci%28 = OpConstantComposite %v2float %float_0 %float_0
98cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float
99cb93a386Sopenharmony_ci%32 = OpTypeFunction %v4float %_ptr_Function_v2float
100cb93a386Sopenharmony_ci%_ptr_Function_int = OpTypePointer Function %int
101cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
102cb93a386Sopenharmony_ci%v4int = OpTypeVector %int 4
103cb93a386Sopenharmony_ci%_ptr_Function_v4int = OpTypePointer Function %v4int
104cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1
105cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2
106cb93a386Sopenharmony_ci%int_3 = OpConstant %int 3
107cb93a386Sopenharmony_ci%int_4 = OpConstant %int 4
108cb93a386Sopenharmony_ci%45 = OpConstantComposite %v4int %int_1 %int_2 %int_3 %int_4
109cb93a386Sopenharmony_ci%v3float = OpTypeVector %float 3
110cb93a386Sopenharmony_ci%mat3v3float = OpTypeMatrix %v3float 3
111cb93a386Sopenharmony_ci%_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float
112cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1
113cb93a386Sopenharmony_ci%float_2 = OpConstant %float 2
114cb93a386Sopenharmony_ci%float_3 = OpConstant %float 3
115cb93a386Sopenharmony_ci%float_4 = OpConstant %float 4
116cb93a386Sopenharmony_ci%float_5 = OpConstant %float 5
117cb93a386Sopenharmony_ci%float_6 = OpConstant %float 6
118cb93a386Sopenharmony_ci%float_7 = OpConstant %float 7
119cb93a386Sopenharmony_ci%float_8 = OpConstant %float 8
120cb93a386Sopenharmony_ci%float_9 = OpConstant %float 9
121cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float
122cb93a386Sopenharmony_ci%_ptr_Function_float = OpTypePointer Function %float
123cb93a386Sopenharmony_ci%_arr_int_int_1 = OpTypeArray %int %int_1
124cb93a386Sopenharmony_ci%_ptr_Function__arr_int_int_1 = OpTypePointer Function %_arr_int_int_1
125cb93a386Sopenharmony_ci%_arr_v4int_int_1 = OpTypeArray %v4int %int_1
126cb93a386Sopenharmony_ci%_ptr_Function__arr_v4int_int_1 = OpTypePointer Function %_arr_v4int_int_1
127cb93a386Sopenharmony_ci%_arr_mat3v3float_int_1 = OpTypeArray %mat3v3float %int_1
128cb93a386Sopenharmony_ci%_ptr_Function__arr_mat3v3float_int_1 = OpTypePointer Function %_arr_mat3v3float_int_1
129cb93a386Sopenharmony_ci%_arr_v4float_int_1 = OpTypeArray %v4float %int_1
130cb93a386Sopenharmony_ci%_ptr_Function__arr_v4float_int_1 = OpTypePointer Function %_arr_v4float_int_1
131cb93a386Sopenharmony_ci%90 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
132cb93a386Sopenharmony_ci%_ptr_Function_S = OpTypePointer Function %S
133cb93a386Sopenharmony_ci%98 = OpConstantComposite %v3float %float_9 %float_9 %float_9
134cb93a386Sopenharmony_ci%102 = OpConstantComposite %v2float %float_5 %float_5
135cb93a386Sopenharmony_ci%106 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
136cb93a386Sopenharmony_ci%_ptr_Private_float = OpTypePointer Private %float
137cb93a386Sopenharmony_ci%119 = OpConstantComposite %v4float %float_2 %float_2 %float_2 %float_2
138cb93a386Sopenharmony_ci%_ptr_Function_v3float = OpTypePointer Function %v3float
139cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
140cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %24
141cb93a386Sopenharmony_ci%25 = OpLabel
142cb93a386Sopenharmony_ci%29 = OpVariable %_ptr_Function_v2float Function
143cb93a386Sopenharmony_ciOpStore %29 %28
144cb93a386Sopenharmony_ci%31 = OpFunctionCall %v4float %main %29
145cb93a386Sopenharmony_ciOpStore %sk_FragColor %31
146cb93a386Sopenharmony_ciOpReturn
147cb93a386Sopenharmony_ciOpFunctionEnd
148cb93a386Sopenharmony_ci%main = OpFunction %v4float None %32
149cb93a386Sopenharmony_ci%33 = OpFunctionParameter %_ptr_Function_v2float
150cb93a386Sopenharmony_ci%34 = OpLabel
151cb93a386Sopenharmony_ci%i = OpVariable %_ptr_Function_int Function
152cb93a386Sopenharmony_ci%i4 = OpVariable %_ptr_Function_v4int Function
153cb93a386Sopenharmony_ci%f3x3 = OpVariable %_ptr_Function_mat3v3float Function
154cb93a386Sopenharmony_ci%x = OpVariable %_ptr_Function_v4float Function
155cb93a386Sopenharmony_ci%ai = OpVariable %_ptr_Function__arr_int_int_1 Function
156cb93a386Sopenharmony_ci%ai4 = OpVariable %_ptr_Function__arr_v4int_int_1 Function
157cb93a386Sopenharmony_ci%ah2x4 = OpVariable %_ptr_Function__arr_mat3v3float_int_1 Function
158cb93a386Sopenharmony_ci%af4 = OpVariable %_ptr_Function__arr_v4float_int_1 Function
159cb93a386Sopenharmony_ci%s = OpVariable %_ptr_Function_S Function
160cb93a386Sopenharmony_ci%l = OpVariable %_ptr_Function_float Function
161cb93a386Sopenharmony_ciOpStore %i %int_0
162cb93a386Sopenharmony_ciOpStore %i4 %45
163cb93a386Sopenharmony_ci%59 = OpCompositeConstruct %v3float %float_1 %float_2 %float_3
164cb93a386Sopenharmony_ci%60 = OpCompositeConstruct %v3float %float_4 %float_5 %float_6
165cb93a386Sopenharmony_ci%61 = OpCompositeConstruct %v3float %float_7 %float_8 %float_9
166cb93a386Sopenharmony_ci%62 = OpCompositeConstruct %mat3v3float %59 %60 %61
167cb93a386Sopenharmony_ciOpStore %f3x3 %62
168cb93a386Sopenharmony_ci%65 = OpAccessChain %_ptr_Function_float %x %int_3
169cb93a386Sopenharmony_ciOpStore %65 %float_0
170cb93a386Sopenharmony_ci%67 = OpLoad %v4float %x
171cb93a386Sopenharmony_ci%68 = OpVectorShuffle %v4float %67 %28 5 4 2 3
172cb93a386Sopenharmony_ciOpStore %x %68
173cb93a386Sopenharmony_ci%72 = OpAccessChain %_ptr_Function_int %ai %int_0
174cb93a386Sopenharmony_ciOpStore %72 %int_0
175cb93a386Sopenharmony_ci%76 = OpAccessChain %_ptr_Function_v4int %ai4 %int_0
176cb93a386Sopenharmony_ciOpStore %76 %45
177cb93a386Sopenharmony_ci%80 = OpCompositeConstruct %v3float %float_1 %float_2 %float_3
178cb93a386Sopenharmony_ci%81 = OpCompositeConstruct %v3float %float_4 %float_5 %float_6
179cb93a386Sopenharmony_ci%82 = OpCompositeConstruct %v3float %float_7 %float_8 %float_9
180cb93a386Sopenharmony_ci%83 = OpCompositeConstruct %mat3v3float %80 %81 %82
181cb93a386Sopenharmony_ci%84 = OpAccessChain %_ptr_Function_mat3v3float %ah2x4 %int_0
182cb93a386Sopenharmony_ciOpStore %84 %83
183cb93a386Sopenharmony_ci%88 = OpAccessChain %_ptr_Function_v4float %af4 %int_0
184cb93a386Sopenharmony_ci%89 = OpAccessChain %_ptr_Function_float %88 %int_0
185cb93a386Sopenharmony_ciOpStore %89 %float_0
186cb93a386Sopenharmony_ci%91 = OpAccessChain %_ptr_Function_v4float %af4 %int_0
187cb93a386Sopenharmony_ci%92 = OpLoad %v4float %91
188cb93a386Sopenharmony_ci%93 = OpVectorShuffle %v4float %92 %90 6 4 7 5
189cb93a386Sopenharmony_ciOpStore %91 %93
190cb93a386Sopenharmony_ci%96 = OpAccessChain %_ptr_Function_float %s %int_0
191cb93a386Sopenharmony_ciOpStore %96 %float_0
192cb93a386Sopenharmony_ci%97 = OpAccessChain %_ptr_Function_float %s %int_1 %int_1
193cb93a386Sopenharmony_ciOpStore %97 %float_0
194cb93a386Sopenharmony_ci%99 = OpAccessChain %_ptr_Function_v4float %s %int_2
195cb93a386Sopenharmony_ci%100 = OpLoad %v4float %99
196cb93a386Sopenharmony_ci%101 = OpVectorShuffle %v4float %100 %98 5 6 4 3
197cb93a386Sopenharmony_ciOpStore %99 %101
198cb93a386Sopenharmony_ci%103 = OpAccessChain %_ptr_Function_v4float %s %int_3 %int_2
199cb93a386Sopenharmony_ci%104 = OpLoad %v4float %103
200cb93a386Sopenharmony_ci%105 = OpVectorShuffle %v4float %104 %102 0 4 2 5
201cb93a386Sopenharmony_ciOpStore %103 %105
202cb93a386Sopenharmony_ciOpStore %globalVar %106
203cb93a386Sopenharmony_ci%107 = OpAccessChain %_ptr_Private_float %globalStruct %int_0
204cb93a386Sopenharmony_ciOpStore %107 %float_0
205cb93a386Sopenharmony_ciOpStore %l %float_0
206cb93a386Sopenharmony_ci%110 = OpAccessChain %_ptr_Function_int %ai %int_0
207cb93a386Sopenharmony_ci%111 = OpLoad %int %110
208cb93a386Sopenharmony_ci%112 = OpAccessChain %_ptr_Function_v4int %ai4 %int_0
209cb93a386Sopenharmony_ci%113 = OpLoad %v4int %112
210cb93a386Sopenharmony_ci%114 = OpCompositeExtract %int %113 0
211cb93a386Sopenharmony_ci%115 = OpIAdd %int %111 %114
212cb93a386Sopenharmony_ciOpStore %110 %115
213cb93a386Sopenharmony_ci%116 = OpAccessChain %_ptr_Function_float %s %int_0
214cb93a386Sopenharmony_ciOpStore %116 %float_1
215cb93a386Sopenharmony_ci%117 = OpAccessChain %_ptr_Function_float %s %int_1 %int_0
216cb93a386Sopenharmony_ciOpStore %117 %float_2
217cb93a386Sopenharmony_ci%118 = OpAccessChain %_ptr_Function_v4float %s %int_2
218cb93a386Sopenharmony_ciOpStore %118 %90
219cb93a386Sopenharmony_ci%120 = OpAccessChain %_ptr_Function_v4float %s %int_3 %int_0
220cb93a386Sopenharmony_ciOpStore %120 %119
221cb93a386Sopenharmony_ci%121 = OpAccessChain %_ptr_Function_v4float %af4 %int_0
222cb93a386Sopenharmony_ci%122 = OpLoad %v4float %121
223cb93a386Sopenharmony_ci%123 = OpAccessChain %_ptr_Function_v3float %ah2x4 %int_0 %int_0
224cb93a386Sopenharmony_ci%125 = OpLoad %v3float %123
225cb93a386Sopenharmony_ci%126 = OpCompositeExtract %float %125 0
226cb93a386Sopenharmony_ci%127 = OpVectorTimesScalar %v4float %122 %126
227cb93a386Sopenharmony_ciOpStore %121 %127
228cb93a386Sopenharmony_ci%128 = OpAccessChain %_ptr_Function_int %i4 %int_1
229cb93a386Sopenharmony_ci%129 = OpLoad %int %128
230cb93a386Sopenharmony_ci%130 = OpLoad %int %i
231cb93a386Sopenharmony_ci%131 = OpIMul %int %129 %130
232cb93a386Sopenharmony_ciOpStore %128 %131
233cb93a386Sopenharmony_ci%132 = OpAccessChain %_ptr_Function_float %x %int_1
234cb93a386Sopenharmony_ci%133 = OpLoad %float %132
235cb93a386Sopenharmony_ci%134 = OpLoad %float %l
236cb93a386Sopenharmony_ci%135 = OpFMul %float %133 %134
237cb93a386Sopenharmony_ciOpStore %132 %135
238cb93a386Sopenharmony_ci%136 = OpAccessChain %_ptr_Function_float %s %int_0
239cb93a386Sopenharmony_ci%137 = OpLoad %float %136
240cb93a386Sopenharmony_ci%138 = OpLoad %float %l
241cb93a386Sopenharmony_ci%139 = OpFMul %float %137 %138
242cb93a386Sopenharmony_ciOpStore %136 %139
243cb93a386Sopenharmony_ci%140 = OpAccessChain %_ptr_Uniform_v4float %19 %int_0
244cb93a386Sopenharmony_ci%142 = OpLoad %v4float %140
245cb93a386Sopenharmony_ciOpReturnValue %142
246cb93a386Sopenharmony_ciOpFunctionEnd
247