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 "../ActsDeqpgles30026TestSuite.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(ActsDeqpgles30026TestSuite, TestCase_025712, 27 "dEQP-GLES3.functional.texture.speci", 28 "fication.basic_teximage2d.rgba32f_2d"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025713, 31 "dEQP-GLES3.functional.texture.specif", 32 "ication.basic_teximage2d.rgba32f_cube"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025714, 35 "dEQP-GLES3.functional.texture.speci", 36 "fication.basic_teximage2d.rgba32i_2d"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025715, 39 "dEQP-GLES3.functional.texture.specif", 40 "ication.basic_teximage2d.rgba32i_cube"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025716, 43 "dEQP-GLES3.functional.texture.specif", 44 "ication.basic_teximage2d.rgba32ui_2d"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025717, 47 "dEQP-GLES3.functional.texture.specifi", 48 "cation.basic_teximage2d.rgba32ui_cube"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025718, 51 "dEQP-GLES3.functional.texture.speci", 52 "fication.basic_teximage2d.rgba16f_2d"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025719, 55 "dEQP-GLES3.functional.texture.specif", 56 "ication.basic_teximage2d.rgba16f_cube"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025720, 59 "dEQP-GLES3.functional.texture.speci", 60 "fication.basic_teximage2d.rgba16i_2d"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025721, 63 "dEQP-GLES3.functional.texture.specif", 64 "ication.basic_teximage2d.rgba16i_cube"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025722, 67 "dEQP-GLES3.functional.texture.specif", 68 "ication.basic_teximage2d.rgba16ui_2d"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025723, 71 "dEQP-GLES3.functional.texture.specifi", 72 "cation.basic_teximage2d.rgba16ui_cube"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025724, 75 "dEQP-GLES3.functional.texture.spec", 76 "ification.basic_teximage2d.rgba8_2d"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025725, 79 "dEQP-GLES3.functional.texture.speci", 80 "fication.basic_teximage2d.rgba8_cube"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025726, 83 "dEQP-GLES3.functional.texture.speci", 84 "fication.basic_teximage2d.rgba8i_2d"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025727, 87 "dEQP-GLES3.functional.texture.specif", 88 "ication.basic_teximage2d.rgba8i_cube"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025728, 91 "dEQP-GLES3.functional.texture.speci", 92 "fication.basic_teximage2d.rgba8ui_2d"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025729, 95 "dEQP-GLES3.functional.texture.specif", 96 "ication.basic_teximage2d.rgba8ui_cube"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025730, 99 "dEQP-GLES3.functional.texture.specific", 100 "ation.basic_teximage2d.srgb8_alpha8_2d"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025731, 103 "dEQP-GLES3.functional.texture.specifica", 104 "tion.basic_teximage2d.srgb8_alpha8_cube"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025732, 107 "dEQP-GLES3.functional.texture.specif", 108 "ication.basic_teximage2d.rgb10_a2_2d"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025733, 111 "dEQP-GLES3.functional.texture.specifi", 112 "cation.basic_teximage2d.rgb10_a2_cube"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025734, 115 "dEQP-GLES3.functional.texture.specifi", 116 "cation.basic_teximage2d.rgb10_a2ui_2d"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025735, 119 "dEQP-GLES3.functional.texture.specific", 120 "ation.basic_teximage2d.rgb10_a2ui_cube"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025736, 123 "dEQP-GLES3.functional.texture.spec", 124 "ification.basic_teximage2d.rgba4_2d"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025737, 127 "dEQP-GLES3.functional.texture.speci", 128 "fication.basic_teximage2d.rgba4_cube"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025738, 131 "dEQP-GLES3.functional.texture.speci", 132 "fication.basic_teximage2d.rgb5_a1_2d"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025739, 135 "dEQP-GLES3.functional.texture.specif", 136 "ication.basic_teximage2d.rgb5_a1_cube"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025740, 139 "dEQP-GLES3.functional.texture.specifi", 140 "cation.basic_teximage2d.rgba8_snorm_2d"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025741, 143 "dEQP-GLES3.functional.texture.specific", 144 "ation.basic_teximage2d.rgba8_snorm_cube"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025742, 147 "dEQP-GLES3.functional.texture.spec", 148 "ification.basic_teximage2d.rgb8_2d"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025743, 151 "dEQP-GLES3.functional.texture.speci", 152 "fication.basic_teximage2d.rgb8_cube"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025744, 155 "dEQP-GLES3.functional.texture.speci", 156 "fication.basic_teximage2d.rgb565_2d"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025745, 159 "dEQP-GLES3.functional.texture.specif", 160 "ication.basic_teximage2d.rgb565_cube"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025746, 163 "dEQP-GLES3.functional.texture.specifica", 164 "tion.basic_teximage2d.r11f_g11f_b10f_2d"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025747, 167 "dEQP-GLES3.functional.texture.specificat", 168 "ion.basic_teximage2d.r11f_g11f_b10f_cube"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025748, 171 "dEQP-GLES3.functional.texture.speci", 172 "fication.basic_teximage2d.rgb32f_2d"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025749, 175 "dEQP-GLES3.functional.texture.specif", 176 "ication.basic_teximage2d.rgb32f_cube"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025750, 179 "dEQP-GLES3.functional.texture.speci", 180 "fication.basic_teximage2d.rgb32i_2d"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025751, 183 "dEQP-GLES3.functional.texture.specif", 184 "ication.basic_teximage2d.rgb32i_cube"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025752, 187 "dEQP-GLES3.functional.texture.speci", 188 "fication.basic_teximage2d.rgb32ui_2d"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025753, 191 "dEQP-GLES3.functional.texture.specif", 192 "ication.basic_teximage2d.rgb32ui_cube"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025754, 195 "dEQP-GLES3.functional.texture.speci", 196 "fication.basic_teximage2d.rgb16f_2d"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025755, 199 "dEQP-GLES3.functional.texture.specif", 200 "ication.basic_teximage2d.rgb16f_cube"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025756, 203 "dEQP-GLES3.functional.texture.speci", 204 "fication.basic_teximage2d.rgb16i_2d"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025757, 207 "dEQP-GLES3.functional.texture.specif", 208 "ication.basic_teximage2d.rgb16i_cube"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025758, 211 "dEQP-GLES3.functional.texture.speci", 212 "fication.basic_teximage2d.rgb16ui_2d"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025759, 215 "dEQP-GLES3.functional.texture.specif", 216 "ication.basic_teximage2d.rgb16ui_cube"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025760, 219 "dEQP-GLES3.functional.texture.specifi", 220 "cation.basic_teximage2d.rgb8_snorm_2d"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025761, 223 "dEQP-GLES3.functional.texture.specific", 224 "ation.basic_teximage2d.rgb8_snorm_cube"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025762, 227 "dEQP-GLES3.functional.texture.spec", 228 "ification.basic_teximage2d.rgb8i_2d"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025763, 231 "dEQP-GLES3.functional.texture.speci", 232 "fication.basic_teximage2d.rgb8i_cube"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025764, 235 "dEQP-GLES3.functional.texture.speci", 236 "fication.basic_teximage2d.rgb8ui_2d"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025765, 239 "dEQP-GLES3.functional.texture.specif", 240 "ication.basic_teximage2d.rgb8ui_cube"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025766, 243 "dEQP-GLES3.functional.texture.spec", 244 "ification.basic_teximage2d.srgb8_2d"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025767, 247 "dEQP-GLES3.functional.texture.speci", 248 "fication.basic_teximage2d.srgb8_cube"); 249 250 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025768, 251 "dEQP-GLES3.functional.texture.speci", 252 "fication.basic_teximage2d.rgb9_e5_2d"); 253 254 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025769, 255 "dEQP-GLES3.functional.texture.specif", 256 "ication.basic_teximage2d.rgb9_e5_cube"); 257 258 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025770, 259 "dEQP-GLES3.functional.texture.spec", 260 "ification.basic_teximage2d.rg32f_2d"); 261 262 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025771, 263 "dEQP-GLES3.functional.texture.speci", 264 "fication.basic_teximage2d.rg32f_cube"); 265 266 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025772, 267 "dEQP-GLES3.functional.texture.spec", 268 "ification.basic_teximage2d.rg32i_2d"); 269 270 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025773, 271 "dEQP-GLES3.functional.texture.speci", 272 "fication.basic_teximage2d.rg32i_cube"); 273 274 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025774, 275 "dEQP-GLES3.functional.texture.speci", 276 "fication.basic_teximage2d.rg32ui_2d"); 277 278 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025775, 279 "dEQP-GLES3.functional.texture.specif", 280 "ication.basic_teximage2d.rg32ui_cube"); 281 282 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025776, 283 "dEQP-GLES3.functional.texture.spec", 284 "ification.basic_teximage2d.rg16f_2d"); 285 286 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025777, 287 "dEQP-GLES3.functional.texture.speci", 288 "fication.basic_teximage2d.rg16f_cube"); 289 290 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025778, 291 "dEQP-GLES3.functional.texture.spec", 292 "ification.basic_teximage2d.rg16i_2d"); 293 294 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025779, 295 "dEQP-GLES3.functional.texture.speci", 296 "fication.basic_teximage2d.rg16i_cube"); 297 298 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025780, 299 "dEQP-GLES3.functional.texture.speci", 300 "fication.basic_teximage2d.rg16ui_2d"); 301 302 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025781, 303 "dEQP-GLES3.functional.texture.specif", 304 "ication.basic_teximage2d.rg16ui_cube"); 305 306 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025782, 307 "dEQP-GLES3.functional.texture.spe", 308 "cification.basic_teximage2d.rg8_2d"); 309 310 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025783, 311 "dEQP-GLES3.functional.texture.spec", 312 "ification.basic_teximage2d.rg8_cube"); 313 314 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025784, 315 "dEQP-GLES3.functional.texture.spec", 316 "ification.basic_teximage2d.rg8i_2d"); 317 318 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025785, 319 "dEQP-GLES3.functional.texture.speci", 320 "fication.basic_teximage2d.rg8i_cube"); 321 322 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025786, 323 "dEQP-GLES3.functional.texture.spec", 324 "ification.basic_teximage2d.rg8ui_2d"); 325 326 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025787, 327 "dEQP-GLES3.functional.texture.speci", 328 "fication.basic_teximage2d.rg8ui_cube"); 329 330 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025788, 331 "dEQP-GLES3.functional.texture.specif", 332 "ication.basic_teximage2d.rg8_snorm_2d"); 333 334 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025789, 335 "dEQP-GLES3.functional.texture.specifi", 336 "cation.basic_teximage2d.rg8_snorm_cube"); 337 338 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025790, 339 "dEQP-GLES3.functional.texture.spec", 340 "ification.basic_teximage2d.r32f_2d"); 341 342 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025791, 343 "dEQP-GLES3.functional.texture.speci", 344 "fication.basic_teximage2d.r32f_cube"); 345 346 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025792, 347 "dEQP-GLES3.functional.texture.spec", 348 "ification.basic_teximage2d.r32i_2d"); 349 350 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025793, 351 "dEQP-GLES3.functional.texture.speci", 352 "fication.basic_teximage2d.r32i_cube"); 353 354 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025794, 355 "dEQP-GLES3.functional.texture.spec", 356 "ification.basic_teximage2d.r32ui_2d"); 357 358 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025795, 359 "dEQP-GLES3.functional.texture.speci", 360 "fication.basic_teximage2d.r32ui_cube"); 361 362 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025796, 363 "dEQP-GLES3.functional.texture.spec", 364 "ification.basic_teximage2d.r16f_2d"); 365 366 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025797, 367 "dEQP-GLES3.functional.texture.speci", 368 "fication.basic_teximage2d.r16f_cube"); 369 370 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025798, 371 "dEQP-GLES3.functional.texture.spec", 372 "ification.basic_teximage2d.r16i_2d"); 373 374 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025799, 375 "dEQP-GLES3.functional.texture.speci", 376 "fication.basic_teximage2d.r16i_cube"); 377 378 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025800, 379 "dEQP-GLES3.functional.texture.spec", 380 "ification.basic_teximage2d.r16ui_2d"); 381 382 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025801, 383 "dEQP-GLES3.functional.texture.speci", 384 "fication.basic_teximage2d.r16ui_cube"); 385 386 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025802, 387 "dEQP-GLES3.functional.texture.spe", 388 "cification.basic_teximage2d.r8_2d"); 389 390 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025803, 391 "dEQP-GLES3.functional.texture.spec", 392 "ification.basic_teximage2d.r8_cube"); 393 394 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025804, 395 "dEQP-GLES3.functional.texture.spe", 396 "cification.basic_teximage2d.r8i_2d"); 397 398 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025805, 399 "dEQP-GLES3.functional.texture.spec", 400 "ification.basic_teximage2d.r8i_cube"); 401 402 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025806, 403 "dEQP-GLES3.functional.texture.spec", 404 "ification.basic_teximage2d.r8ui_2d"); 405 406 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025807, 407 "dEQP-GLES3.functional.texture.speci", 408 "fication.basic_teximage2d.r8ui_cube"); 409 410 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025808, 411 "dEQP-GLES3.functional.texture.specif", 412 "ication.basic_teximage2d.r8_snorm_2d"); 413 414 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025809, 415 "dEQP-GLES3.functional.texture.specifi", 416 "cation.basic_teximage2d.r8_snorm_cube"); 417