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 "../ActsDeqpgles310016TestSuite.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(ActsDeqpgles310016TestSuite, TestCase_015472, 27 "dEQP-GLES31.functional.state_query.t", 28 "exture.texture_cube_array.is_texture"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015473, 31 "dEQP-GLES31.functional.state_query.texture.", 32 "texture_cube_array.texture_swizzle_r_integer"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015474, 35 "dEQP-GLES31.functional.state_query.texture", 36 ".texture_cube_array.texture_swizzle_r_float"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015475, 39 "dEQP-GLES31.functional.state_query.texture.t", 40 "exture_cube_array.texture_swizzle_r_pure_int"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015476, 43 "dEQP-GLES31.functional.state_query.texture.t", 44 "exture_cube_array.texture_swizzle_r_pure_uint"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015477, 47 "dEQP-GLES31.functional.state_query.texture.", 48 "texture_cube_array.texture_swizzle_g_integer"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015478, 51 "dEQP-GLES31.functional.state_query.texture", 52 ".texture_cube_array.texture_swizzle_g_float"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015479, 55 "dEQP-GLES31.functional.state_query.texture.t", 56 "exture_cube_array.texture_swizzle_g_pure_int"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015480, 59 "dEQP-GLES31.functional.state_query.texture.t", 60 "exture_cube_array.texture_swizzle_g_pure_uint"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015481, 63 "dEQP-GLES31.functional.state_query.texture.", 64 "texture_cube_array.texture_swizzle_b_integer"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015482, 67 "dEQP-GLES31.functional.state_query.texture", 68 ".texture_cube_array.texture_swizzle_b_float"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015483, 71 "dEQP-GLES31.functional.state_query.texture.t", 72 "exture_cube_array.texture_swizzle_b_pure_int"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015484, 75 "dEQP-GLES31.functional.state_query.texture.t", 76 "exture_cube_array.texture_swizzle_b_pure_uint"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015485, 79 "dEQP-GLES31.functional.state_query.texture.", 80 "texture_cube_array.texture_swizzle_a_integer"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015486, 83 "dEQP-GLES31.functional.state_query.texture", 84 ".texture_cube_array.texture_swizzle_a_float"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015487, 87 "dEQP-GLES31.functional.state_query.texture.t", 88 "exture_cube_array.texture_swizzle_a_pure_int"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015488, 91 "dEQP-GLES31.functional.state_query.texture.t", 92 "exture_cube_array.texture_swizzle_a_pure_uint"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015489, 95 "dEQP-GLES31.functional.state_query.texture", 96 ".texture_cube_array.texture_wrap_s_integer"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015490, 99 "dEQP-GLES31.functional.state_query.textur", 100 "e.texture_cube_array.texture_wrap_s_float"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015491, 103 "dEQP-GLES31.functional.state_query.texture", 104 ".texture_cube_array.texture_wrap_s_pure_int"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015492, 107 "dEQP-GLES31.functional.state_query.texture.", 108 "texture_cube_array.texture_wrap_s_pure_uint"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015493, 111 "dEQP-GLES31.functional.state_query.texture", 112 ".texture_cube_array.texture_wrap_t_integer"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015494, 115 "dEQP-GLES31.functional.state_query.textur", 116 "e.texture_cube_array.texture_wrap_t_float"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015495, 119 "dEQP-GLES31.functional.state_query.texture", 120 ".texture_cube_array.texture_wrap_t_pure_int"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015496, 123 "dEQP-GLES31.functional.state_query.texture.", 124 "texture_cube_array.texture_wrap_t_pure_uint"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015497, 127 "dEQP-GLES31.functional.state_query.texture.t", 128 "exture_cube_array.texture_mag_filter_integer"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015498, 131 "dEQP-GLES31.functional.state_query.texture.", 132 "texture_cube_array.texture_mag_filter_float"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015499, 135 "dEQP-GLES31.functional.state_query.texture.t", 136 "exture_cube_array.texture_mag_filter_pure_int"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015500, 139 "dEQP-GLES31.functional.state_query.texture.te", 140 "xture_cube_array.texture_mag_filter_pure_uint"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015501, 143 "dEQP-GLES31.functional.state_query.texture.t", 144 "exture_cube_array.texture_min_filter_integer"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015502, 147 "dEQP-GLES31.functional.state_query.texture.", 148 "texture_cube_array.texture_min_filter_float"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015503, 151 "dEQP-GLES31.functional.state_query.texture.t", 152 "exture_cube_array.texture_min_filter_pure_int"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015504, 155 "dEQP-GLES31.functional.state_query.texture.te", 156 "xture_cube_array.texture_min_filter_pure_uint"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015505, 159 "dEQP-GLES31.functional.state_query.texture", 160 ".texture_cube_array.texture_min_lod_integer"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015506, 163 "dEQP-GLES31.functional.state_query.textur", 164 "e.texture_cube_array.texture_min_lod_float"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015507, 167 "dEQP-GLES31.functional.state_query.texture.", 168 "texture_cube_array.texture_min_lod_pure_int"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015508, 171 "dEQP-GLES31.functional.state_query.texture.", 172 "texture_cube_array.texture_min_lod_pure_uint"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015509, 175 "dEQP-GLES31.functional.state_query.texture", 176 ".texture_cube_array.texture_max_lod_integer"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015510, 179 "dEQP-GLES31.functional.state_query.textur", 180 "e.texture_cube_array.texture_max_lod_float"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015511, 183 "dEQP-GLES31.functional.state_query.texture.", 184 "texture_cube_array.texture_max_lod_pure_int"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015512, 187 "dEQP-GLES31.functional.state_query.texture.", 188 "texture_cube_array.texture_max_lod_pure_uint"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015513, 191 "dEQP-GLES31.functional.state_query.texture.t", 192 "exture_cube_array.texture_base_level_integer"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015514, 195 "dEQP-GLES31.functional.state_query.texture.", 196 "texture_cube_array.texture_base_level_float"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015515, 199 "dEQP-GLES31.functional.state_query.texture.t", 200 "exture_cube_array.texture_base_level_pure_int"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015516, 203 "dEQP-GLES31.functional.state_query.texture.te", 204 "xture_cube_array.texture_base_level_pure_uint"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015517, 207 "dEQP-GLES31.functional.state_query.texture.", 208 "texture_cube_array.texture_max_level_integer"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015518, 211 "dEQP-GLES31.functional.state_query.texture", 212 ".texture_cube_array.texture_max_level_float"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015519, 215 "dEQP-GLES31.functional.state_query.texture.t", 216 "exture_cube_array.texture_max_level_pure_int"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015520, 219 "dEQP-GLES31.functional.state_query.texture.t", 220 "exture_cube_array.texture_max_level_pure_uint"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015521, 223 "dEQP-GLES31.functional.state_query.texture.te", 224 "xture_cube_array.texture_compare_mode_integer"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015522, 227 "dEQP-GLES31.functional.state_query.texture.t", 228 "exture_cube_array.texture_compare_mode_float"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015523, 231 "dEQP-GLES31.functional.state_query.texture.te", 232 "xture_cube_array.texture_compare_mode_pure_int"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015524, 235 "dEQP-GLES31.functional.state_query.texture.tex", 236 "ture_cube_array.texture_compare_mode_pure_uint"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015525, 239 "dEQP-GLES31.functional.state_query.texture.te", 240 "xture_cube_array.texture_compare_func_integer"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015526, 243 "dEQP-GLES31.functional.state_query.texture.t", 244 "exture_cube_array.texture_compare_func_float"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015527, 247 "dEQP-GLES31.functional.state_query.texture.te", 248 "xture_cube_array.texture_compare_func_pure_int"); 249 250 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015528, 251 "dEQP-GLES31.functional.state_query.texture.tex", 252 "ture_cube_array.texture_compare_func_pure_uint"); 253 254 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015529, 255 "dEQP-GLES31.functional.state_query.texture.text", 256 "ure_cube_array.texture_immutable_levels_integer"); 257 258 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015530, 259 "dEQP-GLES31.functional.state_query.texture.tex", 260 "ture_cube_array.texture_immutable_levels_float"); 261 262 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015531, 263 "dEQP-GLES31.functional.state_query.texture.text", 264 "ure_cube_array.texture_immutable_levels_pure_int"); 265 266 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015532, 267 "dEQP-GLES31.functional.state_query.texture.textu", 268 "re_cube_array.texture_immutable_levels_pure_uint"); 269 270 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015533, 271 "dEQP-GLES31.functional.state_query.texture.text", 272 "ure_cube_array.texture_immutable_format_integer"); 273 274 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015534, 275 "dEQP-GLES31.functional.state_query.texture.tex", 276 "ture_cube_array.texture_immutable_format_float"); 277 278 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015535, 279 "dEQP-GLES31.functional.state_query.texture.text", 280 "ure_cube_array.texture_immutable_format_pure_int"); 281 282 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015536, 283 "dEQP-GLES31.functional.state_query.texture.textu", 284 "re_cube_array.texture_immutable_format_pure_uint"); 285 286 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015537, 287 "dEQP-GLES31.functional.state_query.texture.t", 288 "exture_cube_array.depth_stencil_mode_integer"); 289 290 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015538, 291 "dEQP-GLES31.functional.state_query.texture.", 292 "texture_cube_array.depth_stencil_mode_float"); 293 294 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015539, 295 "dEQP-GLES31.functional.state_query.texture.t", 296 "exture_cube_array.depth_stencil_mode_pure_int"); 297 298 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015540, 299 "dEQP-GLES31.functional.state_query.texture.te", 300 "xture_cube_array.depth_stencil_mode_pure_uint"); 301 302 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015541, 303 "dEQP-GLES31.functional.state_query.texture.t", 304 "exture_cube_array.texture_srgb_decode_integer"); 305 306 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015542, 307 "dEQP-GLES31.functional.state_query.texture.", 308 "texture_cube_array.texture_srgb_decode_float"); 309 310 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015543, 311 "dEQP-GLES31.functional.state_query.texture.te", 312 "xture_cube_array.texture_srgb_decode_pure_int"); 313 314 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015544, 315 "dEQP-GLES31.functional.state_query.texture.te", 316 "xture_cube_array.texture_srgb_decode_pure_uint"); 317 318 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015545, 319 "dEQP-GLES31.functional.state_query.texture.te", 320 "xture_cube_array.texture_border_color_integer"); 321 322 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015546, 323 "dEQP-GLES31.functional.state_query.texture.t", 324 "exture_cube_array.texture_border_color_float"); 325 326 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015547, 327 "dEQP-GLES31.functional.state_query.texture.te", 328 "xture_cube_array.texture_border_color_pure_int"); 329 330 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015548, 331 "dEQP-GLES31.functional.state_query.texture.tex", 332 "ture_cube_array.texture_border_color_pure_uint"); 333 334 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015549, 335 "dEQP-GLES31.functional.state_query.texture.texture", 336 "_cube_array.texture_wrap_s_clamp_to_border_integer"); 337 338 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015550, 339 "dEQP-GLES31.functional.state_query.texture.textur", 340 "e_cube_array.texture_wrap_s_clamp_to_border_float"); 341 342 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015551, 343 "dEQP-GLES31.functional.state_query.texture.texture", 344 "_cube_array.texture_wrap_t_clamp_to_border_integer"); 345 346 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015552, 347 "dEQP-GLES31.functional.state_query.texture.textur", 348 "e_cube_array.texture_wrap_t_clamp_to_border_float"); 349