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_013295,
27         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
28         "e.offset.buffer_4_8_float2_vec2_dynamic_draw_quads_1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013296,
31         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
32         ".offset.buffer_4_32_float2_vec2_dynamic_draw_quads_1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013297,
35         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
36         ".offset.buffer_4_8_float2_vec2_dynamic_draw_quads_256");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013298,
39         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
40         "offset.buffer_4_32_float2_vec2_dynamic_draw_quads_256");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013299,
43         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
44         ".offset.buffer_32_8_float2_vec2_dynamic_draw_quads_1");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013300,
47         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
48         ".offset.buffer_32_32_float2_vec2_dynamic_draw_quads_1");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013301,
51         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
52         "offset.buffer_32_8_float2_vec2_dynamic_draw_quads_256");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013302,
55         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
56         "offset.buffer_32_32_float2_vec2_dynamic_draw_quads_256");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013303,
59         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
60         "e.offset.buffer_1_2_byte2_vec2_dynamic_draw_quads_1");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013304,
63         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
64         "e.offset.buffer_1_17_byte2_vec2_dynamic_draw_quads_1");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013305,
67         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
68         "e.offset.buffer_1_32_byte2_vec2_dynamic_draw_quads_1");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013306,
71         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
72         ".offset.buffer_1_2_byte2_vec2_dynamic_draw_quads_256");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013307,
75         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
76         ".offset.buffer_1_17_byte2_vec2_dynamic_draw_quads_256");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013308,
79         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
80         ".offset.buffer_1_32_byte2_vec2_dynamic_draw_quads_256");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013309,
83         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
84         "e.offset.buffer_4_2_byte2_vec2_dynamic_draw_quads_1");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013310,
87         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
88         "e.offset.buffer_4_17_byte2_vec2_dynamic_draw_quads_1");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013311,
91         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
92         "e.offset.buffer_4_32_byte2_vec2_dynamic_draw_quads_1");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013312,
95         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
96         ".offset.buffer_4_2_byte2_vec2_dynamic_draw_quads_256");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013313,
99         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
100         ".offset.buffer_4_17_byte2_vec2_dynamic_draw_quads_256");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013314,
103         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
104         ".offset.buffer_4_32_byte2_vec2_dynamic_draw_quads_256");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013315,
107         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
108         "e.offset.buffer_17_2_byte2_vec2_dynamic_draw_quads_1");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013316,
111         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
112         ".offset.buffer_17_17_byte2_vec2_dynamic_draw_quads_1");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013317,
115         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
116         ".offset.buffer_17_32_byte2_vec2_dynamic_draw_quads_1");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013318,
119         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
120         ".offset.buffer_17_2_byte2_vec2_dynamic_draw_quads_256");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013319,
123         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
124         "offset.buffer_17_17_byte2_vec2_dynamic_draw_quads_256");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013320,
127         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
128         "offset.buffer_17_32_byte2_vec2_dynamic_draw_quads_256");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013321,
131         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
132         "e.offset.buffer_32_2_byte2_vec2_dynamic_draw_quads_1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013322,
135         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
136         ".offset.buffer_32_17_byte2_vec2_dynamic_draw_quads_1");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013323,
139         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
140         ".offset.buffer_32_32_byte2_vec2_dynamic_draw_quads_1");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013324,
143         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
144         ".offset.buffer_32_2_byte2_vec2_dynamic_draw_quads_256");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013325,
147         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
148         "offset.buffer_32_17_byte2_vec2_dynamic_draw_quads_256");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013326,
151         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
152         "offset.buffer_32_32_byte2_vec2_dynamic_draw_quads_256");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013327,
155         "dEQP-GLES2.functional.vertex_arrays.single_attribut",
156         "e.offset.buffer_4_8_fixed2_vec2_dynamic_draw_quads_1");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013328,
159         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
160         ".offset.buffer_4_32_fixed2_vec2_dynamic_draw_quads_1");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013329,
163         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
164         ".offset.buffer_4_8_fixed2_vec2_dynamic_draw_quads_256");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013330,
167         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
168         "offset.buffer_4_32_fixed2_vec2_dynamic_draw_quads_256");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013331,
171         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
172         ".offset.buffer_32_8_fixed2_vec2_dynamic_draw_quads_1");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013332,
175         "dEQP-GLES2.functional.vertex_arrays.single_attribute",
176         ".offset.buffer_32_32_fixed2_vec2_dynamic_draw_quads_1");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013333,
179         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
180         "offset.buffer_32_8_fixed2_vec2_dynamic_draw_quads_256");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013334,
183         "dEQP-GLES2.functional.vertex_arrays.single_attribute.",
184         "offset.buffer_32_32_fixed2_vec2_dynamic_draw_quads_256");
185