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 "../Deqpgles2BaseFunc.h"
19#include "../ActsDeqpgles20010TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009232,
27        "dEQP-GLES2.functional.shaders.",
28        "random.conditionals.fragment.0");
29
30static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009233,
31        "dEQP-GLES2.functional.shaders.",
32        "random.conditionals.fragment.1");
33
34static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009234,
35        "dEQP-GLES2.functional.shaders.",
36        "random.conditionals.fragment.2");
37
38static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009235,
39        "dEQP-GLES2.functional.shaders.",
40        "random.conditionals.fragment.3");
41
42static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009236,
43        "dEQP-GLES2.functional.shaders.",
44        "random.conditionals.fragment.4");
45
46static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009237,
47        "dEQP-GLES2.functional.shaders.",
48        "random.conditionals.fragment.5");
49
50static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009238,
51        "dEQP-GLES2.functional.shaders.",
52        "random.conditionals.fragment.6");
53
54static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009239,
55        "dEQP-GLES2.functional.shaders.",
56        "random.conditionals.fragment.7");
57
58static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009240,
59        "dEQP-GLES2.functional.shaders.",
60        "random.conditionals.fragment.8");
61
62static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009241,
63        "dEQP-GLES2.functional.shaders.",
64        "random.conditionals.fragment.9");
65
66static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009242,
67        "dEQP-GLES2.functional.shaders.",
68        "random.conditionals.fragment.10");
69
70static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009243,
71        "dEQP-GLES2.functional.shaders.",
72        "random.conditionals.fragment.11");
73
74static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009244,
75        "dEQP-GLES2.functional.shaders.",
76        "random.conditionals.fragment.12");
77
78static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009245,
79        "dEQP-GLES2.functional.shaders.",
80        "random.conditionals.fragment.13");
81
82static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009246,
83        "dEQP-GLES2.functional.shaders.",
84        "random.conditionals.fragment.14");
85
86static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009247,
87        "dEQP-GLES2.functional.shaders.",
88        "random.conditionals.fragment.15");
89
90static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009248,
91        "dEQP-GLES2.functional.shaders.",
92        "random.conditionals.fragment.16");
93
94static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009249,
95        "dEQP-GLES2.functional.shaders.",
96        "random.conditionals.fragment.17");
97
98static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009250,
99        "dEQP-GLES2.functional.shaders.",
100        "random.conditionals.fragment.18");
101
102static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009251,
103        "dEQP-GLES2.functional.shaders.",
104        "random.conditionals.fragment.19");
105
106static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009252,
107        "dEQP-GLES2.functional.shaders.",
108        "random.conditionals.fragment.20");
109
110static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009253,
111        "dEQP-GLES2.functional.shaders.",
112        "random.conditionals.fragment.21");
113
114static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009254,
115        "dEQP-GLES2.functional.shaders.",
116        "random.conditionals.fragment.22");
117
118static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009255,
119        "dEQP-GLES2.functional.shaders.",
120        "random.conditionals.fragment.23");
121
122static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009256,
123        "dEQP-GLES2.functional.shaders.",
124        "random.conditionals.fragment.24");
125
126static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009257,
127        "dEQP-GLES2.functional.shaders.",
128        "random.conditionals.fragment.25");
129
130static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009258,
131        "dEQP-GLES2.functional.shaders.",
132        "random.conditionals.fragment.26");
133
134static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009259,
135        "dEQP-GLES2.functional.shaders.",
136        "random.conditionals.fragment.27");
137
138static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009260,
139        "dEQP-GLES2.functional.shaders.",
140        "random.conditionals.fragment.28");
141
142static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009261,
143        "dEQP-GLES2.functional.shaders.",
144        "random.conditionals.fragment.29");
145
146static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009262,
147        "dEQP-GLES2.functional.shaders.",
148        "random.conditionals.fragment.30");
149
150static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009263,
151        "dEQP-GLES2.functional.shaders.",
152        "random.conditionals.fragment.31");
153
154static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009264,
155        "dEQP-GLES2.functional.shaders.",
156        "random.conditionals.fragment.32");
157
158static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009265,
159        "dEQP-GLES2.functional.shaders.",
160        "random.conditionals.fragment.33");
161
162static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009266,
163        "dEQP-GLES2.functional.shaders.",
164        "random.conditionals.fragment.34");
165
166static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009267,
167        "dEQP-GLES2.functional.shaders.",
168        "random.conditionals.fragment.35");
169
170static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009268,
171        "dEQP-GLES2.functional.shaders.",
172        "random.conditionals.fragment.36");
173
174static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009269,
175        "dEQP-GLES2.functional.shaders.",
176        "random.conditionals.fragment.37");
177
178static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009270,
179        "dEQP-GLES2.functional.shaders.",
180        "random.conditionals.fragment.38");
181
182static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009271,
183        "dEQP-GLES2.functional.shaders.",
184        "random.conditionals.fragment.39");
185
186static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009272,
187        "dEQP-GLES2.functional.shaders.",
188        "random.conditionals.fragment.40");
189
190static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009273,
191        "dEQP-GLES2.functional.shaders.",
192        "random.conditionals.fragment.41");
193
194static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009274,
195        "dEQP-GLES2.functional.shaders.",
196        "random.conditionals.fragment.42");
197
198static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009275,
199        "dEQP-GLES2.functional.shaders.",
200        "random.conditionals.fragment.43");
201
202static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009276,
203        "dEQP-GLES2.functional.shaders.",
204        "random.conditionals.fragment.44");
205
206static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009277,
207        "dEQP-GLES2.functional.shaders.",
208        "random.conditionals.fragment.45");
209
210static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009278,
211        "dEQP-GLES2.functional.shaders.",
212        "random.conditionals.fragment.46");
213
214static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009279,
215        "dEQP-GLES2.functional.shaders.",
216        "random.conditionals.fragment.47");
217
218static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009280,
219        "dEQP-GLES2.functional.shaders.",
220        "random.conditionals.fragment.48");
221
222static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009281,
223        "dEQP-GLES2.functional.shaders.",
224        "random.conditionals.fragment.49");
225
226static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009282,
227        "dEQP-GLES2.functional.shaders.",
228        "random.conditionals.fragment.50");
229
230static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009283,
231        "dEQP-GLES2.functional.shaders.",
232        "random.conditionals.fragment.51");
233
234static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009284,
235        "dEQP-GLES2.functional.shaders.",
236        "random.conditionals.fragment.52");
237
238static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009285,
239        "dEQP-GLES2.functional.shaders.",
240        "random.conditionals.fragment.53");
241
242static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009286,
243        "dEQP-GLES2.functional.shaders.",
244        "random.conditionals.fragment.54");
245
246static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009287,
247        "dEQP-GLES2.functional.shaders.",
248        "random.conditionals.fragment.55");
249
250static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009288,
251        "dEQP-GLES2.functional.shaders.",
252        "random.conditionals.fragment.56");
253
254static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009289,
255        "dEQP-GLES2.functional.shaders.",
256        "random.conditionals.fragment.57");
257
258static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009290,
259        "dEQP-GLES2.functional.shaders.",
260        "random.conditionals.fragment.58");
261
262static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009291,
263        "dEQP-GLES2.functional.shaders.",
264        "random.conditionals.fragment.59");
265
266static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009292,
267        "dEQP-GLES2.functional.shaders.",
268        "random.conditionals.fragment.60");
269
270static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009293,
271        "dEQP-GLES2.functional.shaders.",
272        "random.conditionals.fragment.61");
273
274static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009294,
275        "dEQP-GLES2.functional.shaders.",
276        "random.conditionals.fragment.62");
277
278static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009295,
279        "dEQP-GLES2.functional.shaders.",
280        "random.conditionals.fragment.63");
281
282static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009296,
283        "dEQP-GLES2.functional.shaders.",
284        "random.conditionals.fragment.64");
285
286static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009297,
287        "dEQP-GLES2.functional.shaders.",
288        "random.conditionals.fragment.65");
289
290static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009298,
291        "dEQP-GLES2.functional.shaders.",
292        "random.conditionals.fragment.66");
293
294static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009299,
295        "dEQP-GLES2.functional.shaders.",
296        "random.conditionals.fragment.67");
297
298static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009300,
299        "dEQP-GLES2.functional.shaders.",
300        "random.conditionals.fragment.68");
301
302static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009301,
303        "dEQP-GLES2.functional.shaders.",
304        "random.conditionals.fragment.69");
305
306static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009302,
307        "dEQP-GLES2.functional.shaders.",
308        "random.conditionals.fragment.70");
309
310static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009303,
311        "dEQP-GLES2.functional.shaders.",
312        "random.conditionals.fragment.71");
313
314static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009304,
315        "dEQP-GLES2.functional.shaders.",
316        "random.conditionals.fragment.72");
317
318static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009305,
319        "dEQP-GLES2.functional.shaders.",
320        "random.conditionals.fragment.73");
321
322static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009306,
323        "dEQP-GLES2.functional.shaders.",
324        "random.conditionals.fragment.74");
325
326static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009307,
327        "dEQP-GLES2.functional.shaders.",
328        "random.conditionals.fragment.75");
329
330static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009308,
331        "dEQP-GLES2.functional.shaders.",
332        "random.conditionals.fragment.76");
333
334static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009309,
335        "dEQP-GLES2.functional.shaders.",
336        "random.conditionals.fragment.77");
337
338static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009310,
339        "dEQP-GLES2.functional.shaders.",
340        "random.conditionals.fragment.78");
341
342static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009311,
343        "dEQP-GLES2.functional.shaders.",
344        "random.conditionals.fragment.79");
345
346static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009312,
347        "dEQP-GLES2.functional.shaders.",
348        "random.conditionals.fragment.80");
349
350static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009313,
351        "dEQP-GLES2.functional.shaders.",
352        "random.conditionals.fragment.81");
353
354static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009314,
355        "dEQP-GLES2.functional.shaders.",
356        "random.conditionals.fragment.82");
357
358static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009315,
359        "dEQP-GLES2.functional.shaders.",
360        "random.conditionals.fragment.83");
361
362static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009316,
363        "dEQP-GLES2.functional.shaders.",
364        "random.conditionals.fragment.84");
365
366static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009317,
367        "dEQP-GLES2.functional.shaders.",
368        "random.conditionals.fragment.85");
369
370static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009318,
371        "dEQP-GLES2.functional.shaders.",
372        "random.conditionals.fragment.86");
373
374static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009319,
375        "dEQP-GLES2.functional.shaders.",
376        "random.conditionals.fragment.87");
377
378static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009320,
379        "dEQP-GLES2.functional.shaders.",
380        "random.conditionals.fragment.88");
381
382static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009321,
383        "dEQP-GLES2.functional.shaders.",
384        "random.conditionals.fragment.89");
385
386static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009322,
387        "dEQP-GLES2.functional.shaders.",
388        "random.conditionals.fragment.90");
389
390static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009323,
391        "dEQP-GLES2.functional.shaders.",
392        "random.conditionals.fragment.91");
393
394static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009324,
395        "dEQP-GLES2.functional.shaders.",
396        "random.conditionals.fragment.92");
397
398static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009325,
399        "dEQP-GLES2.functional.shaders.",
400        "random.conditionals.fragment.93");
401
402static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009326,
403        "dEQP-GLES2.functional.shaders.",
404        "random.conditionals.fragment.94");
405
406static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009327,
407        "dEQP-GLES2.functional.shaders.",
408        "random.conditionals.fragment.95");
409
410static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009328,
411        "dEQP-GLES2.functional.shaders.",
412        "random.conditionals.fragment.96");
413
414static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009329,
415        "dEQP-GLES2.functional.shaders.",
416        "random.conditionals.fragment.97");
417
418static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009330,
419        "dEQP-GLES2.functional.shaders.",
420        "random.conditionals.fragment.98");
421
422static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009331,
423        "dEQP-GLES2.functional.shaders.",
424        "random.conditionals.fragment.99");
425