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_013335,
27         "dEQP-GLES2.functional.vertex_arrays.single_attr",
28         "ibute.first.float_first6_offset16_stride8_quads5");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013336,
31         "dEQP-GLES2.functional.vertex_arrays.single_attri",
32         "bute.first.float_first24_offset16_stride8_quads5");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013337,
35         "dEQP-GLES2.functional.vertex_arrays.single_attri",
36         "bute.first.float_first6_offset16_stride32_quads5");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013338,
39         "dEQP-GLES2.functional.vertex_arrays.single_attri",
40         "bute.first.float_first24_offset16_stride32_quads5");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013339,
43         "dEQP-GLES2.functional.vertex_arrays.single_attri",
44         "bute.first.float_first6_offset16_stride8_quads256");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013340,
47         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
48         "ute.first.float_first24_offset16_stride8_quads256");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013341,
51         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
52         "ute.first.float_first6_offset16_stride32_quads256");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013342,
55         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
56         "ute.first.float_first24_offset16_stride32_quads256");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013343,
59         "dEQP-GLES2.functional.vertex_arrays.single_att",
60         "ribute.first.byte_first6_offset1_stride2_quads5");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013344,
63         "dEQP-GLES2.functional.vertex_arrays.single_attr",
64         "ibute.first.byte_first24_offset1_stride2_quads5");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013345,
67         "dEQP-GLES2.functional.vertex_arrays.single_attr",
68         "ibute.first.byte_first6_offset1_stride17_quads5");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013346,
71         "dEQP-GLES2.functional.vertex_arrays.single_attr",
72         "ibute.first.byte_first24_offset1_stride17_quads5");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013347,
75         "dEQP-GLES2.functional.vertex_arrays.single_attr",
76         "ibute.first.byte_first6_offset1_stride32_quads5");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013348,
79         "dEQP-GLES2.functional.vertex_arrays.single_attr",
80         "ibute.first.byte_first24_offset1_stride32_quads5");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013349,
83         "dEQP-GLES2.functional.vertex_arrays.single_attr",
84         "ibute.first.byte_first6_offset1_stride2_quads256");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013350,
87         "dEQP-GLES2.functional.vertex_arrays.single_attri",
88         "bute.first.byte_first24_offset1_stride2_quads256");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013351,
91         "dEQP-GLES2.functional.vertex_arrays.single_attri",
92         "bute.first.byte_first6_offset1_stride17_quads256");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013352,
95         "dEQP-GLES2.functional.vertex_arrays.single_attri",
96         "bute.first.byte_first24_offset1_stride17_quads256");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013353,
99         "dEQP-GLES2.functional.vertex_arrays.single_attri",
100         "bute.first.byte_first6_offset1_stride32_quads256");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013354,
103         "dEQP-GLES2.functional.vertex_arrays.single_attri",
104         "bute.first.byte_first24_offset1_stride32_quads256");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013355,
107         "dEQP-GLES2.functional.vertex_arrays.single_attr",
108         "ibute.first.byte_first6_offset16_stride2_quads5");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013356,
111         "dEQP-GLES2.functional.vertex_arrays.single_attr",
112         "ibute.first.byte_first24_offset16_stride2_quads5");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013357,
115         "dEQP-GLES2.functional.vertex_arrays.single_attr",
116         "ibute.first.byte_first6_offset16_stride17_quads5");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013358,
119         "dEQP-GLES2.functional.vertex_arrays.single_attri",
120         "bute.first.byte_first24_offset16_stride17_quads5");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013359,
123         "dEQP-GLES2.functional.vertex_arrays.single_attr",
124         "ibute.first.byte_first6_offset16_stride32_quads5");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013360,
127         "dEQP-GLES2.functional.vertex_arrays.single_attri",
128         "bute.first.byte_first24_offset16_stride32_quads5");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013361,
131         "dEQP-GLES2.functional.vertex_arrays.single_attri",
132         "bute.first.byte_first6_offset16_stride2_quads256");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013362,
135         "dEQP-GLES2.functional.vertex_arrays.single_attri",
136         "bute.first.byte_first24_offset16_stride2_quads256");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013363,
139         "dEQP-GLES2.functional.vertex_arrays.single_attri",
140         "bute.first.byte_first6_offset16_stride17_quads256");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013364,
143         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
144         "ute.first.byte_first24_offset16_stride17_quads256");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013365,
147         "dEQP-GLES2.functional.vertex_arrays.single_attri",
148         "bute.first.byte_first6_offset16_stride32_quads256");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013366,
151         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
152         "ute.first.byte_first24_offset16_stride32_quads256");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013367,
155         "dEQP-GLES2.functional.vertex_arrays.single_attr",
156         "ibute.first.byte_first6_offset17_stride2_quads5");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013368,
159         "dEQP-GLES2.functional.vertex_arrays.single_attr",
160         "ibute.first.byte_first24_offset17_stride2_quads5");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013369,
163         "dEQP-GLES2.functional.vertex_arrays.single_attr",
164         "ibute.first.byte_first6_offset17_stride17_quads5");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013370,
167         "dEQP-GLES2.functional.vertex_arrays.single_attri",
168         "bute.first.byte_first24_offset17_stride17_quads5");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013371,
171         "dEQP-GLES2.functional.vertex_arrays.single_attr",
172         "ibute.first.byte_first6_offset17_stride32_quads5");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013372,
175         "dEQP-GLES2.functional.vertex_arrays.single_attri",
176         "bute.first.byte_first24_offset17_stride32_quads5");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013373,
179         "dEQP-GLES2.functional.vertex_arrays.single_attri",
180         "bute.first.byte_first6_offset17_stride2_quads256");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013374,
183         "dEQP-GLES2.functional.vertex_arrays.single_attri",
184         "bute.first.byte_first24_offset17_stride2_quads256");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013375,
187         "dEQP-GLES2.functional.vertex_arrays.single_attri",
188         "bute.first.byte_first6_offset17_stride17_quads256");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013376,
191         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
192         "ute.first.byte_first24_offset17_stride17_quads256");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013377,
195         "dEQP-GLES2.functional.vertex_arrays.single_attri",
196         "bute.first.byte_first6_offset17_stride32_quads256");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013378,
199         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
200         "ute.first.byte_first24_offset17_stride32_quads256");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013379,
203         "dEQP-GLES2.functional.vertex_arrays.single_attr",
204         "ibute.first.fixed_first6_offset16_stride8_quads5");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013380,
207         "dEQP-GLES2.functional.vertex_arrays.single_attri",
208         "bute.first.fixed_first24_offset16_stride8_quads5");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013381,
211         "dEQP-GLES2.functional.vertex_arrays.single_attri",
212         "bute.first.fixed_first6_offset16_stride32_quads5");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013382,
215         "dEQP-GLES2.functional.vertex_arrays.single_attri",
216         "bute.first.fixed_first24_offset16_stride32_quads5");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013383,
219         "dEQP-GLES2.functional.vertex_arrays.single_attri",
220         "bute.first.fixed_first6_offset16_stride8_quads256");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013384,
223         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
224         "ute.first.fixed_first24_offset16_stride8_quads256");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013385,
227         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
228         "ute.first.fixed_first6_offset16_stride32_quads256");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013386,
231         "dEQP-GLES2.functional.vertex_arrays.single_attrib",
232         "ute.first.fixed_first24_offset16_stride32_quads256");
233