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 "../ActsDeqpgles30021TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020894,
27        "dEQP-GLES3.functional.shaders.",
28        "random.conditionals.fragment.0");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020895,
31        "dEQP-GLES3.functional.shaders.",
32        "random.conditionals.fragment.1");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020896,
35        "dEQP-GLES3.functional.shaders.",
36        "random.conditionals.fragment.2");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020897,
39        "dEQP-GLES3.functional.shaders.",
40        "random.conditionals.fragment.3");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020898,
43        "dEQP-GLES3.functional.shaders.",
44        "random.conditionals.fragment.4");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020899,
47        "dEQP-GLES3.functional.shaders.",
48        "random.conditionals.fragment.5");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020900,
51        "dEQP-GLES3.functional.shaders.",
52        "random.conditionals.fragment.6");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020901,
55        "dEQP-GLES3.functional.shaders.",
56        "random.conditionals.fragment.7");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020902,
59        "dEQP-GLES3.functional.shaders.",
60        "random.conditionals.fragment.8");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020903,
63        "dEQP-GLES3.functional.shaders.",
64        "random.conditionals.fragment.9");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020904,
67        "dEQP-GLES3.functional.shaders.",
68        "random.conditionals.fragment.10");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020905,
71        "dEQP-GLES3.functional.shaders.",
72        "random.conditionals.fragment.11");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020906,
75        "dEQP-GLES3.functional.shaders.",
76        "random.conditionals.fragment.12");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020907,
79        "dEQP-GLES3.functional.shaders.",
80        "random.conditionals.fragment.13");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020908,
83        "dEQP-GLES3.functional.shaders.",
84        "random.conditionals.fragment.14");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020909,
87        "dEQP-GLES3.functional.shaders.",
88        "random.conditionals.fragment.15");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020910,
91        "dEQP-GLES3.functional.shaders.",
92        "random.conditionals.fragment.16");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020911,
95        "dEQP-GLES3.functional.shaders.",
96        "random.conditionals.fragment.17");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020912,
99        "dEQP-GLES3.functional.shaders.",
100        "random.conditionals.fragment.18");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020913,
103        "dEQP-GLES3.functional.shaders.",
104        "random.conditionals.fragment.19");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020914,
107        "dEQP-GLES3.functional.shaders.",
108        "random.conditionals.fragment.20");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020915,
111        "dEQP-GLES3.functional.shaders.",
112        "random.conditionals.fragment.21");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020916,
115        "dEQP-GLES3.functional.shaders.",
116        "random.conditionals.fragment.22");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020917,
119        "dEQP-GLES3.functional.shaders.",
120        "random.conditionals.fragment.23");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020918,
123        "dEQP-GLES3.functional.shaders.",
124        "random.conditionals.fragment.24");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020919,
127        "dEQP-GLES3.functional.shaders.",
128        "random.conditionals.fragment.25");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020920,
131        "dEQP-GLES3.functional.shaders.",
132        "random.conditionals.fragment.26");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020921,
135        "dEQP-GLES3.functional.shaders.",
136        "random.conditionals.fragment.27");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020922,
139        "dEQP-GLES3.functional.shaders.",
140        "random.conditionals.fragment.28");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020923,
143        "dEQP-GLES3.functional.shaders.",
144        "random.conditionals.fragment.29");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020924,
147        "dEQP-GLES3.functional.shaders.",
148        "random.conditionals.fragment.30");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020925,
151        "dEQP-GLES3.functional.shaders.",
152        "random.conditionals.fragment.31");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020926,
155        "dEQP-GLES3.functional.shaders.",
156        "random.conditionals.fragment.32");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020927,
159        "dEQP-GLES3.functional.shaders.",
160        "random.conditionals.fragment.33");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020928,
163        "dEQP-GLES3.functional.shaders.",
164        "random.conditionals.fragment.34");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020929,
167        "dEQP-GLES3.functional.shaders.",
168        "random.conditionals.fragment.35");
169
170static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020930,
171        "dEQP-GLES3.functional.shaders.",
172        "random.conditionals.fragment.36");
173
174static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020931,
175        "dEQP-GLES3.functional.shaders.",
176        "random.conditionals.fragment.37");
177
178static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020932,
179        "dEQP-GLES3.functional.shaders.",
180        "random.conditionals.fragment.38");
181
182static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020933,
183        "dEQP-GLES3.functional.shaders.",
184        "random.conditionals.fragment.39");
185
186static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020934,
187        "dEQP-GLES3.functional.shaders.",
188        "random.conditionals.fragment.40");
189
190static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020935,
191        "dEQP-GLES3.functional.shaders.",
192        "random.conditionals.fragment.41");
193
194static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020936,
195        "dEQP-GLES3.functional.shaders.",
196        "random.conditionals.fragment.42");
197
198static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020937,
199        "dEQP-GLES3.functional.shaders.",
200        "random.conditionals.fragment.43");
201
202static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020938,
203        "dEQP-GLES3.functional.shaders.",
204        "random.conditionals.fragment.44");
205
206static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020939,
207        "dEQP-GLES3.functional.shaders.",
208        "random.conditionals.fragment.45");
209
210static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020940,
211        "dEQP-GLES3.functional.shaders.",
212        "random.conditionals.fragment.46");
213
214static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020941,
215        "dEQP-GLES3.functional.shaders.",
216        "random.conditionals.fragment.47");
217
218static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020942,
219        "dEQP-GLES3.functional.shaders.",
220        "random.conditionals.fragment.48");
221
222static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020943,
223        "dEQP-GLES3.functional.shaders.",
224        "random.conditionals.fragment.49");
225
226static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020944,
227        "dEQP-GLES3.functional.shaders.",
228        "random.conditionals.fragment.50");
229
230static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020945,
231        "dEQP-GLES3.functional.shaders.",
232        "random.conditionals.fragment.51");
233
234static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020946,
235        "dEQP-GLES3.functional.shaders.",
236        "random.conditionals.fragment.52");
237
238static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020947,
239        "dEQP-GLES3.functional.shaders.",
240        "random.conditionals.fragment.53");
241
242static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020948,
243        "dEQP-GLES3.functional.shaders.",
244        "random.conditionals.fragment.54");
245
246static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020949,
247        "dEQP-GLES3.functional.shaders.",
248        "random.conditionals.fragment.55");
249
250static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020950,
251        "dEQP-GLES3.functional.shaders.",
252        "random.conditionals.fragment.56");
253
254static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020951,
255        "dEQP-GLES3.functional.shaders.",
256        "random.conditionals.fragment.57");
257
258static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020952,
259        "dEQP-GLES3.functional.shaders.",
260        "random.conditionals.fragment.58");
261
262static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020953,
263        "dEQP-GLES3.functional.shaders.",
264        "random.conditionals.fragment.59");
265
266static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020954,
267        "dEQP-GLES3.functional.shaders.",
268        "random.conditionals.fragment.60");
269
270static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020955,
271        "dEQP-GLES3.functional.shaders.",
272        "random.conditionals.fragment.61");
273
274static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020956,
275        "dEQP-GLES3.functional.shaders.",
276        "random.conditionals.fragment.62");
277
278static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020957,
279        "dEQP-GLES3.functional.shaders.",
280        "random.conditionals.fragment.63");
281
282static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020958,
283        "dEQP-GLES3.functional.shaders.",
284        "random.conditionals.fragment.64");
285
286static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020959,
287        "dEQP-GLES3.functional.shaders.",
288        "random.conditionals.fragment.65");
289
290static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020960,
291        "dEQP-GLES3.functional.shaders.",
292        "random.conditionals.fragment.66");
293
294static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020961,
295        "dEQP-GLES3.functional.shaders.",
296        "random.conditionals.fragment.67");
297
298static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020962,
299        "dEQP-GLES3.functional.shaders.",
300        "random.conditionals.fragment.68");
301
302static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020963,
303        "dEQP-GLES3.functional.shaders.",
304        "random.conditionals.fragment.69");
305
306static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020964,
307        "dEQP-GLES3.functional.shaders.",
308        "random.conditionals.fragment.70");
309
310static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020965,
311        "dEQP-GLES3.functional.shaders.",
312        "random.conditionals.fragment.71");
313
314static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020966,
315        "dEQP-GLES3.functional.shaders.",
316        "random.conditionals.fragment.72");
317
318static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020967,
319        "dEQP-GLES3.functional.shaders.",
320        "random.conditionals.fragment.73");
321
322static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020968,
323        "dEQP-GLES3.functional.shaders.",
324        "random.conditionals.fragment.74");
325
326static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020969,
327        "dEQP-GLES3.functional.shaders.",
328        "random.conditionals.fragment.75");
329
330static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020970,
331        "dEQP-GLES3.functional.shaders.",
332        "random.conditionals.fragment.76");
333
334static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020971,
335        "dEQP-GLES3.functional.shaders.",
336        "random.conditionals.fragment.77");
337
338static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020972,
339        "dEQP-GLES3.functional.shaders.",
340        "random.conditionals.fragment.78");
341
342static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020973,
343        "dEQP-GLES3.functional.shaders.",
344        "random.conditionals.fragment.79");
345
346static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020974,
347        "dEQP-GLES3.functional.shaders.",
348        "random.conditionals.fragment.80");
349
350static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020975,
351        "dEQP-GLES3.functional.shaders.",
352        "random.conditionals.fragment.81");
353
354static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020976,
355        "dEQP-GLES3.functional.shaders.",
356        "random.conditionals.fragment.82");
357
358static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020977,
359        "dEQP-GLES3.functional.shaders.",
360        "random.conditionals.fragment.83");
361
362static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020978,
363        "dEQP-GLES3.functional.shaders.",
364        "random.conditionals.fragment.84");
365
366static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020979,
367        "dEQP-GLES3.functional.shaders.",
368        "random.conditionals.fragment.85");
369
370static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020980,
371        "dEQP-GLES3.functional.shaders.",
372        "random.conditionals.fragment.86");
373
374static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020981,
375        "dEQP-GLES3.functional.shaders.",
376        "random.conditionals.fragment.87");
377
378static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020982,
379        "dEQP-GLES3.functional.shaders.",
380        "random.conditionals.fragment.88");
381
382static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020983,
383        "dEQP-GLES3.functional.shaders.",
384        "random.conditionals.fragment.89");
385
386static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020984,
387        "dEQP-GLES3.functional.shaders.",
388        "random.conditionals.fragment.90");
389
390static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020985,
391        "dEQP-GLES3.functional.shaders.",
392        "random.conditionals.fragment.91");
393
394static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020986,
395        "dEQP-GLES3.functional.shaders.",
396        "random.conditionals.fragment.92");
397
398static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020987,
399        "dEQP-GLES3.functional.shaders.",
400        "random.conditionals.fragment.93");
401
402static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020988,
403        "dEQP-GLES3.functional.shaders.",
404        "random.conditionals.fragment.94");
405
406static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020989,
407        "dEQP-GLES3.functional.shaders.",
408        "random.conditionals.fragment.95");
409
410static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020990,
411        "dEQP-GLES3.functional.shaders.",
412        "random.conditionals.fragment.96");
413
414static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020991,
415        "dEQP-GLES3.functional.shaders.",
416        "random.conditionals.fragment.97");
417
418static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020992,
419        "dEQP-GLES3.functional.shaders.",
420        "random.conditionals.fragment.98");
421
422static SHRINK_HWTEST_F(ActsDeqpgles30021TestSuite, TestCase_020993,
423        "dEQP-GLES3.functional.shaders.",
424        "random.conditionals.fragment.99");
425