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 "../ActsDeqpgles20008TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007682,
27        "dEQP-GLES2.functional.shade",
28        "rs.struct.local.basic_vertex");
29
30static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007683,
31        "dEQP-GLES2.functional.shader",
32        "s.struct.local.basic_fragment");
33
34static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007684,
35        "dEQP-GLES2.functional.shader",
36        "s.struct.local.nested_vertex");
37
38static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007685,
39        "dEQP-GLES2.functional.shaders",
40        ".struct.local.nested_fragment");
41
42static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007686,
43        "dEQP-GLES2.functional.shaders.s",
44        "truct.local.array_member_vertex");
45
46static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007687,
47        "dEQP-GLES2.functional.shaders.st",
48        "ruct.local.array_member_fragment");
49
50static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007688,
51        "dEQP-GLES2.functional.shaders.struct.l",
52        "ocal.array_member_dynamic_index_vertex");
53
54static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007689,
55        "dEQP-GLES2.functional.shaders.struct.lo",
56        "cal.array_member_dynamic_index_fragment");
57
58static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007690,
59        "dEQP-GLES2.functional.shaders.s",
60        "truct.local.struct_array_vertex");
61
62static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007691,
63        "dEQP-GLES2.functional.shaders.st",
64        "ruct.local.struct_array_fragment");
65
66static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007692,
67        "dEQP-GLES2.functional.shaders.struct.l",
68        "ocal.struct_array_dynamic_index_vertex");
69
70static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007693,
71        "dEQP-GLES2.functional.shaders.struct.lo",
72        "cal.struct_array_dynamic_index_fragment");
73
74static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007694,
75        "dEQP-GLES2.functional.shaders.stru",
76        "ct.local.nested_struct_array_vertex");
77
78static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007695,
79        "dEQP-GLES2.functional.shaders.struc",
80        "t.local.nested_struct_array_fragment");
81
82static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007696,
83        "dEQP-GLES2.functional.shaders.struct.loca",
84        "l.nested_struct_array_dynamic_index_vertex");
85
86static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007697,
87        "dEQP-GLES2.functional.shaders.struct.local",
88        ".nested_struct_array_dynamic_index_fragment");
89
90static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007698,
91        "dEQP-GLES2.functional.shaders",
92        ".struct.local.parameter_vertex");
93
94static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007699,
95        "dEQP-GLES2.functional.shaders.",
96        "struct.local.parameter_fragment");
97
98static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007700,
99        "dEQP-GLES2.functional.shaders.struc",
100        "t.local.parameter_inout_lowp_vertex");
101
102static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007701,
103        "dEQP-GLES2.functional.shaders.struct",
104        ".local.parameter_inout_lowp_fragment");
105
106static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007702,
107        "dEQP-GLES2.functional.shaders.struct",
108        ".local.parameter_inout_mediump_vertex");
109
110static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007703,
111        "dEQP-GLES2.functional.shaders.struct.",
112        "local.parameter_inout_mediump_fragment");
113
114static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007704,
115        "dEQP-GLES2.functional.shaders.struc",
116        "t.local.parameter_inout_highp_vertex");
117
118static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007705,
119        "dEQP-GLES2.functional.shaders.struct",
120        ".local.parameter_inout_highp_fragment");
121
122static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007706,
123        "dEQP-GLES2.functional.shaders.str",
124        "uct.local.parameter_nested_vertex");
125
126static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007707,
127        "dEQP-GLES2.functional.shaders.stru",
128        "ct.local.parameter_nested_fragment");
129
130static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007708,
131        "dEQP-GLES2.functional.shaders.stru",
132        "ct.local.parameter_out_lowp_vertex");
133
134static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007709,
135        "dEQP-GLES2.functional.shaders.struc",
136        "t.local.parameter_out_lowp_fragment");
137
138static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007710,
139        "dEQP-GLES2.functional.shaders.struc",
140        "t.local.parameter_out_mediump_vertex");
141
142static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007711,
143        "dEQP-GLES2.functional.shaders.struct",
144        ".local.parameter_out_mediump_fragment");
145
146static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007712,
147        "dEQP-GLES2.functional.shaders.stru",
148        "ct.local.parameter_out_highp_vertex");
149
150static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007713,
151        "dEQP-GLES2.functional.shaders.struc",
152        "t.local.parameter_out_highp_fragment");
153
154static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007714,
155        "dEQP-GLES2.functional.shader",
156        "s.struct.local.return_vertex");
157
158static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007715,
159        "dEQP-GLES2.functional.shaders",
160        ".struct.local.return_fragment");
161
162static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007716,
163        "dEQP-GLES2.functional.shaders.s",
164        "truct.local.return_nested_vertex");
165
166static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007717,
167        "dEQP-GLES2.functional.shaders.st",
168        "ruct.local.return_nested_fragment");
169
170static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007718,
171        "dEQP-GLES2.functional.shaders.struct",
172        ".local.conditional_assignment_vertex");
173
174static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007719,
175        "dEQP-GLES2.functional.shaders.struct.",
176        "local.conditional_assignment_fragment");
177
178static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007720,
179        "dEQP-GLES2.functional.shaders.st",
180        "ruct.local.loop_assignment_vertex");
181
182static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007721,
183        "dEQP-GLES2.functional.shaders.str",
184        "uct.local.loop_assignment_fragment");
185
186static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007722,
187        "dEQP-GLES2.functional.shaders.struct",
188        ".local.dynamic_loop_assignment_vertex");
189
190static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007723,
191        "dEQP-GLES2.functional.shaders.struct.",
192        "local.dynamic_loop_assignment_fragment");
193
194static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007724,
195        "dEQP-GLES2.functional.shaders.struct.lo",
196        "cal.nested_conditional_assignment_vertex");
197
198static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007725,
199        "dEQP-GLES2.functional.shaders.struct.loc",
200        "al.nested_conditional_assignment_fragment");
201
202static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007726,
203        "dEQP-GLES2.functional.shaders.struct",
204        ".local.nested_loop_assignment_vertex");
205
206static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007727,
207        "dEQP-GLES2.functional.shaders.struct.",
208        "local.nested_loop_assignment_fragment");
209
210static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007728,
211        "dEQP-GLES2.functional.shaders.struct.loc",
212        "al.nested_dynamic_loop_assignment_vertex");
213
214static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007729,
215        "dEQP-GLES2.functional.shaders.struct.loca",
216        "l.nested_dynamic_loop_assignment_fragment");
217
218static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007730,
219        "dEQP-GLES2.functional.shaders.str",
220        "uct.local.loop_struct_array_vertex");
221
222static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007731,
223        "dEQP-GLES2.functional.shaders.stru",
224        "ct.local.loop_struct_array_fragment");
225
226static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007732,
227        "dEQP-GLES2.functional.shaders.struct.",
228        "local.loop_nested_struct_array_vertex");
229
230static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007733,
231        "dEQP-GLES2.functional.shaders.struct.l",
232        "ocal.loop_nested_struct_array_fragment");
233
234static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007734,
235        "dEQP-GLES2.functional.shaders.struct.",
236        "local.dynamic_loop_struct_array_vertex");
237
238static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007735,
239        "dEQP-GLES2.functional.shaders.struct.l",
240        "ocal.dynamic_loop_struct_array_fragment");
241
242static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007736,
243        "dEQP-GLES2.functional.shaders.struct.loca",
244        "l.dynamic_loop_nested_struct_array_vertex");
245
246static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007737,
247        "dEQP-GLES2.functional.shaders.struct.local",
248        ".dynamic_loop_nested_struct_array_fragment");
249
250static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007738,
251        "dEQP-GLES2.functional.shaders.",
252        "struct.local.basic_equal_vertex");
253
254static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007739,
255        "dEQP-GLES2.functional.shaders.s",
256        "truct.local.basic_equal_fragment");
257
258static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007740,
259        "dEQP-GLES2.functional.shaders.st",
260        "ruct.local.basic_not_equal_vertex");
261
262static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007741,
263        "dEQP-GLES2.functional.shaders.str",
264        "uct.local.basic_not_equal_fragment");
265
266static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007742,
267        "dEQP-GLES2.functional.shaders.s",
268        "truct.local.nested_equal_vertex");
269
270static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007743,
271        "dEQP-GLES2.functional.shaders.st",
272        "ruct.local.nested_equal_fragment");
273
274static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007744,
275        "dEQP-GLES2.functional.shaders.str",
276        "uct.local.nested_not_equal_vertex");
277
278static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007745,
279        "dEQP-GLES2.functional.shaders.stru",
280        "ct.local.nested_not_equal_fragment");
281