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 "../ActsDeqpgles310004TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003830,
27         "dEQP-GLES31.functional.shaders.arrays_of_arra",
28         "ys.es31.constructor.explicit.float_3x3_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003831,
31         "dEQP-GLES31.functional.shaders.arrays_of_array",
32         "s.es31.constructor.explicit.float_3x3_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003832,
35         "dEQP-GLES31.functional.shaders.arrays_of_arra",
36         "ys.es31.constructor.explicit.float_3x4_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003833,
39         "dEQP-GLES31.functional.shaders.arrays_of_array",
40         "s.es31.constructor.explicit.float_3x4_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003834,
43         "dEQP-GLES31.functional.shaders.arrays_of_arr",
44         "ays.es31.constructor.explicit.int_3x1_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003835,
47         "dEQP-GLES31.functional.shaders.arrays_of_arra",
48         "ys.es31.constructor.explicit.int_3x1_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003836,
51         "dEQP-GLES31.functional.shaders.arrays_of_arra",
52         "ys.es31.constructor.explicit.int_4x4x4_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003837,
55         "dEQP-GLES31.functional.shaders.arrays_of_array",
56         "s.es31.constructor.explicit.int_4x4x4_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003838,
59         "dEQP-GLES31.functional.shaders.arrays_of_arra",
60         "ys.es31.constructor.explicit.bool_3x3x3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003839,
63         "dEQP-GLES31.functional.shaders.arrays_of_array",
64         "s.es31.constructor.explicit.bool_3x3x3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003840,
67         "dEQP-GLES31.functional.shaders.arrays_of_arra",
68         "ys.es31.constructor.explicit.bool_2x1x4_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003841,
71         "dEQP-GLES31.functional.shaders.arrays_of_array",
72         "s.es31.constructor.explicit.bool_2x1x4_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003842,
75         "dEQP-GLES31.functional.shaders.arrays_of_arra",
76         "ys.es31.constructor.explicit.struct_3x2_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003843,
79         "dEQP-GLES31.functional.shaders.arrays_of_array",
80         "s.es31.constructor.explicit.struct_3x2_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003844,
83         "dEQP-GLES31.functional.shaders.arrays_of_array",
84         "s.es31.constructor.explicit.struct_4x1x4_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003845,
87         "dEQP-GLES31.functional.shaders.arrays_of_arrays",
88         ".es31.constructor.explicit.struct_4x1x4_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003846,
91         "dEQP-GLES31.functional.shaders.arrays_of_arr",
92         "ays.es31.constructor.explicit.vec3_4x3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003847,
95         "dEQP-GLES31.functional.shaders.arrays_of_arra",
96         "ys.es31.constructor.explicit.vec3_4x3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003848,
99         "dEQP-GLES31.functional.shaders.arrays_of_array",
100         "s.es31.constructor.explicit.ivec3_3x2x1_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003849,
103         "dEQP-GLES31.functional.shaders.arrays_of_arrays",
104         ".es31.constructor.explicit.ivec3_3x2x1_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003850,
107         "dEQP-GLES31.functional.shaders.arrays_of_array",
108         "s.es31.constructor.explicit.bvec3_1x2x3_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003851,
111         "dEQP-GLES31.functional.shaders.arrays_of_arrays",
112         ".es31.constructor.explicit.bvec3_1x2x3_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003852,
115         "dEQP-GLES31.functional.shaders.arrays_of_arr",
116         "ays.es31.constructor.explicit.mat3_3x2_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003853,
119         "dEQP-GLES31.functional.shaders.arrays_of_arra",
120         "ys.es31.constructor.explicit.mat3_3x2_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003854,
123         "dEQP-GLES31.functional.shaders.arrays_of_arra",
124         "ys.es31.constructor.explicit.mat3_3x3x3_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003855,
127         "dEQP-GLES31.functional.shaders.arrays_of_array",
128         "s.es31.constructor.explicit.mat3_3x3x3_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003856,
131         "dEQP-GLES31.functional.shaders.arrays_of_arr",
132         "ays.es31.constructor.explicit.mat3_3x4_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003857,
135         "dEQP-GLES31.functional.shaders.arrays_of_arra",
136         "ys.es31.constructor.explicit.mat3_3x4_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003858,
139         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
140         "1.constructor.explicit.high_dimensional_array_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003859,
143         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es31",
144         ".constructor.explicit.high_dimensional_array_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004122,
147         "dEQP-GLES31.functional.shaders.arrays_of_arra",
148         "ys.es32.constructor.explicit.float_3x3_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004123,
151         "dEQP-GLES31.functional.shaders.arrays_of_array",
152         "s.es32.constructor.explicit.float_3x3_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004124,
155         "dEQP-GLES31.functional.shaders.arrays_of_arra",
156         "ys.es32.constructor.explicit.float_3x4_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004125,
159         "dEQP-GLES31.functional.shaders.arrays_of_array",
160         "s.es32.constructor.explicit.float_3x4_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004126,
163         "dEQP-GLES31.functional.shaders.arrays_of_arr",
164         "ays.es32.constructor.explicit.int_3x1_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004127,
167         "dEQP-GLES31.functional.shaders.arrays_of_arra",
168         "ys.es32.constructor.explicit.int_3x1_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004128,
171         "dEQP-GLES31.functional.shaders.arrays_of_arra",
172         "ys.es32.constructor.explicit.int_4x4x4_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004129,
175         "dEQP-GLES31.functional.shaders.arrays_of_array",
176         "s.es32.constructor.explicit.int_4x4x4_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004130,
179         "dEQP-GLES31.functional.shaders.arrays_of_arra",
180         "ys.es32.constructor.explicit.bool_3x3x3_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004131,
183         "dEQP-GLES31.functional.shaders.arrays_of_array",
184         "s.es32.constructor.explicit.bool_3x3x3_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004132,
187         "dEQP-GLES31.functional.shaders.arrays_of_arra",
188         "ys.es32.constructor.explicit.bool_2x1x4_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004133,
191         "dEQP-GLES31.functional.shaders.arrays_of_array",
192         "s.es32.constructor.explicit.bool_2x1x4_fragment");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004134,
195         "dEQP-GLES31.functional.shaders.arrays_of_arra",
196         "ys.es32.constructor.explicit.struct_3x2_vertex");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004135,
199         "dEQP-GLES31.functional.shaders.arrays_of_array",
200         "s.es32.constructor.explicit.struct_3x2_fragment");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004136,
203         "dEQP-GLES31.functional.shaders.arrays_of_array",
204         "s.es32.constructor.explicit.struct_4x1x4_vertex");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004137,
207         "dEQP-GLES31.functional.shaders.arrays_of_arrays",
208         ".es32.constructor.explicit.struct_4x1x4_fragment");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004138,
211         "dEQP-GLES31.functional.shaders.arrays_of_arr",
212         "ays.es32.constructor.explicit.vec3_4x3_vertex");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004139,
215         "dEQP-GLES31.functional.shaders.arrays_of_arra",
216         "ys.es32.constructor.explicit.vec3_4x3_fragment");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004140,
219         "dEQP-GLES31.functional.shaders.arrays_of_array",
220         "s.es32.constructor.explicit.ivec3_3x2x1_vertex");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004141,
223         "dEQP-GLES31.functional.shaders.arrays_of_arrays",
224         ".es32.constructor.explicit.ivec3_3x2x1_fragment");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004142,
227         "dEQP-GLES31.functional.shaders.arrays_of_array",
228         "s.es32.constructor.explicit.bvec3_1x2x3_vertex");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004143,
231         "dEQP-GLES31.functional.shaders.arrays_of_arrays",
232         ".es32.constructor.explicit.bvec3_1x2x3_fragment");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004144,
235         "dEQP-GLES31.functional.shaders.arrays_of_arr",
236         "ays.es32.constructor.explicit.mat3_3x2_vertex");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004145,
239         "dEQP-GLES31.functional.shaders.arrays_of_arra",
240         "ys.es32.constructor.explicit.mat3_3x2_fragment");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004146,
243         "dEQP-GLES31.functional.shaders.arrays_of_arra",
244         "ys.es32.constructor.explicit.mat3_3x3x3_vertex");
245 
246 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004147,
247         "dEQP-GLES31.functional.shaders.arrays_of_array",
248         "s.es32.constructor.explicit.mat3_3x3x3_fragment");
249 
250 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004148,
251         "dEQP-GLES31.functional.shaders.arrays_of_arr",
252         "ays.es32.constructor.explicit.mat3_3x4_vertex");
253 
254 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004149,
255         "dEQP-GLES31.functional.shaders.arrays_of_arra",
256         "ys.es32.constructor.explicit.mat3_3x4_fragment");
257 
258 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004150,
259         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
260         "2.constructor.explicit.high_dimensional_array_vertex");
261 
262 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004151,
263         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es32",
264         ".constructor.explicit.high_dimensional_array_fragment");
265