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 "../ActsDeqpgles310013TestSuite.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(ActsDeqpgles310013TestSuite, TestCase_012788,
27         "dEQP-GLES31.functional.texture.specifica",
28         "tion.texsubimage3d_pbo.rgba32f_cube_array");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012789,
31         "dEQP-GLES31.functional.texture.specifica",
32         "tion.texsubimage3d_pbo.rgba32i_cube_array");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012790,
35         "dEQP-GLES31.functional.texture.specificat",
36         "ion.texsubimage3d_pbo.rgba32ui_cube_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012791,
39         "dEQP-GLES31.functional.texture.specifica",
40         "tion.texsubimage3d_pbo.rgba16f_cube_array");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012792,
43         "dEQP-GLES31.functional.texture.specifica",
44         "tion.texsubimage3d_pbo.rgba16i_cube_array");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012793,
47         "dEQP-GLES31.functional.texture.specificat",
48         "ion.texsubimage3d_pbo.rgba16ui_cube_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012794,
51         "dEQP-GLES31.functional.texture.specific",
52         "ation.texsubimage3d_pbo.rgba8_cube_array");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012795,
55         "dEQP-GLES31.functional.texture.specifica",
56         "tion.texsubimage3d_pbo.rgba8i_cube_array");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012796,
59         "dEQP-GLES31.functional.texture.specifica",
60         "tion.texsubimage3d_pbo.rgba8ui_cube_array");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012797,
63         "dEQP-GLES31.functional.texture.specificatio",
64         "n.texsubimage3d_pbo.srgb8_alpha8_cube_array");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012798,
67         "dEQP-GLES31.functional.texture.specificat",
68         "ion.texsubimage3d_pbo.rgb10_a2_cube_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012799,
71         "dEQP-GLES31.functional.texture.specificati",
72         "on.texsubimage3d_pbo.rgb10_a2ui_cube_array");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012800,
75         "dEQP-GLES31.functional.texture.specific",
76         "ation.texsubimage3d_pbo.rgba4_cube_array");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012801,
79         "dEQP-GLES31.functional.texture.specifica",
80         "tion.texsubimage3d_pbo.rgb5_a1_cube_array");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012802,
83         "dEQP-GLES31.functional.texture.specificati",
84         "on.texsubimage3d_pbo.rgba8_snorm_cube_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012803,
87         "dEQP-GLES31.functional.texture.specific",
88         "ation.texsubimage3d_pbo.rgb8_cube_array");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012804,
91         "dEQP-GLES31.functional.texture.specifica",
92         "tion.texsubimage3d_pbo.rgb565_cube_array");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012805,
95         "dEQP-GLES31.functional.texture.specification",
96         ".texsubimage3d_pbo.r11f_g11f_b10f_cube_array");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012806,
99         "dEQP-GLES31.functional.texture.specifica",
100         "tion.texsubimage3d_pbo.rgb32f_cube_array");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012807,
103         "dEQP-GLES31.functional.texture.specifica",
104         "tion.texsubimage3d_pbo.rgb32i_cube_array");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012808,
107         "dEQP-GLES31.functional.texture.specifica",
108         "tion.texsubimage3d_pbo.rgb32ui_cube_array");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012809,
111         "dEQP-GLES31.functional.texture.specifica",
112         "tion.texsubimage3d_pbo.rgb16f_cube_array");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012810,
115         "dEQP-GLES31.functional.texture.specifica",
116         "tion.texsubimage3d_pbo.rgb16i_cube_array");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012811,
119         "dEQP-GLES31.functional.texture.specifica",
120         "tion.texsubimage3d_pbo.rgb16ui_cube_array");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012812,
123         "dEQP-GLES31.functional.texture.specificati",
124         "on.texsubimage3d_pbo.rgb8_snorm_cube_array");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012813,
127         "dEQP-GLES31.functional.texture.specific",
128         "ation.texsubimage3d_pbo.rgb8i_cube_array");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012814,
131         "dEQP-GLES31.functional.texture.specifica",
132         "tion.texsubimage3d_pbo.rgb8ui_cube_array");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012815,
135         "dEQP-GLES31.functional.texture.specific",
136         "ation.texsubimage3d_pbo.srgb8_cube_array");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012816,
139         "dEQP-GLES31.functional.texture.specifica",
140         "tion.texsubimage3d_pbo.rgb9_e5_cube_array");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012817,
143         "dEQP-GLES31.functional.texture.specific",
144         "ation.texsubimage3d_pbo.rg32f_cube_array");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012818,
147         "dEQP-GLES31.functional.texture.specific",
148         "ation.texsubimage3d_pbo.rg32i_cube_array");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012819,
151         "dEQP-GLES31.functional.texture.specifica",
152         "tion.texsubimage3d_pbo.rg32ui_cube_array");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012820,
155         "dEQP-GLES31.functional.texture.specific",
156         "ation.texsubimage3d_pbo.rg16f_cube_array");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012821,
159         "dEQP-GLES31.functional.texture.specific",
160         "ation.texsubimage3d_pbo.rg16i_cube_array");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012822,
163         "dEQP-GLES31.functional.texture.specifica",
164         "tion.texsubimage3d_pbo.rg16ui_cube_array");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012823,
167         "dEQP-GLES31.functional.texture.specifi",
168         "cation.texsubimage3d_pbo.rg8_cube_array");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012824,
171         "dEQP-GLES31.functional.texture.specific",
172         "ation.texsubimage3d_pbo.rg8i_cube_array");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012825,
175         "dEQP-GLES31.functional.texture.specific",
176         "ation.texsubimage3d_pbo.rg8ui_cube_array");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012826,
179         "dEQP-GLES31.functional.texture.specificat",
180         "ion.texsubimage3d_pbo.rg8_snorm_cube_array");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012827,
183         "dEQP-GLES31.functional.texture.specific",
184         "ation.texsubimage3d_pbo.r32f_cube_array");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012828,
187         "dEQP-GLES31.functional.texture.specific",
188         "ation.texsubimage3d_pbo.r32i_cube_array");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012829,
191         "dEQP-GLES31.functional.texture.specific",
192         "ation.texsubimage3d_pbo.r32ui_cube_array");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012830,
195         "dEQP-GLES31.functional.texture.specific",
196         "ation.texsubimage3d_pbo.r16f_cube_array");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012831,
199         "dEQP-GLES31.functional.texture.specific",
200         "ation.texsubimage3d_pbo.r16i_cube_array");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012832,
203         "dEQP-GLES31.functional.texture.specific",
204         "ation.texsubimage3d_pbo.r16ui_cube_array");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012833,
207         "dEQP-GLES31.functional.texture.specifi",
208         "cation.texsubimage3d_pbo.r8_cube_array");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012834,
211         "dEQP-GLES31.functional.texture.specifi",
212         "cation.texsubimage3d_pbo.r8i_cube_array");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012835,
215         "dEQP-GLES31.functional.texture.specific",
216         "ation.texsubimage3d_pbo.r8ui_cube_array");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012836,
219         "dEQP-GLES31.functional.texture.specificat",
220         "ion.texsubimage3d_pbo.r8_snorm_cube_array");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012837,
223         "dEQP-GLES31.functional.texture.specificati",
224         "on.texsubimage3d_pbo.rgb8_offset_cube_array");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012838,
227         "dEQP-GLES31.functional.texture.specification.",
228         "texsubimage3d_pbo.rgb8_image_height_cube_array");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012839,
231         "dEQP-GLES31.functional.texture.specification",
232         ".texsubimage3d_pbo.rgb8_row_length_cube_array");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012840,
235         "dEQP-GLES31.functional.texture.specification.",
236         "texsubimage3d_pbo.rgb8_skip_images_cube_array");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012841,
239         "dEQP-GLES31.functional.texture.specification",
240         ".texsubimage3d_pbo.rgb8_skip_rows_cube_array");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012842,
243         "dEQP-GLES31.functional.texture.specification.",
244         "texsubimage3d_pbo.rgb8_skip_pixels_cube_array");
245