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_026296, 27 "dEQP-GLES3.functional.texture.specific", 28 "ation.basic_teximage3d.rgba32f_2d_array"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026297, 31 "dEQP-GLES3.functional.texture.speci", 32 "fication.basic_teximage3d.rgba32f_3d"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026298, 35 "dEQP-GLES3.functional.texture.specific", 36 "ation.basic_teximage3d.rgba32i_2d_array"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026299, 39 "dEQP-GLES3.functional.texture.speci", 40 "fication.basic_teximage3d.rgba32i_3d"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026300, 43 "dEQP-GLES3.functional.texture.specifica", 44 "tion.basic_teximage3d.rgba32ui_2d_array"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026301, 47 "dEQP-GLES3.functional.texture.specif", 48 "ication.basic_teximage3d.rgba32ui_3d"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026302, 51 "dEQP-GLES3.functional.texture.specific", 52 "ation.basic_teximage3d.rgba16f_2d_array"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026303, 55 "dEQP-GLES3.functional.texture.speci", 56 "fication.basic_teximage3d.rgba16f_3d"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026304, 59 "dEQP-GLES3.functional.texture.specific", 60 "ation.basic_teximage3d.rgba16i_2d_array"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026305, 63 "dEQP-GLES3.functional.texture.speci", 64 "fication.basic_teximage3d.rgba16i_3d"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026306, 67 "dEQP-GLES3.functional.texture.specifica", 68 "tion.basic_teximage3d.rgba16ui_2d_array"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026307, 71 "dEQP-GLES3.functional.texture.specif", 72 "ication.basic_teximage3d.rgba16ui_3d"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026308, 75 "dEQP-GLES3.functional.texture.specifi", 76 "cation.basic_teximage3d.rgba8_2d_array"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026309, 79 "dEQP-GLES3.functional.texture.spec", 80 "ification.basic_teximage3d.rgba8_3d"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026310, 83 "dEQP-GLES3.functional.texture.specific", 84 "ation.basic_teximage3d.rgba8i_2d_array"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026311, 87 "dEQP-GLES3.functional.texture.speci", 88 "fication.basic_teximage3d.rgba8i_3d"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026312, 91 "dEQP-GLES3.functional.texture.specific", 92 "ation.basic_teximage3d.rgba8ui_2d_array"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026313, 95 "dEQP-GLES3.functional.texture.speci", 96 "fication.basic_teximage3d.rgba8ui_3d"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026314, 99 "dEQP-GLES3.functional.texture.specificati", 100 "on.basic_teximage3d.srgb8_alpha8_2d_array"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026315, 103 "dEQP-GLES3.functional.texture.specific", 104 "ation.basic_teximage3d.srgb8_alpha8_3d"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026316, 107 "dEQP-GLES3.functional.texture.specifica", 108 "tion.basic_teximage3d.rgb10_a2_2d_array"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026317, 111 "dEQP-GLES3.functional.texture.specif", 112 "ication.basic_teximage3d.rgb10_a2_3d"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026318, 115 "dEQP-GLES3.functional.texture.specificat", 116 "ion.basic_teximage3d.rgb10_a2ui_2d_array"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026319, 119 "dEQP-GLES3.functional.texture.specifi", 120 "cation.basic_teximage3d.rgb10_a2ui_3d"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026320, 123 "dEQP-GLES3.functional.texture.specifi", 124 "cation.basic_teximage3d.rgba4_2d_array"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026321, 127 "dEQP-GLES3.functional.texture.spec", 128 "ification.basic_teximage3d.rgba4_3d"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026322, 131 "dEQP-GLES3.functional.texture.specific", 132 "ation.basic_teximage3d.rgb5_a1_2d_array"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026323, 135 "dEQP-GLES3.functional.texture.speci", 136 "fication.basic_teximage3d.rgb5_a1_3d"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026324, 139 "dEQP-GLES3.functional.texture.specificat", 140 "ion.basic_teximage3d.rgba8_snorm_2d_array"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026325, 143 "dEQP-GLES3.functional.texture.specifi", 144 "cation.basic_teximage3d.rgba8_snorm_3d"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026326, 147 "dEQP-GLES3.functional.texture.specifi", 148 "cation.basic_teximage3d.rgb8_2d_array"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026327, 151 "dEQP-GLES3.functional.texture.spec", 152 "ification.basic_teximage3d.rgb8_3d"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026328, 155 "dEQP-GLES3.functional.texture.specific", 156 "ation.basic_teximage3d.rgb565_2d_array"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026329, 159 "dEQP-GLES3.functional.texture.speci", 160 "fication.basic_teximage3d.rgb565_3d"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026330, 163 "dEQP-GLES3.functional.texture.specificatio", 164 "n.basic_teximage3d.r11f_g11f_b10f_2d_array"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026331, 167 "dEQP-GLES3.functional.texture.specifica", 168 "tion.basic_teximage3d.r11f_g11f_b10f_3d"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026332, 171 "dEQP-GLES3.functional.texture.specific", 172 "ation.basic_teximage3d.rgb32f_2d_array"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026333, 175 "dEQP-GLES3.functional.texture.speci", 176 "fication.basic_teximage3d.rgb32f_3d"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026334, 179 "dEQP-GLES3.functional.texture.specific", 180 "ation.basic_teximage3d.rgb32i_2d_array"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026335, 183 "dEQP-GLES3.functional.texture.speci", 184 "fication.basic_teximage3d.rgb32i_3d"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026336, 187 "dEQP-GLES3.functional.texture.specific", 188 "ation.basic_teximage3d.rgb32ui_2d_array"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026337, 191 "dEQP-GLES3.functional.texture.speci", 192 "fication.basic_teximage3d.rgb32ui_3d"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026338, 195 "dEQP-GLES3.functional.texture.specific", 196 "ation.basic_teximage3d.rgb16f_2d_array"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026339, 199 "dEQP-GLES3.functional.texture.speci", 200 "fication.basic_teximage3d.rgb16f_3d"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026340, 203 "dEQP-GLES3.functional.texture.specific", 204 "ation.basic_teximage3d.rgb16i_2d_array"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026341, 207 "dEQP-GLES3.functional.texture.speci", 208 "fication.basic_teximage3d.rgb16i_3d"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026342, 211 "dEQP-GLES3.functional.texture.specific", 212 "ation.basic_teximage3d.rgb16ui_2d_array"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026343, 215 "dEQP-GLES3.functional.texture.speci", 216 "fication.basic_teximage3d.rgb16ui_3d"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026344, 219 "dEQP-GLES3.functional.texture.specificat", 220 "ion.basic_teximage3d.rgb8_snorm_2d_array"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026345, 223 "dEQP-GLES3.functional.texture.specifi", 224 "cation.basic_teximage3d.rgb8_snorm_3d"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026346, 227 "dEQP-GLES3.functional.texture.specifi", 228 "cation.basic_teximage3d.rgb8i_2d_array"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026347, 231 "dEQP-GLES3.functional.texture.spec", 232 "ification.basic_teximage3d.rgb8i_3d"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026348, 235 "dEQP-GLES3.functional.texture.specific", 236 "ation.basic_teximage3d.rgb8ui_2d_array"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026349, 239 "dEQP-GLES3.functional.texture.speci", 240 "fication.basic_teximage3d.rgb8ui_3d"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026350, 243 "dEQP-GLES3.functional.texture.specifi", 244 "cation.basic_teximage3d.srgb8_2d_array"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026351, 247 "dEQP-GLES3.functional.texture.spec", 248 "ification.basic_teximage3d.srgb8_3d"); 249 250 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026352, 251 "dEQP-GLES3.functional.texture.specific", 252 "ation.basic_teximage3d.rgb9_e5_2d_array"); 253 254 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026353, 255 "dEQP-GLES3.functional.texture.speci", 256 "fication.basic_teximage3d.rgb9_e5_3d"); 257 258 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026354, 259 "dEQP-GLES3.functional.texture.specifi", 260 "cation.basic_teximage3d.rg32f_2d_array"); 261 262 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026355, 263 "dEQP-GLES3.functional.texture.spec", 264 "ification.basic_teximage3d.rg32f_3d"); 265 266 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026356, 267 "dEQP-GLES3.functional.texture.specifi", 268 "cation.basic_teximage3d.rg32i_2d_array"); 269 270 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026357, 271 "dEQP-GLES3.functional.texture.spec", 272 "ification.basic_teximage3d.rg32i_3d"); 273 274 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026358, 275 "dEQP-GLES3.functional.texture.specific", 276 "ation.basic_teximage3d.rg32ui_2d_array"); 277 278 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026359, 279 "dEQP-GLES3.functional.texture.speci", 280 "fication.basic_teximage3d.rg32ui_3d"); 281 282 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026360, 283 "dEQP-GLES3.functional.texture.specifi", 284 "cation.basic_teximage3d.rg16f_2d_array"); 285 286 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026361, 287 "dEQP-GLES3.functional.texture.spec", 288 "ification.basic_teximage3d.rg16f_3d"); 289 290 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026362, 291 "dEQP-GLES3.functional.texture.specifi", 292 "cation.basic_teximage3d.rg16i_2d_array"); 293 294 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026363, 295 "dEQP-GLES3.functional.texture.spec", 296 "ification.basic_teximage3d.rg16i_3d"); 297 298 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026364, 299 "dEQP-GLES3.functional.texture.specific", 300 "ation.basic_teximage3d.rg16ui_2d_array"); 301 302 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026365, 303 "dEQP-GLES3.functional.texture.speci", 304 "fication.basic_teximage3d.rg16ui_3d"); 305 306 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026366, 307 "dEQP-GLES3.functional.texture.specif", 308 "ication.basic_teximage3d.rg8_2d_array"); 309 310 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026367, 311 "dEQP-GLES3.functional.texture.spe", 312 "cification.basic_teximage3d.rg8_3d"); 313 314 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026368, 315 "dEQP-GLES3.functional.texture.specifi", 316 "cation.basic_teximage3d.rg8i_2d_array"); 317 318 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026369, 319 "dEQP-GLES3.functional.texture.spec", 320 "ification.basic_teximage3d.rg8i_3d"); 321 322 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026370, 323 "dEQP-GLES3.functional.texture.specifi", 324 "cation.basic_teximage3d.rg8ui_2d_array"); 325 326 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026371, 327 "dEQP-GLES3.functional.texture.spec", 328 "ification.basic_teximage3d.rg8ui_3d"); 329 330 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026372, 331 "dEQP-GLES3.functional.texture.specifica", 332 "tion.basic_teximage3d.rg8_snorm_2d_array"); 333 334 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026373, 335 "dEQP-GLES3.functional.texture.specif", 336 "ication.basic_teximage3d.rg8_snorm_3d"); 337 338 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026374, 339 "dEQP-GLES3.functional.texture.specifi", 340 "cation.basic_teximage3d.r32f_2d_array"); 341 342 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026375, 343 "dEQP-GLES3.functional.texture.spec", 344 "ification.basic_teximage3d.r32f_3d"); 345 346 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026376, 347 "dEQP-GLES3.functional.texture.specifi", 348 "cation.basic_teximage3d.r32i_2d_array"); 349 350 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026377, 351 "dEQP-GLES3.functional.texture.spec", 352 "ification.basic_teximage3d.r32i_3d"); 353 354 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026378, 355 "dEQP-GLES3.functional.texture.specifi", 356 "cation.basic_teximage3d.r32ui_2d_array"); 357 358 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026379, 359 "dEQP-GLES3.functional.texture.spec", 360 "ification.basic_teximage3d.r32ui_3d"); 361 362 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026380, 363 "dEQP-GLES3.functional.texture.specifi", 364 "cation.basic_teximage3d.r16f_2d_array"); 365 366 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026381, 367 "dEQP-GLES3.functional.texture.spec", 368 "ification.basic_teximage3d.r16f_3d"); 369 370 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026382, 371 "dEQP-GLES3.functional.texture.specifi", 372 "cation.basic_teximage3d.r16i_2d_array"); 373 374 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026383, 375 "dEQP-GLES3.functional.texture.spec", 376 "ification.basic_teximage3d.r16i_3d"); 377 378 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026384, 379 "dEQP-GLES3.functional.texture.specifi", 380 "cation.basic_teximage3d.r16ui_2d_array"); 381 382 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026385, 383 "dEQP-GLES3.functional.texture.spec", 384 "ification.basic_teximage3d.r16ui_3d"); 385 386 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026386, 387 "dEQP-GLES3.functional.texture.specif", 388 "ication.basic_teximage3d.r8_2d_array"); 389 390 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026387, 391 "dEQP-GLES3.functional.texture.spe", 392 "cification.basic_teximage3d.r8_3d"); 393 394 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026388, 395 "dEQP-GLES3.functional.texture.specif", 396 "ication.basic_teximage3d.r8i_2d_array"); 397 398 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026389, 399 "dEQP-GLES3.functional.texture.spe", 400 "cification.basic_teximage3d.r8i_3d"); 401 402 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026390, 403 "dEQP-GLES3.functional.texture.specifi", 404 "cation.basic_teximage3d.r8ui_2d_array"); 405 406 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026391, 407 "dEQP-GLES3.functional.texture.spec", 408 "ification.basic_teximage3d.r8ui_3d"); 409 410 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026392, 411 "dEQP-GLES3.functional.texture.specifica", 412 "tion.basic_teximage3d.r8_snorm_2d_array"); 413 414 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026393, 415 "dEQP-GLES3.functional.texture.specif", 416 "ication.basic_teximage3d.r8_snorm_3d"); 417