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 "../ActsDeqpgles30017TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016448,
27        "dEQP-GLES3.functional.shade",
28        "rs.struct.local.basic_vertex");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016449,
31        "dEQP-GLES3.functional.shader",
32        "s.struct.local.basic_fragment");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016450,
35        "dEQP-GLES3.functional.shader",
36        "s.struct.local.nested_vertex");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016451,
39        "dEQP-GLES3.functional.shaders",
40        ".struct.local.nested_fragment");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016452,
43        "dEQP-GLES3.functional.shaders.s",
44        "truct.local.array_member_vertex");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016453,
47        "dEQP-GLES3.functional.shaders.st",
48        "ruct.local.array_member_fragment");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016454,
51        "dEQP-GLES3.functional.shaders.struct.l",
52        "ocal.array_member_dynamic_index_vertex");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016455,
55        "dEQP-GLES3.functional.shaders.struct.lo",
56        "cal.array_member_dynamic_index_fragment");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016456,
59        "dEQP-GLES3.functional.shaders.s",
60        "truct.local.struct_array_vertex");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016457,
63        "dEQP-GLES3.functional.shaders.st",
64        "ruct.local.struct_array_fragment");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016458,
67        "dEQP-GLES3.functional.shaders.struct.l",
68        "ocal.struct_array_dynamic_index_vertex");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016459,
71        "dEQP-GLES3.functional.shaders.struct.lo",
72        "cal.struct_array_dynamic_index_fragment");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016460,
75        "dEQP-GLES3.functional.shaders.stru",
76        "ct.local.nested_struct_array_vertex");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016461,
79        "dEQP-GLES3.functional.shaders.struc",
80        "t.local.nested_struct_array_fragment");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016462,
83        "dEQP-GLES3.functional.shaders.struct.loca",
84        "l.nested_struct_array_dynamic_index_vertex");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016463,
87        "dEQP-GLES3.functional.shaders.struct.local",
88        ".nested_struct_array_dynamic_index_fragment");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016464,
91        "dEQP-GLES3.functional.shaders",
92        ".struct.local.parameter_vertex");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016465,
95        "dEQP-GLES3.functional.shaders.",
96        "struct.local.parameter_fragment");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016466,
99        "dEQP-GLES3.functional.shaders.struc",
100        "t.local.parameter_inout_lowp_vertex");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016467,
103        "dEQP-GLES3.functional.shaders.struct",
104        ".local.parameter_inout_lowp_fragment");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016468,
107        "dEQP-GLES3.functional.shaders.struct",
108        ".local.parameter_inout_mediump_vertex");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016469,
111        "dEQP-GLES3.functional.shaders.struct.",
112        "local.parameter_inout_mediump_fragment");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016470,
115        "dEQP-GLES3.functional.shaders.struc",
116        "t.local.parameter_inout_highp_vertex");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016471,
119        "dEQP-GLES3.functional.shaders.struct",
120        ".local.parameter_inout_highp_fragment");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016472,
123        "dEQP-GLES3.functional.shaders.str",
124        "uct.local.parameter_nested_vertex");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016473,
127        "dEQP-GLES3.functional.shaders.stru",
128        "ct.local.parameter_nested_fragment");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016474,
131        "dEQP-GLES3.functional.shaders.stru",
132        "ct.local.parameter_out_lowp_vertex");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016475,
135        "dEQP-GLES3.functional.shaders.struc",
136        "t.local.parameter_out_lowp_fragment");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016476,
139        "dEQP-GLES3.functional.shaders.struc",
140        "t.local.parameter_out_mediump_vertex");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016477,
143        "dEQP-GLES3.functional.shaders.struct",
144        ".local.parameter_out_mediump_fragment");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016478,
147        "dEQP-GLES3.functional.shaders.stru",
148        "ct.local.parameter_out_highp_vertex");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016479,
151        "dEQP-GLES3.functional.shaders.struc",
152        "t.local.parameter_out_highp_fragment");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016480,
155        "dEQP-GLES3.functional.shader",
156        "s.struct.local.return_vertex");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016481,
159        "dEQP-GLES3.functional.shaders",
160        ".struct.local.return_fragment");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016482,
163        "dEQP-GLES3.functional.shaders.s",
164        "truct.local.return_nested_vertex");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016483,
167        "dEQP-GLES3.functional.shaders.st",
168        "ruct.local.return_nested_fragment");
169
170static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016484,
171        "dEQP-GLES3.functional.shaders.struct",
172        ".local.conditional_assignment_vertex");
173
174static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016485,
175        "dEQP-GLES3.functional.shaders.struct.",
176        "local.conditional_assignment_fragment");
177
178static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016486,
179        "dEQP-GLES3.functional.shaders.st",
180        "ruct.local.loop_assignment_vertex");
181
182static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016487,
183        "dEQP-GLES3.functional.shaders.str",
184        "uct.local.loop_assignment_fragment");
185
186static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016488,
187        "dEQP-GLES3.functional.shaders.struct",
188        ".local.dynamic_loop_assignment_vertex");
189
190static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016489,
191        "dEQP-GLES3.functional.shaders.struct.",
192        "local.dynamic_loop_assignment_fragment");
193
194static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016490,
195        "dEQP-GLES3.functional.shaders.struct.lo",
196        "cal.nested_conditional_assignment_vertex");
197
198static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016491,
199        "dEQP-GLES3.functional.shaders.struct.loc",
200        "al.nested_conditional_assignment_fragment");
201
202static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016492,
203        "dEQP-GLES3.functional.shaders.struct",
204        ".local.nested_loop_assignment_vertex");
205
206static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016493,
207        "dEQP-GLES3.functional.shaders.struct.",
208        "local.nested_loop_assignment_fragment");
209
210static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016494,
211        "dEQP-GLES3.functional.shaders.struct.loc",
212        "al.nested_dynamic_loop_assignment_vertex");
213
214static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016495,
215        "dEQP-GLES3.functional.shaders.struct.loca",
216        "l.nested_dynamic_loop_assignment_fragment");
217
218static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016496,
219        "dEQP-GLES3.functional.shaders.str",
220        "uct.local.loop_struct_array_vertex");
221
222static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016497,
223        "dEQP-GLES3.functional.shaders.stru",
224        "ct.local.loop_struct_array_fragment");
225
226static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016498,
227        "dEQP-GLES3.functional.shaders.struct.",
228        "local.loop_nested_struct_array_vertex");
229
230static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016499,
231        "dEQP-GLES3.functional.shaders.struct.l",
232        "ocal.loop_nested_struct_array_fragment");
233
234static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016500,
235        "dEQP-GLES3.functional.shaders.struct.",
236        "local.dynamic_loop_struct_array_vertex");
237
238static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016501,
239        "dEQP-GLES3.functional.shaders.struct.l",
240        "ocal.dynamic_loop_struct_array_fragment");
241
242static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016502,
243        "dEQP-GLES3.functional.shaders.struct.loca",
244        "l.dynamic_loop_nested_struct_array_vertex");
245
246static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016503,
247        "dEQP-GLES3.functional.shaders.struct.local",
248        ".dynamic_loop_nested_struct_array_fragment");
249
250static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016504,
251        "dEQP-GLES3.functional.shaders.",
252        "struct.local.basic_equal_vertex");
253
254static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016505,
255        "dEQP-GLES3.functional.shaders.s",
256        "truct.local.basic_equal_fragment");
257
258static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016506,
259        "dEQP-GLES3.functional.shaders.st",
260        "ruct.local.basic_not_equal_vertex");
261
262static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016507,
263        "dEQP-GLES3.functional.shaders.str",
264        "uct.local.basic_not_equal_fragment");
265
266static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016508,
267        "dEQP-GLES3.functional.shaders.s",
268        "truct.local.nested_equal_vertex");
269
270static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016509,
271        "dEQP-GLES3.functional.shaders.st",
272        "ruct.local.nested_equal_fragment");
273
274static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016510,
275        "dEQP-GLES3.functional.shaders.str",
276        "uct.local.nested_not_equal_vertex");
277
278static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016511,
279        "dEQP-GLES3.functional.shaders.stru",
280        "ct.local.nested_not_equal_fragment");
281
282static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016512,
283        "dEQP-GLES3.functional.shaders.struc",
284        "t.local.array_member_equality_vertex");
285
286static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016513,
287        "dEQP-GLES3.functional.shaders.struct",
288        ".local.array_member_equality_fragment");
289