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_012848,
27         "dEQP-GLES31.functional.texture.specificat",
28         "ion.texstorage3d.format.rgba32f_cube_array");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012849,
31         "dEQP-GLES31.functional.texture.specificat",
32         "ion.texstorage3d.format.rgba32i_cube_array");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012850,
35         "dEQP-GLES31.functional.texture.specificati",
36         "on.texstorage3d.format.rgba32ui_cube_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012851,
39         "dEQP-GLES31.functional.texture.specificat",
40         "ion.texstorage3d.format.rgba16f_cube_array");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012852,
43         "dEQP-GLES31.functional.texture.specificat",
44         "ion.texstorage3d.format.rgba16i_cube_array");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012853,
47         "dEQP-GLES31.functional.texture.specificati",
48         "on.texstorage3d.format.rgba16ui_cube_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012854,
51         "dEQP-GLES31.functional.texture.specifica",
52         "tion.texstorage3d.format.rgba8_cube_array");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012855,
55         "dEQP-GLES31.functional.texture.specificat",
56         "ion.texstorage3d.format.rgba8i_cube_array");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012856,
59         "dEQP-GLES31.functional.texture.specificat",
60         "ion.texstorage3d.format.rgba8ui_cube_array");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012857,
63         "dEQP-GLES31.functional.texture.specification",
64         ".texstorage3d.format.srgb8_alpha8_cube_array");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012858,
67         "dEQP-GLES31.functional.texture.specificati",
68         "on.texstorage3d.format.rgb10_a2_cube_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012859,
71         "dEQP-GLES31.functional.texture.specificatio",
72         "n.texstorage3d.format.rgb10_a2ui_cube_array");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012860,
75         "dEQP-GLES31.functional.texture.specifica",
76         "tion.texstorage3d.format.rgba4_cube_array");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012861,
79         "dEQP-GLES31.functional.texture.specificat",
80         "ion.texstorage3d.format.rgb5_a1_cube_array");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012862,
83         "dEQP-GLES31.functional.texture.specificatio",
84         "n.texstorage3d.format.rgba8_snorm_cube_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012863,
87         "dEQP-GLES31.functional.texture.specifica",
88         "tion.texstorage3d.format.rgb8_cube_array");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012864,
91         "dEQP-GLES31.functional.texture.specificat",
92         "ion.texstorage3d.format.rgb565_cube_array");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012865,
95         "dEQP-GLES31.functional.texture.specification.",
96         "texstorage3d.format.r11f_g11f_b10f_cube_array");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012866,
99         "dEQP-GLES31.functional.texture.specificat",
100         "ion.texstorage3d.format.rgb32f_cube_array");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012867,
103         "dEQP-GLES31.functional.texture.specificat",
104         "ion.texstorage3d.format.rgb32i_cube_array");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012868,
107         "dEQP-GLES31.functional.texture.specificat",
108         "ion.texstorage3d.format.rgb32ui_cube_array");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012869,
111         "dEQP-GLES31.functional.texture.specificat",
112         "ion.texstorage3d.format.rgb16f_cube_array");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012870,
115         "dEQP-GLES31.functional.texture.specificat",
116         "ion.texstorage3d.format.rgb16i_cube_array");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012871,
119         "dEQP-GLES31.functional.texture.specificat",
120         "ion.texstorage3d.format.rgb16ui_cube_array");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012872,
123         "dEQP-GLES31.functional.texture.specificatio",
124         "n.texstorage3d.format.rgb8_snorm_cube_array");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012873,
127         "dEQP-GLES31.functional.texture.specifica",
128         "tion.texstorage3d.format.rgb8i_cube_array");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012874,
131         "dEQP-GLES31.functional.texture.specificat",
132         "ion.texstorage3d.format.rgb8ui_cube_array");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012875,
135         "dEQP-GLES31.functional.texture.specifica",
136         "tion.texstorage3d.format.srgb8_cube_array");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012876,
139         "dEQP-GLES31.functional.texture.specificat",
140         "ion.texstorage3d.format.rgb9_e5_cube_array");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012877,
143         "dEQP-GLES31.functional.texture.specifica",
144         "tion.texstorage3d.format.rg32f_cube_array");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012878,
147         "dEQP-GLES31.functional.texture.specifica",
148         "tion.texstorage3d.format.rg32i_cube_array");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012879,
151         "dEQP-GLES31.functional.texture.specificat",
152         "ion.texstorage3d.format.rg32ui_cube_array");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012880,
155         "dEQP-GLES31.functional.texture.specifica",
156         "tion.texstorage3d.format.rg16f_cube_array");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012881,
159         "dEQP-GLES31.functional.texture.specifica",
160         "tion.texstorage3d.format.rg16i_cube_array");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012882,
163         "dEQP-GLES31.functional.texture.specificat",
164         "ion.texstorage3d.format.rg16ui_cube_array");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012883,
167         "dEQP-GLES31.functional.texture.specific",
168         "ation.texstorage3d.format.rg8_cube_array");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012884,
171         "dEQP-GLES31.functional.texture.specifica",
172         "tion.texstorage3d.format.rg8i_cube_array");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012885,
175         "dEQP-GLES31.functional.texture.specifica",
176         "tion.texstorage3d.format.rg8ui_cube_array");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012886,
179         "dEQP-GLES31.functional.texture.specificati",
180         "on.texstorage3d.format.rg8_snorm_cube_array");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012887,
183         "dEQP-GLES31.functional.texture.specifica",
184         "tion.texstorage3d.format.r32f_cube_array");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012888,
187         "dEQP-GLES31.functional.texture.specifica",
188         "tion.texstorage3d.format.r32i_cube_array");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012889,
191         "dEQP-GLES31.functional.texture.specifica",
192         "tion.texstorage3d.format.r32ui_cube_array");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012890,
195         "dEQP-GLES31.functional.texture.specifica",
196         "tion.texstorage3d.format.r16f_cube_array");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012891,
199         "dEQP-GLES31.functional.texture.specifica",
200         "tion.texstorage3d.format.r16i_cube_array");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012892,
203         "dEQP-GLES31.functional.texture.specifica",
204         "tion.texstorage3d.format.r16ui_cube_array");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012893,
207         "dEQP-GLES31.functional.texture.specific",
208         "ation.texstorage3d.format.r8_cube_array");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012894,
211         "dEQP-GLES31.functional.texture.specific",
212         "ation.texstorage3d.format.r8i_cube_array");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012895,
215         "dEQP-GLES31.functional.texture.specifica",
216         "tion.texstorage3d.format.r8ui_cube_array");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012896,
219         "dEQP-GLES31.functional.texture.specificati",
220         "on.texstorage3d.format.r8_snorm_cube_array");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012897,
223         "dEQP-GLES31.functional.texture.specification.te",
224         "xstorage3d.format.depth_component32f_cube_array");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012898,
227         "dEQP-GLES31.functional.texture.specification.t",
228         "exstorage3d.format.depth_component24_cube_array");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012899,
231         "dEQP-GLES31.functional.texture.specification.t",
232         "exstorage3d.format.depth_component16_cube_array");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012900,
235         "dEQP-GLES31.functional.texture.specification.t",
236         "exstorage3d.format.depth32f_stencil8_cube_array");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012901,
239         "dEQP-GLES31.functional.texture.specification.t",
240         "exstorage3d.format.depth24_stencil8_cube_array");
241