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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30027TestSuite.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(ActsDeqpgles30027TestSuite, TestCase_026530,
27         "dEQP-GLES3.functional.texture.specifi",
28         "cation.basic_texsubimage3d.rgba32f_3d");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026531,
31         "dEQP-GLES3.functional.texture.specifi",
32         "cation.basic_texsubimage3d.rgba32i_3d");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026532,
35         "dEQP-GLES3.functional.texture.specifi",
36         "cation.basic_texsubimage3d.rgba32ui_3d");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026533,
39         "dEQP-GLES3.functional.texture.specifi",
40         "cation.basic_texsubimage3d.rgba16f_3d");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026534,
43         "dEQP-GLES3.functional.texture.specifi",
44         "cation.basic_texsubimage3d.rgba16i_3d");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026535,
47         "dEQP-GLES3.functional.texture.specifi",
48         "cation.basic_texsubimage3d.rgba16ui_3d");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026536,
51         "dEQP-GLES3.functional.texture.specif",
52         "ication.basic_texsubimage3d.rgba8_3d");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026537,
55         "dEQP-GLES3.functional.texture.specif",
56         "ication.basic_texsubimage3d.rgba8i_3d");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026538,
59         "dEQP-GLES3.functional.texture.specifi",
60         "cation.basic_texsubimage3d.rgba8ui_3d");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026539,
63         "dEQP-GLES3.functional.texture.specifica",
64         "tion.basic_texsubimage3d.srgb8_alpha8_3d");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026540,
67         "dEQP-GLES3.functional.texture.specifi",
68         "cation.basic_texsubimage3d.rgb10_a2_3d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026541,
71         "dEQP-GLES3.functional.texture.specific",
72         "ation.basic_texsubimage3d.rgb10_a2ui_3d");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026542,
75         "dEQP-GLES3.functional.texture.specif",
76         "ication.basic_texsubimage3d.rgba4_3d");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026543,
79         "dEQP-GLES3.functional.texture.specifi",
80         "cation.basic_texsubimage3d.rgb5_a1_3d");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026544,
83         "dEQP-GLES3.functional.texture.specifica",
84         "tion.basic_texsubimage3d.rgba8_snorm_3d");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026545,
87         "dEQP-GLES3.functional.texture.speci",
88         "fication.basic_texsubimage3d.rgb8_3d");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026546,
91         "dEQP-GLES3.functional.texture.specif",
92         "ication.basic_texsubimage3d.rgb565_3d");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026547,
95         "dEQP-GLES3.functional.texture.specificat",
96         "ion.basic_texsubimage3d.r11f_g11f_b10f_3d");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026548,
99         "dEQP-GLES3.functional.texture.specif",
100         "ication.basic_texsubimage3d.rgb32f_3d");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026549,
103         "dEQP-GLES3.functional.texture.specif",
104         "ication.basic_texsubimage3d.rgb32i_3d");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026550,
107         "dEQP-GLES3.functional.texture.specifi",
108         "cation.basic_texsubimage3d.rgb32ui_3d");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026551,
111         "dEQP-GLES3.functional.texture.specif",
112         "ication.basic_texsubimage3d.rgb16f_3d");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026552,
115         "dEQP-GLES3.functional.texture.specif",
116         "ication.basic_texsubimage3d.rgb16i_3d");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026553,
119         "dEQP-GLES3.functional.texture.specifi",
120         "cation.basic_texsubimage3d.rgb16ui_3d");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026554,
123         "dEQP-GLES3.functional.texture.specific",
124         "ation.basic_texsubimage3d.rgb8_snorm_3d");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026555,
127         "dEQP-GLES3.functional.texture.specif",
128         "ication.basic_texsubimage3d.rgb8i_3d");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026556,
131         "dEQP-GLES3.functional.texture.specif",
132         "ication.basic_texsubimage3d.rgb8ui_3d");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026557,
135         "dEQP-GLES3.functional.texture.specif",
136         "ication.basic_texsubimage3d.srgb8_3d");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026558,
139         "dEQP-GLES3.functional.texture.specifi",
140         "cation.basic_texsubimage3d.rgb9_e5_3d");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026559,
143         "dEQP-GLES3.functional.texture.specif",
144         "ication.basic_texsubimage3d.rg32f_3d");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026560,
147         "dEQP-GLES3.functional.texture.specif",
148         "ication.basic_texsubimage3d.rg32i_3d");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026561,
151         "dEQP-GLES3.functional.texture.specif",
152         "ication.basic_texsubimage3d.rg32ui_3d");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026562,
155         "dEQP-GLES3.functional.texture.specif",
156         "ication.basic_texsubimage3d.rg16f_3d");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026563,
159         "dEQP-GLES3.functional.texture.specif",
160         "ication.basic_texsubimage3d.rg16i_3d");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026564,
163         "dEQP-GLES3.functional.texture.specif",
164         "ication.basic_texsubimage3d.rg16ui_3d");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026565,
167         "dEQP-GLES3.functional.texture.speci",
168         "fication.basic_texsubimage3d.rg8_3d");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026566,
171         "dEQP-GLES3.functional.texture.speci",
172         "fication.basic_texsubimage3d.rg8i_3d");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026567,
175         "dEQP-GLES3.functional.texture.specif",
176         "ication.basic_texsubimage3d.rg8ui_3d");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026568,
179         "dEQP-GLES3.functional.texture.specific",
180         "ation.basic_texsubimage3d.rg8_snorm_3d");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026569,
183         "dEQP-GLES3.functional.texture.speci",
184         "fication.basic_texsubimage3d.r32f_3d");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026570,
187         "dEQP-GLES3.functional.texture.speci",
188         "fication.basic_texsubimage3d.r32i_3d");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026571,
191         "dEQP-GLES3.functional.texture.specif",
192         "ication.basic_texsubimage3d.r32ui_3d");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026572,
195         "dEQP-GLES3.functional.texture.speci",
196         "fication.basic_texsubimage3d.r16f_3d");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026573,
199         "dEQP-GLES3.functional.texture.speci",
200         "fication.basic_texsubimage3d.r16i_3d");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026574,
203         "dEQP-GLES3.functional.texture.specif",
204         "ication.basic_texsubimage3d.r16ui_3d");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026575,
207         "dEQP-GLES3.functional.texture.spec",
208         "ification.basic_texsubimage3d.r8_3d");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026576,
211         "dEQP-GLES3.functional.texture.speci",
212         "fication.basic_texsubimage3d.r8i_3d");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026577,
215         "dEQP-GLES3.functional.texture.speci",
216         "fication.basic_texsubimage3d.r8ui_3d");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026578,
219         "dEQP-GLES3.functional.texture.specifi",
220         "cation.basic_texsubimage3d.r8_snorm_3d");
221