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 "../Deqpgles31BaseFunc.h"
19#include "../ActsDeqpgles310002TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001041,
27        "dEQP-GLES31.functional.shaders.builtin_fu",
28        "nctions.integer.uaddcarry.uint_lowp_vertex");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001042,
31        "dEQP-GLES31.functional.shaders.builtin_fun",
32        "ctions.integer.uaddcarry.uint_lowp_fragment");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001043,
35        "dEQP-GLES31.functional.shaders.builtin_fun",
36        "ctions.integer.uaddcarry.uint_lowp_geometry");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001044,
39        "dEQP-GLES31.functional.shaders.builtin_funct",
40        "ions.integer.uaddcarry.uint_lowp_tess_control");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001045,
43        "dEQP-GLES31.functional.shaders.builtin_func",
44        "tions.integer.uaddcarry.uint_lowp_tess_eval");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001046,
47        "dEQP-GLES31.functional.shaders.builtin_fun",
48        "ctions.integer.uaddcarry.uint_lowp_compute");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001047,
51        "dEQP-GLES31.functional.shaders.builtin_func",
52        "tions.integer.uaddcarry.uint_mediump_vertex");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001048,
55        "dEQP-GLES31.functional.shaders.builtin_funct",
56        "ions.integer.uaddcarry.uint_mediump_fragment");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001049,
59        "dEQP-GLES31.functional.shaders.builtin_funct",
60        "ions.integer.uaddcarry.uint_mediump_geometry");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001050,
63        "dEQP-GLES31.functional.shaders.builtin_functio",
64        "ns.integer.uaddcarry.uint_mediump_tess_control");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001051,
67        "dEQP-GLES31.functional.shaders.builtin_funct",
68        "ions.integer.uaddcarry.uint_mediump_tess_eval");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001052,
71        "dEQP-GLES31.functional.shaders.builtin_func",
72        "tions.integer.uaddcarry.uint_mediump_compute");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001053,
75        "dEQP-GLES31.functional.shaders.builtin_fun",
76        "ctions.integer.uaddcarry.uint_highp_vertex");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001054,
79        "dEQP-GLES31.functional.shaders.builtin_func",
80        "tions.integer.uaddcarry.uint_highp_fragment");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001055,
83        "dEQP-GLES31.functional.shaders.builtin_func",
84        "tions.integer.uaddcarry.uint_highp_geometry");
85
86static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001056,
87        "dEQP-GLES31.functional.shaders.builtin_functi",
88        "ons.integer.uaddcarry.uint_highp_tess_control");
89
90static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001057,
91        "dEQP-GLES31.functional.shaders.builtin_func",
92        "tions.integer.uaddcarry.uint_highp_tess_eval");
93
94static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001058,
95        "dEQP-GLES31.functional.shaders.builtin_fun",
96        "ctions.integer.uaddcarry.uint_highp_compute");
97
98static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001059,
99        "dEQP-GLES31.functional.shaders.builtin_fun",
100        "ctions.integer.uaddcarry.uvec2_lowp_vertex");
101
102static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001060,
103        "dEQP-GLES31.functional.shaders.builtin_func",
104        "tions.integer.uaddcarry.uvec2_lowp_fragment");
105
106static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001061,
107        "dEQP-GLES31.functional.shaders.builtin_func",
108        "tions.integer.uaddcarry.uvec2_lowp_geometry");
109
110static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001062,
111        "dEQP-GLES31.functional.shaders.builtin_functi",
112        "ons.integer.uaddcarry.uvec2_lowp_tess_control");
113
114static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001063,
115        "dEQP-GLES31.functional.shaders.builtin_func",
116        "tions.integer.uaddcarry.uvec2_lowp_tess_eval");
117
118static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001064,
119        "dEQP-GLES31.functional.shaders.builtin_fun",
120        "ctions.integer.uaddcarry.uvec2_lowp_compute");
121
122static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001065,
123        "dEQP-GLES31.functional.shaders.builtin_func",
124        "tions.integer.uaddcarry.uvec2_mediump_vertex");
125
126static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001066,
127        "dEQP-GLES31.functional.shaders.builtin_funct",
128        "ions.integer.uaddcarry.uvec2_mediump_fragment");
129
130static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001067,
131        "dEQP-GLES31.functional.shaders.builtin_funct",
132        "ions.integer.uaddcarry.uvec2_mediump_geometry");
133
134static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001068,
135        "dEQP-GLES31.functional.shaders.builtin_functio",
136        "ns.integer.uaddcarry.uvec2_mediump_tess_control");
137
138static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001069,
139        "dEQP-GLES31.functional.shaders.builtin_functi",
140        "ons.integer.uaddcarry.uvec2_mediump_tess_eval");
141
142static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001070,
143        "dEQP-GLES31.functional.shaders.builtin_funct",
144        "ions.integer.uaddcarry.uvec2_mediump_compute");
145
146static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001071,
147        "dEQP-GLES31.functional.shaders.builtin_fun",
148        "ctions.integer.uaddcarry.uvec2_highp_vertex");
149
150static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001072,
151        "dEQP-GLES31.functional.shaders.builtin_func",
152        "tions.integer.uaddcarry.uvec2_highp_fragment");
153
154static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001073,
155        "dEQP-GLES31.functional.shaders.builtin_func",
156        "tions.integer.uaddcarry.uvec2_highp_geometry");
157
158static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001074,
159        "dEQP-GLES31.functional.shaders.builtin_functi",
160        "ons.integer.uaddcarry.uvec2_highp_tess_control");
161
162static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001075,
163        "dEQP-GLES31.functional.shaders.builtin_funct",
164        "ions.integer.uaddcarry.uvec2_highp_tess_eval");
165
166static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001076,
167        "dEQP-GLES31.functional.shaders.builtin_func",
168        "tions.integer.uaddcarry.uvec2_highp_compute");
169
170static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001077,
171        "dEQP-GLES31.functional.shaders.builtin_fun",
172        "ctions.integer.uaddcarry.uvec3_lowp_vertex");
173
174static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001078,
175        "dEQP-GLES31.functional.shaders.builtin_func",
176        "tions.integer.uaddcarry.uvec3_lowp_fragment");
177
178static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001079,
179        "dEQP-GLES31.functional.shaders.builtin_func",
180        "tions.integer.uaddcarry.uvec3_lowp_geometry");
181
182static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001080,
183        "dEQP-GLES31.functional.shaders.builtin_functi",
184        "ons.integer.uaddcarry.uvec3_lowp_tess_control");
185
186static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001081,
187        "dEQP-GLES31.functional.shaders.builtin_func",
188        "tions.integer.uaddcarry.uvec3_lowp_tess_eval");
189
190static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001082,
191        "dEQP-GLES31.functional.shaders.builtin_fun",
192        "ctions.integer.uaddcarry.uvec3_lowp_compute");
193
194static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001083,
195        "dEQP-GLES31.functional.shaders.builtin_func",
196        "tions.integer.uaddcarry.uvec3_mediump_vertex");
197
198static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001084,
199        "dEQP-GLES31.functional.shaders.builtin_funct",
200        "ions.integer.uaddcarry.uvec3_mediump_fragment");
201
202static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001085,
203        "dEQP-GLES31.functional.shaders.builtin_funct",
204        "ions.integer.uaddcarry.uvec3_mediump_geometry");
205
206static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001086,
207        "dEQP-GLES31.functional.shaders.builtin_functio",
208        "ns.integer.uaddcarry.uvec3_mediump_tess_control");
209
210static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001087,
211        "dEQP-GLES31.functional.shaders.builtin_functi",
212        "ons.integer.uaddcarry.uvec3_mediump_tess_eval");
213
214static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001088,
215        "dEQP-GLES31.functional.shaders.builtin_funct",
216        "ions.integer.uaddcarry.uvec3_mediump_compute");
217
218static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001089,
219        "dEQP-GLES31.functional.shaders.builtin_fun",
220        "ctions.integer.uaddcarry.uvec3_highp_vertex");
221
222static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001090,
223        "dEQP-GLES31.functional.shaders.builtin_func",
224        "tions.integer.uaddcarry.uvec3_highp_fragment");
225
226static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001091,
227        "dEQP-GLES31.functional.shaders.builtin_func",
228        "tions.integer.uaddcarry.uvec3_highp_geometry");
229
230static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001092,
231        "dEQP-GLES31.functional.shaders.builtin_functi",
232        "ons.integer.uaddcarry.uvec3_highp_tess_control");
233
234static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001093,
235        "dEQP-GLES31.functional.shaders.builtin_funct",
236        "ions.integer.uaddcarry.uvec3_highp_tess_eval");
237
238static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001094,
239        "dEQP-GLES31.functional.shaders.builtin_func",
240        "tions.integer.uaddcarry.uvec3_highp_compute");
241
242static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001095,
243        "dEQP-GLES31.functional.shaders.builtin_fun",
244        "ctions.integer.uaddcarry.uvec4_lowp_vertex");
245
246static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001096,
247        "dEQP-GLES31.functional.shaders.builtin_func",
248        "tions.integer.uaddcarry.uvec4_lowp_fragment");
249
250static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001097,
251        "dEQP-GLES31.functional.shaders.builtin_func",
252        "tions.integer.uaddcarry.uvec4_lowp_geometry");
253
254static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001098,
255        "dEQP-GLES31.functional.shaders.builtin_functi",
256        "ons.integer.uaddcarry.uvec4_lowp_tess_control");
257
258static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001099,
259        "dEQP-GLES31.functional.shaders.builtin_func",
260        "tions.integer.uaddcarry.uvec4_lowp_tess_eval");
261
262static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001100,
263        "dEQP-GLES31.functional.shaders.builtin_fun",
264        "ctions.integer.uaddcarry.uvec4_lowp_compute");
265
266static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001101,
267        "dEQP-GLES31.functional.shaders.builtin_func",
268        "tions.integer.uaddcarry.uvec4_mediump_vertex");
269
270static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001102,
271        "dEQP-GLES31.functional.shaders.builtin_funct",
272        "ions.integer.uaddcarry.uvec4_mediump_fragment");
273
274static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001103,
275        "dEQP-GLES31.functional.shaders.builtin_funct",
276        "ions.integer.uaddcarry.uvec4_mediump_geometry");
277
278static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001104,
279        "dEQP-GLES31.functional.shaders.builtin_functio",
280        "ns.integer.uaddcarry.uvec4_mediump_tess_control");
281
282static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001105,
283        "dEQP-GLES31.functional.shaders.builtin_functi",
284        "ons.integer.uaddcarry.uvec4_mediump_tess_eval");
285
286static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001106,
287        "dEQP-GLES31.functional.shaders.builtin_funct",
288        "ions.integer.uaddcarry.uvec4_mediump_compute");
289
290static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001107,
291        "dEQP-GLES31.functional.shaders.builtin_fun",
292        "ctions.integer.uaddcarry.uvec4_highp_vertex");
293
294static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001108,
295        "dEQP-GLES31.functional.shaders.builtin_func",
296        "tions.integer.uaddcarry.uvec4_highp_fragment");
297
298static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001109,
299        "dEQP-GLES31.functional.shaders.builtin_func",
300        "tions.integer.uaddcarry.uvec4_highp_geometry");
301
302static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001110,
303        "dEQP-GLES31.functional.shaders.builtin_functi",
304        "ons.integer.uaddcarry.uvec4_highp_tess_control");
305
306static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001111,
307        "dEQP-GLES31.functional.shaders.builtin_funct",
308        "ions.integer.uaddcarry.uvec4_highp_tess_eval");
309
310static SHRINK_HWTEST_F(ActsDeqpgles310002TestSuite, TestCase_001112,
311        "dEQP-GLES31.functional.shaders.builtin_func",
312        "tions.integer.uaddcarry.uvec4_highp_compute");
313