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 "../Deqpgles2BaseFunc.h" 19 #include "../ActsDeqpgles20014TestSuite.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(ActsDeqpgles20014TestSuite, TestCase_013019, 27 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 28 ".strides.buffer_0_8_float2_vec4_dynamic_draw_quads_1"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013020, 31 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 32 ".strides.buffer_0_32_float2_vec4_dynamic_draw_quads_1"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013021, 35 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 36 "strides.buffer_0_8_float2_vec4_dynamic_draw_quads_256"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013022, 39 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 40 "strides.buffer_0_32_float2_vec4_dynamic_draw_quads_256"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013023, 43 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 44 ".strides.buffer_0_12_float3_vec4_dynamic_draw_quads_1"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013024, 47 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 48 ".strides.buffer_0_32_float3_vec4_dynamic_draw_quads_1"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013025, 51 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 52 "strides.buffer_0_12_float3_vec4_dynamic_draw_quads_256"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013026, 55 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 56 "strides.buffer_0_32_float3_vec4_dynamic_draw_quads_256"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013027, 59 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 60 ".strides.buffer_0_16_float4_vec4_dynamic_draw_quads_1"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013028, 63 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 64 ".strides.buffer_0_32_float4_vec4_dynamic_draw_quads_1"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013029, 67 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 68 "strides.buffer_0_16_float4_vec4_dynamic_draw_quads_256"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013030, 71 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 72 "strides.buffer_0_32_float4_vec4_dynamic_draw_quads_256"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013031, 75 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 76 ".strides.buffer_0_4_short2_vec4_dynamic_draw_quads_1"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013032, 79 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 80 ".strides.buffer_0_32_short2_vec4_dynamic_draw_quads_1"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013033, 83 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 84 "strides.buffer_0_4_short2_vec4_dynamic_draw_quads_256"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013034, 87 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 88 "strides.buffer_0_32_short2_vec4_dynamic_draw_quads_256"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013035, 91 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 92 ".strides.buffer_0_6_short3_vec4_dynamic_draw_quads_1"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013036, 95 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 96 ".strides.buffer_0_32_short3_vec4_dynamic_draw_quads_1"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013037, 99 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 100 "strides.buffer_0_6_short3_vec4_dynamic_draw_quads_256"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013038, 103 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 104 "strides.buffer_0_32_short3_vec4_dynamic_draw_quads_256"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013039, 107 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 108 ".strides.buffer_0_8_short4_vec4_dynamic_draw_quads_1"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013040, 111 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 112 ".strides.buffer_0_32_short4_vec4_dynamic_draw_quads_1"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013041, 115 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 116 "strides.buffer_0_8_short4_vec4_dynamic_draw_quads_256"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013042, 119 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 120 "strides.buffer_0_32_short4_vec4_dynamic_draw_quads_256"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013043, 123 "dEQP-GLES2.functional.vertex_arrays.single_attribut", 124 "e.strides.buffer_0_2_byte2_vec4_dynamic_draw_quads_1"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013044, 127 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 128 ".strides.buffer_0_17_byte2_vec4_dynamic_draw_quads_1"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013045, 131 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 132 ".strides.buffer_0_32_byte2_vec4_dynamic_draw_quads_1"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013046, 135 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 136 ".strides.buffer_0_2_byte2_vec4_dynamic_draw_quads_256"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013047, 139 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 140 "strides.buffer_0_17_byte2_vec4_dynamic_draw_quads_256"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013048, 143 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 144 "strides.buffer_0_32_byte2_vec4_dynamic_draw_quads_256"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013049, 147 "dEQP-GLES2.functional.vertex_arrays.single_attribut", 148 "e.strides.buffer_0_3_byte3_vec4_dynamic_draw_quads_1"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013050, 151 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 152 ".strides.buffer_0_17_byte3_vec4_dynamic_draw_quads_1"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013051, 155 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 156 ".strides.buffer_0_32_byte3_vec4_dynamic_draw_quads_1"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013052, 159 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 160 ".strides.buffer_0_3_byte3_vec4_dynamic_draw_quads_256"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013053, 163 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 164 "strides.buffer_0_17_byte3_vec4_dynamic_draw_quads_256"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013054, 167 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 168 "strides.buffer_0_32_byte3_vec4_dynamic_draw_quads_256"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013055, 171 "dEQP-GLES2.functional.vertex_arrays.single_attribut", 172 "e.strides.buffer_0_4_byte4_vec4_dynamic_draw_quads_1"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013056, 175 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 176 ".strides.buffer_0_17_byte4_vec4_dynamic_draw_quads_1"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013057, 179 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 180 ".strides.buffer_0_32_byte4_vec4_dynamic_draw_quads_1"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013058, 183 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 184 ".strides.buffer_0_4_byte4_vec4_dynamic_draw_quads_256"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013059, 187 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 188 "strides.buffer_0_17_byte4_vec4_dynamic_draw_quads_256"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013060, 191 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 192 "strides.buffer_0_32_byte4_vec4_dynamic_draw_quads_256"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013061, 195 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 196 ".strides.buffer_0_8_fixed2_vec4_dynamic_draw_quads_1"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013062, 199 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 200 ".strides.buffer_0_32_fixed2_vec4_dynamic_draw_quads_1"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013063, 203 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 204 "strides.buffer_0_8_fixed2_vec4_dynamic_draw_quads_256"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013064, 207 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 208 "strides.buffer_0_32_fixed2_vec4_dynamic_draw_quads_256"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013065, 211 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 212 ".strides.buffer_0_12_fixed3_vec4_dynamic_draw_quads_1"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013066, 215 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 216 ".strides.buffer_0_32_fixed3_vec4_dynamic_draw_quads_1"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013067, 219 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 220 "strides.buffer_0_12_fixed3_vec4_dynamic_draw_quads_256"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013068, 223 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 224 "strides.buffer_0_32_fixed3_vec4_dynamic_draw_quads_256"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013069, 227 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 228 ".strides.buffer_0_16_fixed4_vec4_dynamic_draw_quads_1"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013070, 231 "dEQP-GLES2.functional.vertex_arrays.single_attribute", 232 ".strides.buffer_0_32_fixed4_vec4_dynamic_draw_quads_1"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013071, 235 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 236 "strides.buffer_0_16_fixed4_vec4_dynamic_draw_quads_256"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013072, 239 "dEQP-GLES2.functional.vertex_arrays.single_attribute.", 240 "strides.buffer_0_32_fixed4_vec4_dynamic_draw_quads_256"); 241