1/*
2 * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#include <climits>
17#include <gtest/gtest.h>
18#include "../Deqpgles3BaseFunc.h"
19#include "../ActsDeqpgles30040TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039140,
27        "dEQP-GLES3.functional.fragment_o",
28        "ut.array.float.rgba32f_lowp_float");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039141,
31        "dEQP-GLES3.functional.fragment_o",
32        "ut.array.float.rgba32f_lowp_vec2");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039142,
35        "dEQP-GLES3.functional.fragment_o",
36        "ut.array.float.rgba32f_lowp_vec3");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039143,
39        "dEQP-GLES3.functional.fragment_o",
40        "ut.array.float.rgba32f_lowp_vec4");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039144,
43        "dEQP-GLES3.functional.fragment_out",
44        ".array.float.rgba32f_mediump_float");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039145,
47        "dEQP-GLES3.functional.fragment_ou",
48        "t.array.float.rgba32f_mediump_vec2");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039146,
51        "dEQP-GLES3.functional.fragment_ou",
52        "t.array.float.rgba32f_mediump_vec3");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039147,
55        "dEQP-GLES3.functional.fragment_ou",
56        "t.array.float.rgba32f_mediump_vec4");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039148,
59        "dEQP-GLES3.functional.fragment_ou",
60        "t.array.float.rgba32f_highp_float");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039149,
63        "dEQP-GLES3.functional.fragment_o",
64        "ut.array.float.rgba32f_highp_vec2");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039150,
67        "dEQP-GLES3.functional.fragment_o",
68        "ut.array.float.rgba32f_highp_vec3");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039151,
71        "dEQP-GLES3.functional.fragment_o",
72        "ut.array.float.rgba32f_highp_vec4");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039152,
75        "dEQP-GLES3.functional.fragment_o",
76        "ut.array.float.rgba16f_lowp_float");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039153,
79        "dEQP-GLES3.functional.fragment_o",
80        "ut.array.float.rgba16f_lowp_vec2");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039154,
83        "dEQP-GLES3.functional.fragment_o",
84        "ut.array.float.rgba16f_lowp_vec3");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039155,
87        "dEQP-GLES3.functional.fragment_o",
88        "ut.array.float.rgba16f_lowp_vec4");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039156,
91        "dEQP-GLES3.functional.fragment_out",
92        ".array.float.rgba16f_mediump_float");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039157,
95        "dEQP-GLES3.functional.fragment_ou",
96        "t.array.float.rgba16f_mediump_vec2");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039158,
99        "dEQP-GLES3.functional.fragment_ou",
100        "t.array.float.rgba16f_mediump_vec3");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039159,
103        "dEQP-GLES3.functional.fragment_ou",
104        "t.array.float.rgba16f_mediump_vec4");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039160,
107        "dEQP-GLES3.functional.fragment_ou",
108        "t.array.float.rgba16f_highp_float");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039161,
111        "dEQP-GLES3.functional.fragment_o",
112        "ut.array.float.rgba16f_highp_vec2");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039162,
115        "dEQP-GLES3.functional.fragment_o",
116        "ut.array.float.rgba16f_highp_vec3");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039163,
119        "dEQP-GLES3.functional.fragment_o",
120        "ut.array.float.rgba16f_highp_vec4");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039164,
123        "dEQP-GLES3.functional.fragment_out.a",
124        "rray.float.r11f_g11f_b10f_lowp_float");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039165,
127        "dEQP-GLES3.functional.fragment_out.",
128        "array.float.r11f_g11f_b10f_lowp_vec2");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039166,
131        "dEQP-GLES3.functional.fragment_out.",
132        "array.float.r11f_g11f_b10f_lowp_vec3");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039167,
135        "dEQP-GLES3.functional.fragment_out.",
136        "array.float.r11f_g11f_b10f_lowp_vec4");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039168,
139        "dEQP-GLES3.functional.fragment_out.ar",
140        "ray.float.r11f_g11f_b10f_mediump_float");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039169,
143        "dEQP-GLES3.functional.fragment_out.ar",
144        "ray.float.r11f_g11f_b10f_mediump_vec2");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039170,
147        "dEQP-GLES3.functional.fragment_out.ar",
148        "ray.float.r11f_g11f_b10f_mediump_vec3");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039171,
151        "dEQP-GLES3.functional.fragment_out.ar",
152        "ray.float.r11f_g11f_b10f_mediump_vec4");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039172,
155        "dEQP-GLES3.functional.fragment_out.a",
156        "rray.float.r11f_g11f_b10f_highp_float");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039173,
159        "dEQP-GLES3.functional.fragment_out.a",
160        "rray.float.r11f_g11f_b10f_highp_vec2");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039174,
163        "dEQP-GLES3.functional.fragment_out.a",
164        "rray.float.r11f_g11f_b10f_highp_vec3");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039175,
167        "dEQP-GLES3.functional.fragment_out.a",
168        "rray.float.r11f_g11f_b10f_highp_vec4");
169
170static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039176,
171        "dEQP-GLES3.functional.fragment_",
172        "out.array.float.rg32f_lowp_float");
173
174static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039177,
175        "dEQP-GLES3.functional.fragment_",
176        "out.array.float.rg32f_lowp_vec2");
177
178static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039178,
179        "dEQP-GLES3.functional.fragment_",
180        "out.array.float.rg32f_lowp_vec3");
181
182static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039179,
183        "dEQP-GLES3.functional.fragment_",
184        "out.array.float.rg32f_lowp_vec4");
185
186static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039180,
187        "dEQP-GLES3.functional.fragment_ou",
188        "t.array.float.rg32f_mediump_float");
189
190static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039181,
191        "dEQP-GLES3.functional.fragment_o",
192        "ut.array.float.rg32f_mediump_vec2");
193
194static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039182,
195        "dEQP-GLES3.functional.fragment_o",
196        "ut.array.float.rg32f_mediump_vec3");
197
198static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039183,
199        "dEQP-GLES3.functional.fragment_o",
200        "ut.array.float.rg32f_mediump_vec4");
201
202static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039184,
203        "dEQP-GLES3.functional.fragment_o",
204        "ut.array.float.rg32f_highp_float");
205
206static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039185,
207        "dEQP-GLES3.functional.fragment_",
208        "out.array.float.rg32f_highp_vec2");
209
210static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039186,
211        "dEQP-GLES3.functional.fragment_",
212        "out.array.float.rg32f_highp_vec3");
213
214static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039187,
215        "dEQP-GLES3.functional.fragment_",
216        "out.array.float.rg32f_highp_vec4");
217
218static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039188,
219        "dEQP-GLES3.functional.fragment_",
220        "out.array.float.rg16f_lowp_float");
221
222static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039189,
223        "dEQP-GLES3.functional.fragment_",
224        "out.array.float.rg16f_lowp_vec2");
225
226static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039190,
227        "dEQP-GLES3.functional.fragment_",
228        "out.array.float.rg16f_lowp_vec3");
229
230static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039191,
231        "dEQP-GLES3.functional.fragment_",
232        "out.array.float.rg16f_lowp_vec4");
233
234static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039192,
235        "dEQP-GLES3.functional.fragment_ou",
236        "t.array.float.rg16f_mediump_float");
237
238static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039193,
239        "dEQP-GLES3.functional.fragment_o",
240        "ut.array.float.rg16f_mediump_vec2");
241
242static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039194,
243        "dEQP-GLES3.functional.fragment_o",
244        "ut.array.float.rg16f_mediump_vec3");
245
246static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039195,
247        "dEQP-GLES3.functional.fragment_o",
248        "ut.array.float.rg16f_mediump_vec4");
249
250static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039196,
251        "dEQP-GLES3.functional.fragment_o",
252        "ut.array.float.rg16f_highp_float");
253
254static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039197,
255        "dEQP-GLES3.functional.fragment_",
256        "out.array.float.rg16f_highp_vec2");
257
258static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039198,
259        "dEQP-GLES3.functional.fragment_",
260        "out.array.float.rg16f_highp_vec3");
261
262static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039199,
263        "dEQP-GLES3.functional.fragment_",
264        "out.array.float.rg16f_highp_vec4");
265
266static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039200,
267        "dEQP-GLES3.functional.fragment_",
268        "out.array.float.r32f_lowp_float");
269
270static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039201,
271        "dEQP-GLES3.functional.fragment",
272        "_out.array.float.r32f_lowp_vec2");
273
274static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039202,
275        "dEQP-GLES3.functional.fragment",
276        "_out.array.float.r32f_lowp_vec3");
277
278static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039203,
279        "dEQP-GLES3.functional.fragment",
280        "_out.array.float.r32f_lowp_vec4");
281
282static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039204,
283        "dEQP-GLES3.functional.fragment_o",
284        "ut.array.float.r32f_mediump_float");
285
286static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039205,
287        "dEQP-GLES3.functional.fragment_o",
288        "ut.array.float.r32f_mediump_vec2");
289
290static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039206,
291        "dEQP-GLES3.functional.fragment_o",
292        "ut.array.float.r32f_mediump_vec3");
293
294static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039207,
295        "dEQP-GLES3.functional.fragment_o",
296        "ut.array.float.r32f_mediump_vec4");
297
298static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039208,
299        "dEQP-GLES3.functional.fragment_",
300        "out.array.float.r32f_highp_float");
301
302static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039209,
303        "dEQP-GLES3.functional.fragment_",
304        "out.array.float.r32f_highp_vec2");
305
306static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039210,
307        "dEQP-GLES3.functional.fragment_",
308        "out.array.float.r32f_highp_vec3");
309
310static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039211,
311        "dEQP-GLES3.functional.fragment_",
312        "out.array.float.r32f_highp_vec4");
313
314static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039212,
315        "dEQP-GLES3.functional.fragment_",
316        "out.array.float.r16f_lowp_float");
317
318static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039213,
319        "dEQP-GLES3.functional.fragment",
320        "_out.array.float.r16f_lowp_vec2");
321
322static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039214,
323        "dEQP-GLES3.functional.fragment",
324        "_out.array.float.r16f_lowp_vec3");
325
326static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039215,
327        "dEQP-GLES3.functional.fragment",
328        "_out.array.float.r16f_lowp_vec4");
329
330static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039216,
331        "dEQP-GLES3.functional.fragment_o",
332        "ut.array.float.r16f_mediump_float");
333
334static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039217,
335        "dEQP-GLES3.functional.fragment_o",
336        "ut.array.float.r16f_mediump_vec2");
337
338static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039218,
339        "dEQP-GLES3.functional.fragment_o",
340        "ut.array.float.r16f_mediump_vec3");
341
342static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039219,
343        "dEQP-GLES3.functional.fragment_o",
344        "ut.array.float.r16f_mediump_vec4");
345
346static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039220,
347        "dEQP-GLES3.functional.fragment_",
348        "out.array.float.r16f_highp_float");
349
350static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039221,
351        "dEQP-GLES3.functional.fragment_",
352        "out.array.float.r16f_highp_vec2");
353
354static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039222,
355        "dEQP-GLES3.functional.fragment_",
356        "out.array.float.r16f_highp_vec3");
357
358static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039223,
359        "dEQP-GLES3.functional.fragment_",
360        "out.array.float.r16f_highp_vec4");
361