xref: /aosp_15_r20/external/skia/tests/sksl/shared/Assignment.asm.frag (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker               OpCapability Shader
2*c8dee2aaSAndroid Build Coastguard Worker          %1 = OpExtInstImport "GLSL.std.450"
3*c8dee2aaSAndroid Build Coastguard Worker               OpMemoryModel Logical GLSL450
4*c8dee2aaSAndroid Build Coastguard Worker               OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor
5*c8dee2aaSAndroid Build Coastguard Worker               OpExecutionMode %_entrypoint_v OriginUpperLeft
6*c8dee2aaSAndroid Build Coastguard Worker               OpName %sk_FragColor "sk_FragColor"
7*c8dee2aaSAndroid Build Coastguard Worker               OpName %globalVar "globalVar"
8*c8dee2aaSAndroid Build Coastguard Worker               OpName %S "S"
9*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %S 0 "f"
10*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %S 1 "af"
11*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %S 2 "h4"
12*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %S 3 "ah4"
13*c8dee2aaSAndroid Build Coastguard Worker               OpName %globalStruct "globalStruct"
14*c8dee2aaSAndroid Build Coastguard Worker               OpName %_UniformBuffer "_UniformBuffer"
15*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %_UniformBuffer 0 "colorGreen"
16*c8dee2aaSAndroid Build Coastguard Worker               OpName %_entrypoint_v "_entrypoint_v"
17*c8dee2aaSAndroid Build Coastguard Worker               OpName %keepAlive_vh "keepAlive_vh"
18*c8dee2aaSAndroid Build Coastguard Worker               OpName %keepAlive_vf "keepAlive_vf"
19*c8dee2aaSAndroid Build Coastguard Worker               OpName %keepAlive_vi "keepAlive_vi"
20*c8dee2aaSAndroid Build Coastguard Worker               OpName %assignToFunctionParameter_vif "assignToFunctionParameter_vif"
21*c8dee2aaSAndroid Build Coastguard Worker               OpName %main "main"
22*c8dee2aaSAndroid Build Coastguard Worker               OpName %i "i"
23*c8dee2aaSAndroid Build Coastguard Worker               OpName %i4 "i4"
24*c8dee2aaSAndroid Build Coastguard Worker               OpName %f3x3 "f3x3"
25*c8dee2aaSAndroid Build Coastguard Worker               OpName %x "x"
26*c8dee2aaSAndroid Build Coastguard Worker               OpName %ai "ai"
27*c8dee2aaSAndroid Build Coastguard Worker               OpName %ai4 "ai4"
28*c8dee2aaSAndroid Build Coastguard Worker               OpName %ah3x3 "ah3x3"
29*c8dee2aaSAndroid Build Coastguard Worker               OpName %af4 "af4"
30*c8dee2aaSAndroid Build Coastguard Worker               OpName %s "s"
31*c8dee2aaSAndroid Build Coastguard Worker               OpName %l "l"
32*c8dee2aaSAndroid Build Coastguard Worker               OpName %repeat "repeat"
33*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %sk_FragColor RelaxedPrecision
34*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %sk_FragColor Location 0
35*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %sk_FragColor Index 0
36*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %globalVar RelaxedPrecision
37*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_arr_float_int_5 ArrayStride 16
38*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_arr_v4float_int_5 ArrayStride 16
39*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %S 0 Offset 0
40*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %S 1 Offset 16
41*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %S 2 Offset 96
42*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %S 2 RelaxedPrecision
43*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %S 3 Offset 112
44*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %S 3 RelaxedPrecision
45*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %_UniformBuffer 0 Offset 0
46*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
47*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_UniformBuffer Block
48*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %20 Binding 0
49*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %20 DescriptorSet 0
50*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %x RelaxedPrecision
51*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %80 RelaxedPrecision
52*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %81 RelaxedPrecision
53*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_arr_int_int_1 ArrayStride 16
54*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_arr_v4int_int_1 ArrayStride 16
55*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_arr_mat3v3float_int_1 ArrayStride 48
56*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_arr_v4float_int_1 ArrayStride 16
57*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %109 RelaxedPrecision
58*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %110 RelaxedPrecision
59*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %113 RelaxedPrecision
60*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %114 RelaxedPrecision
61*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %l RelaxedPrecision
62*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %147 RelaxedPrecision
63*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %148 RelaxedPrecision
64*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %150 RelaxedPrecision
65*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %172 RelaxedPrecision
66*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %173 RelaxedPrecision
67*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %175 RelaxedPrecision
68*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %181 RelaxedPrecision
69*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %182 RelaxedPrecision
70*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %184 RelaxedPrecision
71*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %197 RelaxedPrecision
72*c8dee2aaSAndroid Build Coastguard Worker      %float = OpTypeFloat 32
73*c8dee2aaSAndroid Build Coastguard Worker    %v4float = OpTypeVector %float 4
74*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Output_v4float = OpTypePointer Output %v4float
75*c8dee2aaSAndroid Build Coastguard Worker%sk_FragColor = OpVariable %_ptr_Output_v4float Output
76*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Private_v4float = OpTypePointer Private %v4float
77*c8dee2aaSAndroid Build Coastguard Worker  %globalVar = OpVariable %_ptr_Private_v4float Private
78*c8dee2aaSAndroid Build Coastguard Worker        %int = OpTypeInt 32 1
79*c8dee2aaSAndroid Build Coastguard Worker      %int_5 = OpConstant %int 5
80*c8dee2aaSAndroid Build Coastguard Worker%_arr_float_int_5 = OpTypeArray %float %int_5
81*c8dee2aaSAndroid Build Coastguard Worker%_arr_v4float_int_5 = OpTypeArray %v4float %int_5
82*c8dee2aaSAndroid Build Coastguard Worker          %S = OpTypeStruct %float %_arr_float_int_5 %v4float %_arr_v4float_int_5
83*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Private_S = OpTypePointer Private %S
84*c8dee2aaSAndroid Build Coastguard Worker%globalStruct = OpVariable %_ptr_Private_S Private
85*c8dee2aaSAndroid Build Coastguard Worker%_UniformBuffer = OpTypeStruct %v4float
86*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
87*c8dee2aaSAndroid Build Coastguard Worker         %20 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
88*c8dee2aaSAndroid Build Coastguard Worker       %void = OpTypeVoid
89*c8dee2aaSAndroid Build Coastguard Worker         %25 = OpTypeFunction %void
90*c8dee2aaSAndroid Build Coastguard Worker    %float_0 = OpConstant %float 0
91*c8dee2aaSAndroid Build Coastguard Worker    %v2float = OpTypeVector %float 2
92*c8dee2aaSAndroid Build Coastguard Worker         %29 = OpConstantComposite %v2float %float_0 %float_0
93*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v2float = OpTypePointer Function %v2float
94*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_float = OpTypePointer Function %float
95*c8dee2aaSAndroid Build Coastguard Worker         %34 = OpTypeFunction %void %_ptr_Function_float
96*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_int = OpTypePointer Function %int
97*c8dee2aaSAndroid Build Coastguard Worker         %40 = OpTypeFunction %void %_ptr_Function_int
98*c8dee2aaSAndroid Build Coastguard Worker         %43 = OpTypeFunction %void %_ptr_Function_int %_ptr_Function_float
99*c8dee2aaSAndroid Build Coastguard Worker      %int_1 = OpConstant %int 1
100*c8dee2aaSAndroid Build Coastguard Worker    %float_1 = OpConstant %float 1
101*c8dee2aaSAndroid Build Coastguard Worker         %49 = OpTypeFunction %v4float %_ptr_Function_v2float
102*c8dee2aaSAndroid Build Coastguard Worker      %int_0 = OpConstant %int 0
103*c8dee2aaSAndroid Build Coastguard Worker      %v4int = OpTypeVector %int 4
104*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v4int = OpTypePointer Function %v4int
105*c8dee2aaSAndroid Build Coastguard Worker      %int_2 = OpConstant %int 2
106*c8dee2aaSAndroid Build Coastguard Worker      %int_3 = OpConstant %int 3
107*c8dee2aaSAndroid Build Coastguard Worker      %int_4 = OpConstant %int 4
108*c8dee2aaSAndroid Build Coastguard Worker         %60 = OpConstantComposite %v4int %int_1 %int_2 %int_3 %int_4
109*c8dee2aaSAndroid Build Coastguard Worker    %v3float = OpTypeVector %float 3
110*c8dee2aaSAndroid Build Coastguard Worker%mat3v3float = OpTypeMatrix %v3float 3
111*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float
112*c8dee2aaSAndroid Build Coastguard Worker    %float_2 = OpConstant %float 2
113*c8dee2aaSAndroid Build Coastguard Worker    %float_3 = OpConstant %float 3
114*c8dee2aaSAndroid Build Coastguard Worker    %float_4 = OpConstant %float 4
115*c8dee2aaSAndroid Build Coastguard Worker    %float_5 = OpConstant %float 5
116*c8dee2aaSAndroid Build Coastguard Worker    %float_6 = OpConstant %float 6
117*c8dee2aaSAndroid Build Coastguard Worker    %float_7 = OpConstant %float 7
118*c8dee2aaSAndroid Build Coastguard Worker    %float_8 = OpConstant %float 8
119*c8dee2aaSAndroid Build Coastguard Worker    %float_9 = OpConstant %float 9
120*c8dee2aaSAndroid Build Coastguard Worker         %73 = OpConstantComposite %v3float %float_1 %float_2 %float_3
121*c8dee2aaSAndroid Build Coastguard Worker         %74 = OpConstantComposite %v3float %float_4 %float_5 %float_6
122*c8dee2aaSAndroid Build Coastguard Worker         %75 = OpConstantComposite %v3float %float_7 %float_8 %float_9
123*c8dee2aaSAndroid Build Coastguard Worker         %76 = OpConstantComposite %mat3v3float %73 %74 %75
124*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v4float = OpTypePointer Function %v4float
125*c8dee2aaSAndroid Build Coastguard Worker%_arr_int_int_1 = OpTypeArray %int %int_1
126*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function__arr_int_int_1 = OpTypePointer Function %_arr_int_int_1
127*c8dee2aaSAndroid Build Coastguard Worker%_arr_v4int_int_1 = OpTypeArray %v4int %int_1
128*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function__arr_v4int_int_1 = OpTypePointer Function %_arr_v4int_int_1
129*c8dee2aaSAndroid Build Coastguard Worker%_arr_mat3v3float_int_1 = OpTypeArray %mat3v3float %int_1
130*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function__arr_mat3v3float_int_1 = OpTypePointer Function %_arr_mat3v3float_int_1
131*c8dee2aaSAndroid Build Coastguard Worker%_arr_v4float_int_1 = OpTypeArray %v4float %int_1
132*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function__arr_v4float_int_1 = OpTypePointer Function %_arr_v4float_int_1
133*c8dee2aaSAndroid Build Coastguard Worker         %99 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
134*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_S = OpTypePointer Function %S
135*c8dee2aaSAndroid Build Coastguard Worker        %107 = OpConstantComposite %v3float %float_9 %float_9 %float_9
136*c8dee2aaSAndroid Build Coastguard Worker        %111 = OpConstantComposite %v2float %float_5 %float_5
137*c8dee2aaSAndroid Build Coastguard Worker        %115 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
138*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Private_float = OpTypePointer Private %float
139*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v3float = OpTypePointer Function %v3float
140*c8dee2aaSAndroid Build Coastguard Worker        %136 = OpConstantComposite %v4float %float_2 %float_2 %float_2 %float_2
141*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
142*c8dee2aaSAndroid Build Coastguard Worker%_entrypoint_v = OpFunction %void None %25
143*c8dee2aaSAndroid Build Coastguard Worker         %26 = OpLabel
144*c8dee2aaSAndroid Build Coastguard Worker         %30 = OpVariable %_ptr_Function_v2float Function
145*c8dee2aaSAndroid Build Coastguard Worker               OpStore %30 %29
146*c8dee2aaSAndroid Build Coastguard Worker         %32 = OpFunctionCall %v4float %main %30
147*c8dee2aaSAndroid Build Coastguard Worker               OpStore %sk_FragColor %32
148*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
149*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
150*c8dee2aaSAndroid Build Coastguard Worker%keepAlive_vh = OpFunction %void None %34
151*c8dee2aaSAndroid Build Coastguard Worker         %35 = OpFunctionParameter %_ptr_Function_float
152*c8dee2aaSAndroid Build Coastguard Worker         %36 = OpLabel
153*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
154*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
155*c8dee2aaSAndroid Build Coastguard Worker%keepAlive_vf = OpFunction %void None %34
156*c8dee2aaSAndroid Build Coastguard Worker         %37 = OpFunctionParameter %_ptr_Function_float
157*c8dee2aaSAndroid Build Coastguard Worker         %38 = OpLabel
158*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
159*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
160*c8dee2aaSAndroid Build Coastguard Worker%keepAlive_vi = OpFunction %void None %40
161*c8dee2aaSAndroid Build Coastguard Worker         %41 = OpFunctionParameter %_ptr_Function_int
162*c8dee2aaSAndroid Build Coastguard Worker         %42 = OpLabel
163*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
164*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
165*c8dee2aaSAndroid Build Coastguard Worker%assignToFunctionParameter_vif = OpFunction %void None %43
166*c8dee2aaSAndroid Build Coastguard Worker         %44 = OpFunctionParameter %_ptr_Function_int
167*c8dee2aaSAndroid Build Coastguard Worker         %45 = OpFunctionParameter %_ptr_Function_float
168*c8dee2aaSAndroid Build Coastguard Worker         %46 = OpLabel
169*c8dee2aaSAndroid Build Coastguard Worker               OpStore %44 %int_1
170*c8dee2aaSAndroid Build Coastguard Worker               OpStore %45 %float_1
171*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
172*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
173*c8dee2aaSAndroid Build Coastguard Worker       %main = OpFunction %v4float None %49
174*c8dee2aaSAndroid Build Coastguard Worker         %50 = OpFunctionParameter %_ptr_Function_v2float
175*c8dee2aaSAndroid Build Coastguard Worker         %51 = OpLabel
176*c8dee2aaSAndroid Build Coastguard Worker          %i = OpVariable %_ptr_Function_int Function
177*c8dee2aaSAndroid Build Coastguard Worker         %i4 = OpVariable %_ptr_Function_v4int Function
178*c8dee2aaSAndroid Build Coastguard Worker       %f3x3 = OpVariable %_ptr_Function_mat3v3float Function
179*c8dee2aaSAndroid Build Coastguard Worker          %x = OpVariable %_ptr_Function_v4float Function
180*c8dee2aaSAndroid Build Coastguard Worker         %ai = OpVariable %_ptr_Function__arr_int_int_1 Function
181*c8dee2aaSAndroid Build Coastguard Worker        %ai4 = OpVariable %_ptr_Function__arr_v4int_int_1 Function
182*c8dee2aaSAndroid Build Coastguard Worker      %ah3x3 = OpVariable %_ptr_Function__arr_mat3v3float_int_1 Function
183*c8dee2aaSAndroid Build Coastguard Worker        %af4 = OpVariable %_ptr_Function__arr_v4float_int_1 Function
184*c8dee2aaSAndroid Build Coastguard Worker          %s = OpVariable %_ptr_Function_S Function
185*c8dee2aaSAndroid Build Coastguard Worker        %118 = OpVariable %_ptr_Function_int Function
186*c8dee2aaSAndroid Build Coastguard Worker        %123 = OpVariable %_ptr_Function_float Function
187*c8dee2aaSAndroid Build Coastguard Worker          %l = OpVariable %_ptr_Function_float Function
188*c8dee2aaSAndroid Build Coastguard Worker     %repeat = OpVariable %_ptr_Function_float Function
189*c8dee2aaSAndroid Build Coastguard Worker        %142 = OpVariable %_ptr_Function_float Function
190*c8dee2aaSAndroid Build Coastguard Worker        %148 = OpVariable %_ptr_Function_float Function
191*c8dee2aaSAndroid Build Coastguard Worker        %152 = OpVariable %_ptr_Function_int Function
192*c8dee2aaSAndroid Build Coastguard Worker        %157 = OpVariable %_ptr_Function_int Function
193*c8dee2aaSAndroid Build Coastguard Worker        %162 = OpVariable %_ptr_Function_int Function
194*c8dee2aaSAndroid Build Coastguard Worker        %168 = OpVariable %_ptr_Function_int Function
195*c8dee2aaSAndroid Build Coastguard Worker        %173 = OpVariable %_ptr_Function_float Function
196*c8dee2aaSAndroid Build Coastguard Worker        %178 = OpVariable %_ptr_Function_float Function
197*c8dee2aaSAndroid Build Coastguard Worker        %182 = OpVariable %_ptr_Function_float Function
198*c8dee2aaSAndroid Build Coastguard Worker        %188 = OpVariable %_ptr_Function_float Function
199*c8dee2aaSAndroid Build Coastguard Worker        %192 = OpVariable %_ptr_Function_float Function
200*c8dee2aaSAndroid Build Coastguard Worker               OpStore %i %int_0
201*c8dee2aaSAndroid Build Coastguard Worker               OpStore %i4 %60
202*c8dee2aaSAndroid Build Coastguard Worker               OpStore %f3x3 %76
203*c8dee2aaSAndroid Build Coastguard Worker         %79 = OpAccessChain %_ptr_Function_float %x %int_3
204*c8dee2aaSAndroid Build Coastguard Worker               OpStore %79 %float_0
205*c8dee2aaSAndroid Build Coastguard Worker         %80 = OpLoad %v4float %x
206*c8dee2aaSAndroid Build Coastguard Worker         %81 = OpVectorShuffle %v4float %80 %29 5 4 2 3
207*c8dee2aaSAndroid Build Coastguard Worker               OpStore %x %81
208*c8dee2aaSAndroid Build Coastguard Worker         %85 = OpAccessChain %_ptr_Function_int %ai %int_0
209*c8dee2aaSAndroid Build Coastguard Worker               OpStore %85 %int_0
210*c8dee2aaSAndroid Build Coastguard Worker         %89 = OpAccessChain %_ptr_Function_v4int %ai4 %int_0
211*c8dee2aaSAndroid Build Coastguard Worker               OpStore %89 %60
212*c8dee2aaSAndroid Build Coastguard Worker         %93 = OpAccessChain %_ptr_Function_mat3v3float %ah3x3 %int_0
213*c8dee2aaSAndroid Build Coastguard Worker               OpStore %93 %76
214*c8dee2aaSAndroid Build Coastguard Worker         %97 = OpAccessChain %_ptr_Function_v4float %af4 %int_0
215*c8dee2aaSAndroid Build Coastguard Worker         %98 = OpAccessChain %_ptr_Function_float %97 %int_0
216*c8dee2aaSAndroid Build Coastguard Worker               OpStore %98 %float_0
217*c8dee2aaSAndroid Build Coastguard Worker        %100 = OpAccessChain %_ptr_Function_v4float %af4 %int_0
218*c8dee2aaSAndroid Build Coastguard Worker        %101 = OpLoad %v4float %100
219*c8dee2aaSAndroid Build Coastguard Worker        %102 = OpVectorShuffle %v4float %101 %99 6 4 7 5
220*c8dee2aaSAndroid Build Coastguard Worker               OpStore %100 %102
221*c8dee2aaSAndroid Build Coastguard Worker        %105 = OpAccessChain %_ptr_Function_float %s %int_0
222*c8dee2aaSAndroid Build Coastguard Worker               OpStore %105 %float_0
223*c8dee2aaSAndroid Build Coastguard Worker        %106 = OpAccessChain %_ptr_Function_float %s %int_1 %int_1
224*c8dee2aaSAndroid Build Coastguard Worker               OpStore %106 %float_0
225*c8dee2aaSAndroid Build Coastguard Worker        %108 = OpAccessChain %_ptr_Function_v4float %s %int_2
226*c8dee2aaSAndroid Build Coastguard Worker        %109 = OpLoad %v4float %108
227*c8dee2aaSAndroid Build Coastguard Worker        %110 = OpVectorShuffle %v4float %109 %107 5 6 4 3
228*c8dee2aaSAndroid Build Coastguard Worker               OpStore %108 %110
229*c8dee2aaSAndroid Build Coastguard Worker        %112 = OpAccessChain %_ptr_Function_v4float %s %int_3 %int_2
230*c8dee2aaSAndroid Build Coastguard Worker        %113 = OpLoad %v4float %112
231*c8dee2aaSAndroid Build Coastguard Worker        %114 = OpVectorShuffle %v4float %113 %111 0 4 2 5
232*c8dee2aaSAndroid Build Coastguard Worker               OpStore %112 %114
233*c8dee2aaSAndroid Build Coastguard Worker               OpStore %globalVar %115
234*c8dee2aaSAndroid Build Coastguard Worker        %116 = OpAccessChain %_ptr_Private_float %globalStruct %int_0
235*c8dee2aaSAndroid Build Coastguard Worker               OpStore %116 %float_0
236*c8dee2aaSAndroid Build Coastguard Worker               OpStore %118 %int_0
237*c8dee2aaSAndroid Build Coastguard Worker        %119 = OpAccessChain %_ptr_Function_v3float %f3x3 %int_0
238*c8dee2aaSAndroid Build Coastguard Worker        %121 = OpAccessChain %_ptr_Function_float %119 %int_0
239*c8dee2aaSAndroid Build Coastguard Worker        %122 = OpLoad %float %121
240*c8dee2aaSAndroid Build Coastguard Worker               OpStore %123 %122
241*c8dee2aaSAndroid Build Coastguard Worker        %124 = OpFunctionCall %void %assignToFunctionParameter_vif %118 %123
242*c8dee2aaSAndroid Build Coastguard Worker        %125 = OpLoad %float %123
243*c8dee2aaSAndroid Build Coastguard Worker               OpStore %121 %125
244*c8dee2aaSAndroid Build Coastguard Worker               OpStore %l %float_0
245*c8dee2aaSAndroid Build Coastguard Worker        %127 = OpAccessChain %_ptr_Function_int %ai %int_0
246*c8dee2aaSAndroid Build Coastguard Worker        %128 = OpLoad %int %127
247*c8dee2aaSAndroid Build Coastguard Worker        %129 = OpAccessChain %_ptr_Function_v4int %ai4 %int_0
248*c8dee2aaSAndroid Build Coastguard Worker        %130 = OpLoad %v4int %129
249*c8dee2aaSAndroid Build Coastguard Worker        %131 = OpCompositeExtract %int %130 0
250*c8dee2aaSAndroid Build Coastguard Worker        %132 = OpIAdd %int %128 %131
251*c8dee2aaSAndroid Build Coastguard Worker               OpStore %127 %132
252*c8dee2aaSAndroid Build Coastguard Worker        %133 = OpAccessChain %_ptr_Function_float %s %int_0
253*c8dee2aaSAndroid Build Coastguard Worker               OpStore %133 %float_1
254*c8dee2aaSAndroid Build Coastguard Worker        %134 = OpAccessChain %_ptr_Function_float %s %int_1 %int_0
255*c8dee2aaSAndroid Build Coastguard Worker               OpStore %134 %float_2
256*c8dee2aaSAndroid Build Coastguard Worker        %135 = OpAccessChain %_ptr_Function_v4float %s %int_2
257*c8dee2aaSAndroid Build Coastguard Worker               OpStore %135 %99
258*c8dee2aaSAndroid Build Coastguard Worker        %137 = OpAccessChain %_ptr_Function_v4float %s %int_3 %int_0
259*c8dee2aaSAndroid Build Coastguard Worker               OpStore %137 %136
260*c8dee2aaSAndroid Build Coastguard Worker               OpStore %repeat %float_1
261*c8dee2aaSAndroid Build Coastguard Worker               OpStore %repeat %float_1
262*c8dee2aaSAndroid Build Coastguard Worker        %139 = OpAccessChain %_ptr_Function_v4float %af4 %int_0
263*c8dee2aaSAndroid Build Coastguard Worker        %140 = OpAccessChain %_ptr_Function_float %139 %int_0
264*c8dee2aaSAndroid Build Coastguard Worker        %141 = OpLoad %float %140
265*c8dee2aaSAndroid Build Coastguard Worker               OpStore %142 %141
266*c8dee2aaSAndroid Build Coastguard Worker        %143 = OpFunctionCall %void %keepAlive_vf %142
267*c8dee2aaSAndroid Build Coastguard Worker        %144 = OpLoad %float %142
268*c8dee2aaSAndroid Build Coastguard Worker               OpStore %140 %144
269*c8dee2aaSAndroid Build Coastguard Worker        %145 = OpAccessChain %_ptr_Function_v3float %ah3x3 %int_0 %int_0
270*c8dee2aaSAndroid Build Coastguard Worker        %146 = OpAccessChain %_ptr_Function_float %145 %int_0
271*c8dee2aaSAndroid Build Coastguard Worker        %147 = OpLoad %float %146
272*c8dee2aaSAndroid Build Coastguard Worker               OpStore %148 %147
273*c8dee2aaSAndroid Build Coastguard Worker        %149 = OpFunctionCall %void %keepAlive_vh %148
274*c8dee2aaSAndroid Build Coastguard Worker        %150 = OpLoad %float %148
275*c8dee2aaSAndroid Build Coastguard Worker               OpStore %146 %150
276*c8dee2aaSAndroid Build Coastguard Worker        %151 = OpLoad %int %i
277*c8dee2aaSAndroid Build Coastguard Worker               OpStore %152 %151
278*c8dee2aaSAndroid Build Coastguard Worker        %153 = OpFunctionCall %void %keepAlive_vi %152
279*c8dee2aaSAndroid Build Coastguard Worker        %154 = OpLoad %int %152
280*c8dee2aaSAndroid Build Coastguard Worker               OpStore %i %154
281*c8dee2aaSAndroid Build Coastguard Worker        %155 = OpAccessChain %_ptr_Function_int %i4 %int_1
282*c8dee2aaSAndroid Build Coastguard Worker        %156 = OpLoad %int %155
283*c8dee2aaSAndroid Build Coastguard Worker               OpStore %157 %156
284*c8dee2aaSAndroid Build Coastguard Worker        %158 = OpFunctionCall %void %keepAlive_vi %157
285*c8dee2aaSAndroid Build Coastguard Worker        %159 = OpLoad %int %157
286*c8dee2aaSAndroid Build Coastguard Worker               OpStore %155 %159
287*c8dee2aaSAndroid Build Coastguard Worker        %160 = OpAccessChain %_ptr_Function_int %ai %int_0
288*c8dee2aaSAndroid Build Coastguard Worker        %161 = OpLoad %int %160
289*c8dee2aaSAndroid Build Coastguard Worker               OpStore %162 %161
290*c8dee2aaSAndroid Build Coastguard Worker        %163 = OpFunctionCall %void %keepAlive_vi %162
291*c8dee2aaSAndroid Build Coastguard Worker        %164 = OpLoad %int %162
292*c8dee2aaSAndroid Build Coastguard Worker               OpStore %160 %164
293*c8dee2aaSAndroid Build Coastguard Worker        %165 = OpAccessChain %_ptr_Function_v4int %ai4 %int_0
294*c8dee2aaSAndroid Build Coastguard Worker        %166 = OpAccessChain %_ptr_Function_int %165 %int_0
295*c8dee2aaSAndroid Build Coastguard Worker        %167 = OpLoad %int %166
296*c8dee2aaSAndroid Build Coastguard Worker               OpStore %168 %167
297*c8dee2aaSAndroid Build Coastguard Worker        %169 = OpFunctionCall %void %keepAlive_vi %168
298*c8dee2aaSAndroid Build Coastguard Worker        %170 = OpLoad %int %168
299*c8dee2aaSAndroid Build Coastguard Worker               OpStore %166 %170
300*c8dee2aaSAndroid Build Coastguard Worker        %171 = OpAccessChain %_ptr_Function_float %x %int_1
301*c8dee2aaSAndroid Build Coastguard Worker        %172 = OpLoad %float %171
302*c8dee2aaSAndroid Build Coastguard Worker               OpStore %173 %172
303*c8dee2aaSAndroid Build Coastguard Worker        %174 = OpFunctionCall %void %keepAlive_vh %173
304*c8dee2aaSAndroid Build Coastguard Worker        %175 = OpLoad %float %173
305*c8dee2aaSAndroid Build Coastguard Worker               OpStore %171 %175
306*c8dee2aaSAndroid Build Coastguard Worker        %176 = OpAccessChain %_ptr_Function_float %s %int_0
307*c8dee2aaSAndroid Build Coastguard Worker        %177 = OpLoad %float %176
308*c8dee2aaSAndroid Build Coastguard Worker               OpStore %178 %177
309*c8dee2aaSAndroid Build Coastguard Worker        %179 = OpFunctionCall %void %keepAlive_vf %178
310*c8dee2aaSAndroid Build Coastguard Worker        %180 = OpLoad %float %178
311*c8dee2aaSAndroid Build Coastguard Worker               OpStore %176 %180
312*c8dee2aaSAndroid Build Coastguard Worker        %181 = OpLoad %float %l
313*c8dee2aaSAndroid Build Coastguard Worker               OpStore %182 %181
314*c8dee2aaSAndroid Build Coastguard Worker        %183 = OpFunctionCall %void %keepAlive_vh %182
315*c8dee2aaSAndroid Build Coastguard Worker        %184 = OpLoad %float %182
316*c8dee2aaSAndroid Build Coastguard Worker               OpStore %l %184
317*c8dee2aaSAndroid Build Coastguard Worker        %185 = OpAccessChain %_ptr_Function_v3float %f3x3 %int_0
318*c8dee2aaSAndroid Build Coastguard Worker        %186 = OpAccessChain %_ptr_Function_float %185 %int_0
319*c8dee2aaSAndroid Build Coastguard Worker        %187 = OpLoad %float %186
320*c8dee2aaSAndroid Build Coastguard Worker               OpStore %188 %187
321*c8dee2aaSAndroid Build Coastguard Worker        %189 = OpFunctionCall %void %keepAlive_vf %188
322*c8dee2aaSAndroid Build Coastguard Worker        %190 = OpLoad %float %188
323*c8dee2aaSAndroid Build Coastguard Worker               OpStore %186 %190
324*c8dee2aaSAndroid Build Coastguard Worker        %191 = OpLoad %float %repeat
325*c8dee2aaSAndroid Build Coastguard Worker               OpStore %192 %191
326*c8dee2aaSAndroid Build Coastguard Worker        %193 = OpFunctionCall %void %keepAlive_vf %192
327*c8dee2aaSAndroid Build Coastguard Worker        %194 = OpLoad %float %192
328*c8dee2aaSAndroid Build Coastguard Worker               OpStore %repeat %194
329*c8dee2aaSAndroid Build Coastguard Worker        %195 = OpAccessChain %_ptr_Uniform_v4float %20 %int_0
330*c8dee2aaSAndroid Build Coastguard Worker        %197 = OpLoad %v4float %195
331*c8dee2aaSAndroid Build Coastguard Worker               OpReturnValue %197
332*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
333