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_012722,
27         "dEQP-GLES31.functional.texture.specific",
28         "ation.teximage3d_pbo.rgba32f_cube_array");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012723,
31         "dEQP-GLES31.functional.texture.specific",
32         "ation.teximage3d_pbo.rgba32i_cube_array");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012724,
35         "dEQP-GLES31.functional.texture.specific",
36         "ation.teximage3d_pbo.rgba32ui_cube_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012725,
39         "dEQP-GLES31.functional.texture.specific",
40         "ation.teximage3d_pbo.rgba16f_cube_array");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012726,
43         "dEQP-GLES31.functional.texture.specific",
44         "ation.teximage3d_pbo.rgba16i_cube_array");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012727,
47         "dEQP-GLES31.functional.texture.specific",
48         "ation.teximage3d_pbo.rgba16ui_cube_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012728,
51         "dEQP-GLES31.functional.texture.specifi",
52         "cation.teximage3d_pbo.rgba8_cube_array");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012729,
55         "dEQP-GLES31.functional.texture.specifi",
56         "cation.teximage3d_pbo.rgba8i_cube_array");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012730,
59         "dEQP-GLES31.functional.texture.specific",
60         "ation.teximage3d_pbo.rgba8ui_cube_array");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012731,
63         "dEQP-GLES31.functional.texture.specificat",
64         "ion.teximage3d_pbo.srgb8_alpha8_cube_array");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012732,
67         "dEQP-GLES31.functional.texture.specific",
68         "ation.teximage3d_pbo.rgb10_a2_cube_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012733,
71         "dEQP-GLES31.functional.texture.specifica",
72         "tion.teximage3d_pbo.rgb10_a2ui_cube_array");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012734,
75         "dEQP-GLES31.functional.texture.specifi",
76         "cation.teximage3d_pbo.rgba4_cube_array");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012735,
79         "dEQP-GLES31.functional.texture.specific",
80         "ation.teximage3d_pbo.rgb5_a1_cube_array");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012736,
83         "dEQP-GLES31.functional.texture.specificat",
84         "ion.teximage3d_pbo.rgba8_snorm_cube_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012737,
87         "dEQP-GLES31.functional.texture.specif",
88         "ication.teximage3d_pbo.rgb8_cube_array");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012738,
91         "dEQP-GLES31.functional.texture.specifi",
92         "cation.teximage3d_pbo.rgb565_cube_array");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012739,
95         "dEQP-GLES31.functional.texture.specificati",
96         "on.teximage3d_pbo.r11f_g11f_b10f_cube_array");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012740,
99         "dEQP-GLES31.functional.texture.specifi",
100         "cation.teximage3d_pbo.rgb32f_cube_array");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012741,
103         "dEQP-GLES31.functional.texture.specifi",
104         "cation.teximage3d_pbo.rgb32i_cube_array");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012742,
107         "dEQP-GLES31.functional.texture.specific",
108         "ation.teximage3d_pbo.rgb32ui_cube_array");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012743,
111         "dEQP-GLES31.functional.texture.specifi",
112         "cation.teximage3d_pbo.rgb16f_cube_array");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012744,
115         "dEQP-GLES31.functional.texture.specifi",
116         "cation.teximage3d_pbo.rgb16i_cube_array");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012745,
119         "dEQP-GLES31.functional.texture.specific",
120         "ation.teximage3d_pbo.rgb16ui_cube_array");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012746,
123         "dEQP-GLES31.functional.texture.specifica",
124         "tion.teximage3d_pbo.rgb8_snorm_cube_array");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012747,
127         "dEQP-GLES31.functional.texture.specifi",
128         "cation.teximage3d_pbo.rgb8i_cube_array");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012748,
131         "dEQP-GLES31.functional.texture.specifi",
132         "cation.teximage3d_pbo.rgb8ui_cube_array");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012749,
135         "dEQP-GLES31.functional.texture.specifi",
136         "cation.teximage3d_pbo.srgb8_cube_array");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012750,
139         "dEQP-GLES31.functional.texture.specific",
140         "ation.teximage3d_pbo.rgb9_e5_cube_array");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012751,
143         "dEQP-GLES31.functional.texture.specifi",
144         "cation.teximage3d_pbo.rg32f_cube_array");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012752,
147         "dEQP-GLES31.functional.texture.specifi",
148         "cation.teximage3d_pbo.rg32i_cube_array");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012753,
151         "dEQP-GLES31.functional.texture.specifi",
152         "cation.teximage3d_pbo.rg32ui_cube_array");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012754,
155         "dEQP-GLES31.functional.texture.specifi",
156         "cation.teximage3d_pbo.rg16f_cube_array");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012755,
159         "dEQP-GLES31.functional.texture.specifi",
160         "cation.teximage3d_pbo.rg16i_cube_array");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012756,
163         "dEQP-GLES31.functional.texture.specifi",
164         "cation.teximage3d_pbo.rg16ui_cube_array");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012757,
167         "dEQP-GLES31.functional.texture.specif",
168         "ication.teximage3d_pbo.rg8_cube_array");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012758,
171         "dEQP-GLES31.functional.texture.specif",
172         "ication.teximage3d_pbo.rg8i_cube_array");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012759,
175         "dEQP-GLES31.functional.texture.specifi",
176         "cation.teximage3d_pbo.rg8ui_cube_array");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012760,
179         "dEQP-GLES31.functional.texture.specifica",
180         "tion.teximage3d_pbo.rg8_snorm_cube_array");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012761,
183         "dEQP-GLES31.functional.texture.specif",
184         "ication.teximage3d_pbo.r32f_cube_array");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012762,
187         "dEQP-GLES31.functional.texture.specif",
188         "ication.teximage3d_pbo.r32i_cube_array");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012763,
191         "dEQP-GLES31.functional.texture.specifi",
192         "cation.teximage3d_pbo.r32ui_cube_array");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012764,
195         "dEQP-GLES31.functional.texture.specif",
196         "ication.teximage3d_pbo.r16f_cube_array");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012765,
199         "dEQP-GLES31.functional.texture.specif",
200         "ication.teximage3d_pbo.r16i_cube_array");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012766,
203         "dEQP-GLES31.functional.texture.specifi",
204         "cation.teximage3d_pbo.r16ui_cube_array");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012767,
207         "dEQP-GLES31.functional.texture.speci",
208         "fication.teximage3d_pbo.r8_cube_array");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012768,
211         "dEQP-GLES31.functional.texture.specif",
212         "ication.teximage3d_pbo.r8i_cube_array");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012769,
215         "dEQP-GLES31.functional.texture.specif",
216         "ication.teximage3d_pbo.r8ui_cube_array");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012770,
219         "dEQP-GLES31.functional.texture.specific",
220         "ation.teximage3d_pbo.r8_snorm_cube_array");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012771,
223         "dEQP-GLES31.functional.texture.specificat",
224         "ion.teximage3d_pbo.rgb8_offset_cube_array");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012772,
227         "dEQP-GLES31.functional.texture.specificati",
228         "on.teximage3d_pbo.rgb8_alignment_cube_array");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012773,
231         "dEQP-GLES31.functional.texture.specification",
232         ".teximage3d_pbo.rgb8_image_height_cube_array");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012774,
235         "dEQP-GLES31.functional.texture.specificatio",
236         "n.teximage3d_pbo.rgb8_row_length_cube_array");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012775,
239         "dEQP-GLES31.functional.texture.specificatio",
240         "n.teximage3d_pbo.rgb8_skip_images_cube_array");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012776,
243         "dEQP-GLES31.functional.texture.specificati",
244         "on.teximage3d_pbo.rgb8_skip_rows_cube_array");
245 
246 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012777,
247         "dEQP-GLES31.functional.texture.specificatio",
248         "n.teximage3d_pbo.rgb8_skip_pixels_cube_array");
249