xref: /aosp_15_r20/external/skia/tests/sksl/intrinsics/Frexp.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 %_UniformBuffer "_UniformBuffer"
8*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %_UniformBuffer 0 "colorGreen"
9*c8dee2aaSAndroid Build Coastguard Worker               OpMemberName %_UniformBuffer 1 "colorRed"
10*c8dee2aaSAndroid Build Coastguard Worker               OpName %_entrypoint_v "_entrypoint_v"
11*c8dee2aaSAndroid Build Coastguard Worker               OpName %checkIntrinsicAsFunctionArg_bf3i3 "checkIntrinsicAsFunctionArg_bf3i3"
12*c8dee2aaSAndroid Build Coastguard Worker               OpName %main "main"
13*c8dee2aaSAndroid Build Coastguard Worker               OpName %value "value"
14*c8dee2aaSAndroid Build Coastguard Worker               OpName %exp "exp"
15*c8dee2aaSAndroid Build Coastguard Worker               OpName %result "result"
16*c8dee2aaSAndroid Build Coastguard Worker               OpName %ok "ok"
17*c8dee2aaSAndroid Build Coastguard Worker               OpName %funcOk "funcOk"
18*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %sk_FragColor RelaxedPrecision
19*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %sk_FragColor Location 0
20*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %sk_FragColor Index 0
21*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %_UniformBuffer 0 Offset 0
22*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
23*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %_UniformBuffer 1 Offset 16
24*c8dee2aaSAndroid Build Coastguard Worker               OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
25*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %_UniformBuffer Block
26*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %8 Binding 0
27*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %8 DescriptorSet 0
28*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %54 RelaxedPrecision
29*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %55 RelaxedPrecision
30*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %57 RelaxedPrecision
31*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %148 RelaxedPrecision
32*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %157 RelaxedPrecision
33*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %159 RelaxedPrecision
34*c8dee2aaSAndroid Build Coastguard Worker               OpDecorate %160 RelaxedPrecision
35*c8dee2aaSAndroid Build Coastguard Worker      %float = OpTypeFloat 32
36*c8dee2aaSAndroid Build Coastguard Worker    %v4float = OpTypeVector %float 4
37*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Output_v4float = OpTypePointer Output %v4float
38*c8dee2aaSAndroid Build Coastguard Worker%sk_FragColor = OpVariable %_ptr_Output_v4float Output
39*c8dee2aaSAndroid Build Coastguard Worker%_UniformBuffer = OpTypeStruct %v4float %v4float
40*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
41*c8dee2aaSAndroid Build Coastguard Worker          %8 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
42*c8dee2aaSAndroid Build Coastguard Worker       %void = OpTypeVoid
43*c8dee2aaSAndroid Build Coastguard Worker         %13 = OpTypeFunction %void
44*c8dee2aaSAndroid Build Coastguard Worker    %float_0 = OpConstant %float 0
45*c8dee2aaSAndroid Build Coastguard Worker    %v2float = OpTypeVector %float 2
46*c8dee2aaSAndroid Build Coastguard Worker         %17 = OpConstantComposite %v2float %float_0 %float_0
47*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v2float = OpTypePointer Function %v2float
48*c8dee2aaSAndroid Build Coastguard Worker       %bool = OpTypeBool
49*c8dee2aaSAndroid Build Coastguard Worker    %v3float = OpTypeVector %float 3
50*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v3float = OpTypePointer Function %v3float
51*c8dee2aaSAndroid Build Coastguard Worker        %int = OpTypeInt 32 1
52*c8dee2aaSAndroid Build Coastguard Worker      %v3int = OpTypeVector %int 3
53*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v3int = OpTypePointer Function %v3int
54*c8dee2aaSAndroid Build Coastguard Worker         %27 = OpTypeFunction %bool %_ptr_Function_v3float %_ptr_Function_v3int
55*c8dee2aaSAndroid Build Coastguard Worker      %false = OpConstantFalse %bool
56*c8dee2aaSAndroid Build Coastguard Worker %float_0_75 = OpConstant %float 0.75
57*c8dee2aaSAndroid Build Coastguard Worker         %34 = OpConstantComposite %v3float %float_0_75 %float_0_75 %float_0_75
58*c8dee2aaSAndroid Build Coastguard Worker     %v3bool = OpTypeVector %bool 3
59*c8dee2aaSAndroid Build Coastguard Worker      %int_3 = OpConstant %int 3
60*c8dee2aaSAndroid Build Coastguard Worker         %42 = OpConstantComposite %v3int %int_3 %int_3 %int_3
61*c8dee2aaSAndroid Build Coastguard Worker         %46 = OpTypeFunction %v4float %_ptr_Function_v2float
62*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v4float = OpTypePointer Function %v4float
63*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
64*c8dee2aaSAndroid Build Coastguard Worker      %int_0 = OpConstant %int 0
65*c8dee2aaSAndroid Build Coastguard Worker    %float_6 = OpConstant %float 6
66*c8dee2aaSAndroid Build Coastguard Worker      %v4int = OpTypeVector %int 4
67*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v4int = OpTypePointer Function %v4int
68*c8dee2aaSAndroid Build Coastguard Worker     %v4bool = OpTypeVector %bool 4
69*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v4bool = OpTypePointer Function %v4bool
70*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_int = OpTypePointer Function %int
71*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_float = OpTypePointer Function %float
72*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_bool = OpTypePointer Function %bool
73*c8dee2aaSAndroid Build Coastguard Worker      %v2int = OpTypeVector %int 2
74*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v2int = OpTypePointer Function %v2int
75*c8dee2aaSAndroid Build Coastguard Worker      %int_1 = OpConstant %int 1
76*c8dee2aaSAndroid Build Coastguard Worker      %int_2 = OpConstant %int 2
77*c8dee2aaSAndroid Build Coastguard Worker%_entrypoint_v = OpFunction %void None %13
78*c8dee2aaSAndroid Build Coastguard Worker         %14 = OpLabel
79*c8dee2aaSAndroid Build Coastguard Worker         %18 = OpVariable %_ptr_Function_v2float Function
80*c8dee2aaSAndroid Build Coastguard Worker               OpStore %18 %17
81*c8dee2aaSAndroid Build Coastguard Worker         %20 = OpFunctionCall %v4float %main %18
82*c8dee2aaSAndroid Build Coastguard Worker               OpStore %sk_FragColor %20
83*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
84*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
85*c8dee2aaSAndroid Build Coastguard Worker%checkIntrinsicAsFunctionArg_bf3i3 = OpFunction %bool None %27
86*c8dee2aaSAndroid Build Coastguard Worker         %28 = OpFunctionParameter %_ptr_Function_v3float
87*c8dee2aaSAndroid Build Coastguard Worker         %29 = OpFunctionParameter %_ptr_Function_v3int
88*c8dee2aaSAndroid Build Coastguard Worker         %30 = OpLabel
89*c8dee2aaSAndroid Build Coastguard Worker         %32 = OpLoad %v3float %28
90*c8dee2aaSAndroid Build Coastguard Worker         %35 = OpFOrdEqual %v3bool %32 %34
91*c8dee2aaSAndroid Build Coastguard Worker         %37 = OpAll %bool %35
92*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %39 None
93*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %37 %38 %39
94*c8dee2aaSAndroid Build Coastguard Worker         %38 = OpLabel
95*c8dee2aaSAndroid Build Coastguard Worker         %40 = OpLoad %v3int %29
96*c8dee2aaSAndroid Build Coastguard Worker         %43 = OpIEqual %v3bool %40 %42
97*c8dee2aaSAndroid Build Coastguard Worker         %44 = OpAll %bool %43
98*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %39
99*c8dee2aaSAndroid Build Coastguard Worker         %39 = OpLabel
100*c8dee2aaSAndroid Build Coastguard Worker         %45 = OpPhi %bool %false %30 %44 %38
101*c8dee2aaSAndroid Build Coastguard Worker               OpReturnValue %45
102*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
103*c8dee2aaSAndroid Build Coastguard Worker       %main = OpFunction %v4float None %46
104*c8dee2aaSAndroid Build Coastguard Worker         %47 = OpFunctionParameter %_ptr_Function_v2float
105*c8dee2aaSAndroid Build Coastguard Worker         %48 = OpLabel
106*c8dee2aaSAndroid Build Coastguard Worker      %value = OpVariable %_ptr_Function_v4float Function
107*c8dee2aaSAndroid Build Coastguard Worker        %exp = OpVariable %_ptr_Function_v4int Function
108*c8dee2aaSAndroid Build Coastguard Worker     %result = OpVariable %_ptr_Function_v4float Function
109*c8dee2aaSAndroid Build Coastguard Worker         %ok = OpVariable %_ptr_Function_v4bool Function
110*c8dee2aaSAndroid Build Coastguard Worker         %69 = OpVariable %_ptr_Function_int Function
111*c8dee2aaSAndroid Build Coastguard Worker         %87 = OpVariable %_ptr_Function_v2int Function
112*c8dee2aaSAndroid Build Coastguard Worker        %107 = OpVariable %_ptr_Function_v3int Function
113*c8dee2aaSAndroid Build Coastguard Worker        %124 = OpVariable %_ptr_Function_v4int Function
114*c8dee2aaSAndroid Build Coastguard Worker     %funcOk = OpVariable %_ptr_Function_bool Function
115*c8dee2aaSAndroid Build Coastguard Worker        %138 = OpVariable %_ptr_Function_v3int Function
116*c8dee2aaSAndroid Build Coastguard Worker        %143 = OpVariable %_ptr_Function_v3float Function
117*c8dee2aaSAndroid Build Coastguard Worker        %145 = OpVariable %_ptr_Function_v3int Function
118*c8dee2aaSAndroid Build Coastguard Worker        %152 = OpVariable %_ptr_Function_v4float Function
119*c8dee2aaSAndroid Build Coastguard Worker         %51 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0
120*c8dee2aaSAndroid Build Coastguard Worker         %54 = OpLoad %v4float %51
121*c8dee2aaSAndroid Build Coastguard Worker         %55 = OpVectorShuffle %v4float %54 %54 1 1 1 1
122*c8dee2aaSAndroid Build Coastguard Worker         %57 = OpVectorTimesScalar %v4float %55 %float_6
123*c8dee2aaSAndroid Build Coastguard Worker               OpStore %value %57
124*c8dee2aaSAndroid Build Coastguard Worker         %66 = OpCompositeExtract %float %57 0
125*c8dee2aaSAndroid Build Coastguard Worker         %67 = OpAccessChain %_ptr_Function_int %exp %int_0
126*c8dee2aaSAndroid Build Coastguard Worker         %65 = OpExtInst %float %1 Frexp %66 %69
127*c8dee2aaSAndroid Build Coastguard Worker         %70 = OpLoad %int %69
128*c8dee2aaSAndroid Build Coastguard Worker               OpStore %67 %70
129*c8dee2aaSAndroid Build Coastguard Worker         %71 = OpAccessChain %_ptr_Function_float %result %int_0
130*c8dee2aaSAndroid Build Coastguard Worker               OpStore %71 %65
131*c8dee2aaSAndroid Build Coastguard Worker         %73 = OpLoad %v4float %result
132*c8dee2aaSAndroid Build Coastguard Worker         %74 = OpCompositeExtract %float %73 0
133*c8dee2aaSAndroid Build Coastguard Worker         %75 = OpFOrdEqual %bool %74 %float_0_75
134*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %77 None
135*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %75 %76 %77
136*c8dee2aaSAndroid Build Coastguard Worker         %76 = OpLabel
137*c8dee2aaSAndroid Build Coastguard Worker         %78 = OpLoad %v4int %exp
138*c8dee2aaSAndroid Build Coastguard Worker         %79 = OpCompositeExtract %int %78 0
139*c8dee2aaSAndroid Build Coastguard Worker         %80 = OpIEqual %bool %79 %int_3
140*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %77
141*c8dee2aaSAndroid Build Coastguard Worker         %77 = OpLabel
142*c8dee2aaSAndroid Build Coastguard Worker         %81 = OpPhi %bool %false %48 %80 %76
143*c8dee2aaSAndroid Build Coastguard Worker         %82 = OpAccessChain %_ptr_Function_bool %ok %int_0
144*c8dee2aaSAndroid Build Coastguard Worker               OpStore %82 %81
145*c8dee2aaSAndroid Build Coastguard Worker         %85 = OpLoad %v4float %value
146*c8dee2aaSAndroid Build Coastguard Worker         %86 = OpVectorShuffle %v2float %85 %85 0 1
147*c8dee2aaSAndroid Build Coastguard Worker         %84 = OpExtInst %v2float %1 Frexp %86 %87
148*c8dee2aaSAndroid Build Coastguard Worker         %90 = OpLoad %v2int %87
149*c8dee2aaSAndroid Build Coastguard Worker         %91 = OpLoad %v4int %exp
150*c8dee2aaSAndroid Build Coastguard Worker         %92 = OpVectorShuffle %v4int %91 %90 4 5 2 3
151*c8dee2aaSAndroid Build Coastguard Worker               OpStore %exp %92
152*c8dee2aaSAndroid Build Coastguard Worker         %93 = OpLoad %v4float %result
153*c8dee2aaSAndroid Build Coastguard Worker         %94 = OpVectorShuffle %v4float %93 %84 4 5 2 3
154*c8dee2aaSAndroid Build Coastguard Worker               OpStore %result %94
155*c8dee2aaSAndroid Build Coastguard Worker         %95 = OpCompositeExtract %float %94 1
156*c8dee2aaSAndroid Build Coastguard Worker         %96 = OpFOrdEqual %bool %95 %float_0_75
157*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %98 None
158*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %96 %97 %98
159*c8dee2aaSAndroid Build Coastguard Worker         %97 = OpLabel
160*c8dee2aaSAndroid Build Coastguard Worker         %99 = OpCompositeExtract %int %92 1
161*c8dee2aaSAndroid Build Coastguard Worker        %100 = OpIEqual %bool %99 %int_3
162*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %98
163*c8dee2aaSAndroid Build Coastguard Worker         %98 = OpLabel
164*c8dee2aaSAndroid Build Coastguard Worker        %101 = OpPhi %bool %false %77 %100 %97
165*c8dee2aaSAndroid Build Coastguard Worker        %102 = OpAccessChain %_ptr_Function_bool %ok %int_1
166*c8dee2aaSAndroid Build Coastguard Worker               OpStore %102 %101
167*c8dee2aaSAndroid Build Coastguard Worker        %105 = OpLoad %v4float %value
168*c8dee2aaSAndroid Build Coastguard Worker        %106 = OpVectorShuffle %v3float %105 %105 0 1 2
169*c8dee2aaSAndroid Build Coastguard Worker        %104 = OpExtInst %v3float %1 Frexp %106 %107
170*c8dee2aaSAndroid Build Coastguard Worker        %108 = OpLoad %v3int %107
171*c8dee2aaSAndroid Build Coastguard Worker        %109 = OpLoad %v4int %exp
172*c8dee2aaSAndroid Build Coastguard Worker        %110 = OpVectorShuffle %v4int %109 %108 4 5 6 3
173*c8dee2aaSAndroid Build Coastguard Worker               OpStore %exp %110
174*c8dee2aaSAndroid Build Coastguard Worker        %111 = OpLoad %v4float %result
175*c8dee2aaSAndroid Build Coastguard Worker        %112 = OpVectorShuffle %v4float %111 %104 4 5 6 3
176*c8dee2aaSAndroid Build Coastguard Worker               OpStore %result %112
177*c8dee2aaSAndroid Build Coastguard Worker        %113 = OpCompositeExtract %float %112 2
178*c8dee2aaSAndroid Build Coastguard Worker        %114 = OpFOrdEqual %bool %113 %float_0_75
179*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %116 None
180*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %114 %115 %116
181*c8dee2aaSAndroid Build Coastguard Worker        %115 = OpLabel
182*c8dee2aaSAndroid Build Coastguard Worker        %117 = OpCompositeExtract %int %110 2
183*c8dee2aaSAndroid Build Coastguard Worker        %118 = OpIEqual %bool %117 %int_3
184*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %116
185*c8dee2aaSAndroid Build Coastguard Worker        %116 = OpLabel
186*c8dee2aaSAndroid Build Coastguard Worker        %119 = OpPhi %bool %false %98 %118 %115
187*c8dee2aaSAndroid Build Coastguard Worker        %120 = OpAccessChain %_ptr_Function_bool %ok %int_2
188*c8dee2aaSAndroid Build Coastguard Worker               OpStore %120 %119
189*c8dee2aaSAndroid Build Coastguard Worker        %123 = OpLoad %v4float %value
190*c8dee2aaSAndroid Build Coastguard Worker        %122 = OpExtInst %v4float %1 Frexp %123 %124
191*c8dee2aaSAndroid Build Coastguard Worker        %125 = OpLoad %v4int %124
192*c8dee2aaSAndroid Build Coastguard Worker               OpStore %exp %125
193*c8dee2aaSAndroid Build Coastguard Worker               OpStore %result %122
194*c8dee2aaSAndroid Build Coastguard Worker        %126 = OpCompositeExtract %float %122 3
195*c8dee2aaSAndroid Build Coastguard Worker        %127 = OpFOrdEqual %bool %126 %float_0_75
196*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %129 None
197*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %127 %128 %129
198*c8dee2aaSAndroid Build Coastguard Worker        %128 = OpLabel
199*c8dee2aaSAndroid Build Coastguard Worker        %130 = OpCompositeExtract %int %125 3
200*c8dee2aaSAndroid Build Coastguard Worker        %131 = OpIEqual %bool %130 %int_3
201*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %129
202*c8dee2aaSAndroid Build Coastguard Worker        %129 = OpLabel
203*c8dee2aaSAndroid Build Coastguard Worker        %132 = OpPhi %bool %false %116 %131 %128
204*c8dee2aaSAndroid Build Coastguard Worker        %133 = OpAccessChain %_ptr_Function_bool %ok %int_3
205*c8dee2aaSAndroid Build Coastguard Worker               OpStore %133 %132
206*c8dee2aaSAndroid Build Coastguard Worker        %136 = OpLoad %v4float %value
207*c8dee2aaSAndroid Build Coastguard Worker        %137 = OpVectorShuffle %v3float %136 %136 3 2 1
208*c8dee2aaSAndroid Build Coastguard Worker        %135 = OpExtInst %v3float %1 Frexp %137 %138
209*c8dee2aaSAndroid Build Coastguard Worker        %139 = OpLoad %v3int %138
210*c8dee2aaSAndroid Build Coastguard Worker        %140 = OpLoad %v4int %exp
211*c8dee2aaSAndroid Build Coastguard Worker        %141 = OpVectorShuffle %v4int %140 %139 5 1 4 6
212*c8dee2aaSAndroid Build Coastguard Worker               OpStore %exp %141
213*c8dee2aaSAndroid Build Coastguard Worker        %142 = OpVectorShuffle %v3float %135 %135 1 0 2
214*c8dee2aaSAndroid Build Coastguard Worker               OpStore %143 %142
215*c8dee2aaSAndroid Build Coastguard Worker        %144 = OpVectorShuffle %v3int %141 %141 1 0 2
216*c8dee2aaSAndroid Build Coastguard Worker               OpStore %145 %144
217*c8dee2aaSAndroid Build Coastguard Worker        %146 = OpFunctionCall %bool %checkIntrinsicAsFunctionArg_bf3i3 %143 %145
218*c8dee2aaSAndroid Build Coastguard Worker               OpStore %funcOk %146
219*c8dee2aaSAndroid Build Coastguard Worker        %148 = OpLoad %v4bool %ok
220*c8dee2aaSAndroid Build Coastguard Worker        %147 = OpAll %bool %148
221*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %150 None
222*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %147 %149 %150
223*c8dee2aaSAndroid Build Coastguard Worker        %149 = OpLabel
224*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %150
225*c8dee2aaSAndroid Build Coastguard Worker        %150 = OpLabel
226*c8dee2aaSAndroid Build Coastguard Worker        %151 = OpPhi %bool %false %129 %146 %149
227*c8dee2aaSAndroid Build Coastguard Worker               OpSelectionMerge %155 None
228*c8dee2aaSAndroid Build Coastguard Worker               OpBranchConditional %151 %153 %154
229*c8dee2aaSAndroid Build Coastguard Worker        %153 = OpLabel
230*c8dee2aaSAndroid Build Coastguard Worker        %156 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0
231*c8dee2aaSAndroid Build Coastguard Worker        %157 = OpLoad %v4float %156
232*c8dee2aaSAndroid Build Coastguard Worker               OpStore %152 %157
233*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %155
234*c8dee2aaSAndroid Build Coastguard Worker        %154 = OpLabel
235*c8dee2aaSAndroid Build Coastguard Worker        %158 = OpAccessChain %_ptr_Uniform_v4float %8 %int_1
236*c8dee2aaSAndroid Build Coastguard Worker        %159 = OpLoad %v4float %158
237*c8dee2aaSAndroid Build Coastguard Worker               OpStore %152 %159
238*c8dee2aaSAndroid Build Coastguard Worker               OpBranch %155
239*c8dee2aaSAndroid Build Coastguard Worker        %155 = OpLabel
240*c8dee2aaSAndroid Build Coastguard Worker        %160 = OpLoad %v4float %152
241*c8dee2aaSAndroid Build Coastguard Worker               OpReturnValue %160
242*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
243