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 "../ActsDeqpgles310008TestSuite.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(ActsDeqpgles310008TestSuite, TestCase_007798,
27         "dEQP-GLES31.functional.draw_indirect.compute_intero",
28         "p.large.drawarrays_separate_grid_100x100_drawcount_1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007799,
31         "dEQP-GLES31.functional.draw_indirect.compute_intero",
32         "p.large.drawarrays_separate_grid_200x200_drawcount_1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007800,
35         "dEQP-GLES31.functional.draw_indirect.compute_intero",
36         "p.large.drawarrays_separate_grid_500x500_drawcount_1");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007801,
39         "dEQP-GLES31.functional.draw_indirect.compute_interop",
40         ".large.drawarrays_separate_grid_1000x1000_drawcount_1");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007802,
43         "dEQP-GLES31.functional.draw_indirect.compute_interop",
44         ".large.drawarrays_separate_grid_1200x1200_drawcount_1");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007803,
47         "dEQP-GLES31.functional.draw_indirect.compute_interop",
48         ".large.drawarrays_separate_grid_1500x1500_drawcount_1");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007804,
51         "dEQP-GLES31.functional.draw_indirect.compute_intero",
52         "p.large.drawarrays_separate_grid_100x100_drawcount_8");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007805,
55         "dEQP-GLES31.functional.draw_indirect.compute_intero",
56         "p.large.drawarrays_separate_grid_200x200_drawcount_8");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007806,
59         "dEQP-GLES31.functional.draw_indirect.compute_intero",
60         "p.large.drawarrays_separate_grid_500x500_drawcount_8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007807,
63         "dEQP-GLES31.functional.draw_indirect.compute_interop",
64         ".large.drawarrays_separate_grid_1000x1000_drawcount_8");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007808,
67         "dEQP-GLES31.functional.draw_indirect.compute_interop",
68         ".large.drawarrays_separate_grid_1200x1200_drawcount_8");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007809,
71         "dEQP-GLES31.functional.draw_indirect.compute_interop",
72         ".large.drawarrays_separate_grid_1500x1500_drawcount_8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007810,
75         "dEQP-GLES31.functional.draw_indirect.compute_interop",
76         ".large.drawarrays_separate_grid_100x100_drawcount_200");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007811,
79         "dEQP-GLES31.functional.draw_indirect.compute_interop",
80         ".large.drawarrays_separate_grid_200x200_drawcount_800");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007812,
83         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
84         "large.drawarrays_separate_grid_500x500_drawcount_2500");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007813,
87         "dEQP-GLES31.functional.draw_indirect.compute_interop.l",
88         "arge.drawarrays_separate_grid_1000x1000_drawcount_5000");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007814,
91         "dEQP-GLES31.functional.draw_indirect.compute_intero",
92         "p.large.drawarrays_combined_grid_100x100_drawcount_1");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007815,
95         "dEQP-GLES31.functional.draw_indirect.compute_intero",
96         "p.large.drawarrays_combined_grid_200x200_drawcount_1");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007816,
99         "dEQP-GLES31.functional.draw_indirect.compute_intero",
100         "p.large.drawarrays_combined_grid_500x500_drawcount_1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007817,
103         "dEQP-GLES31.functional.draw_indirect.compute_interop",
104         ".large.drawarrays_combined_grid_1000x1000_drawcount_1");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007818,
107         "dEQP-GLES31.functional.draw_indirect.compute_interop",
108         ".large.drawarrays_combined_grid_1200x1200_drawcount_1");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007819,
111         "dEQP-GLES31.functional.draw_indirect.compute_interop",
112         ".large.drawarrays_combined_grid_1500x1500_drawcount_1");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007820,
115         "dEQP-GLES31.functional.draw_indirect.compute_intero",
116         "p.large.drawarrays_combined_grid_100x100_drawcount_8");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007821,
119         "dEQP-GLES31.functional.draw_indirect.compute_intero",
120         "p.large.drawarrays_combined_grid_200x200_drawcount_8");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007822,
123         "dEQP-GLES31.functional.draw_indirect.compute_intero",
124         "p.large.drawarrays_combined_grid_500x500_drawcount_8");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007823,
127         "dEQP-GLES31.functional.draw_indirect.compute_interop",
128         ".large.drawarrays_combined_grid_1000x1000_drawcount_8");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007824,
131         "dEQP-GLES31.functional.draw_indirect.compute_interop",
132         ".large.drawarrays_combined_grid_1200x1200_drawcount_8");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007825,
135         "dEQP-GLES31.functional.draw_indirect.compute_interop",
136         ".large.drawarrays_combined_grid_1500x1500_drawcount_8");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007826,
139         "dEQP-GLES31.functional.draw_indirect.compute_interop",
140         ".large.drawarrays_combined_grid_100x100_drawcount_200");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007827,
143         "dEQP-GLES31.functional.draw_indirect.compute_interop",
144         ".large.drawarrays_combined_grid_200x200_drawcount_800");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007828,
147         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
148         "large.drawarrays_combined_grid_500x500_drawcount_2500");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007829,
151         "dEQP-GLES31.functional.draw_indirect.compute_interop.l",
152         "arge.drawarrays_combined_grid_1000x1000_drawcount_5000");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007830,
155         "dEQP-GLES31.functional.draw_indirect.compute_interop",
156         ".large.drawelements_separate_grid_100x100_drawcount_1");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007831,
159         "dEQP-GLES31.functional.draw_indirect.compute_interop",
160         ".large.drawelements_separate_grid_200x200_drawcount_1");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007832,
163         "dEQP-GLES31.functional.draw_indirect.compute_interop",
164         ".large.drawelements_separate_grid_500x500_drawcount_1");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007833,
167         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
168         "large.drawelements_separate_grid_1000x1000_drawcount_1");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007834,
171         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
172         "large.drawelements_separate_grid_1200x1200_drawcount_1");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007835,
175         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
176         "large.drawelements_separate_grid_1500x1500_drawcount_1");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007836,
179         "dEQP-GLES31.functional.draw_indirect.compute_interop",
180         ".large.drawelements_separate_grid_100x100_drawcount_8");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007837,
183         "dEQP-GLES31.functional.draw_indirect.compute_interop",
184         ".large.drawelements_separate_grid_200x200_drawcount_8");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007838,
187         "dEQP-GLES31.functional.draw_indirect.compute_interop",
188         ".large.drawelements_separate_grid_500x500_drawcount_8");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007839,
191         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
192         "large.drawelements_separate_grid_1000x1000_drawcount_8");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007840,
195         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
196         "large.drawelements_separate_grid_1200x1200_drawcount_8");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007841,
199         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
200         "large.drawelements_separate_grid_1500x1500_drawcount_8");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007842,
203         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
204         "large.drawelements_separate_grid_100x100_drawcount_200");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007843,
207         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
208         "large.drawelements_separate_grid_200x200_drawcount_800");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007844,
211         "dEQP-GLES31.functional.draw_indirect.compute_interop.l",
212         "arge.drawelements_separate_grid_500x500_drawcount_2500");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007845,
215         "dEQP-GLES31.functional.draw_indirect.compute_interop.la",
216         "rge.drawelements_separate_grid_1000x1000_drawcount_5000");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007846,
219         "dEQP-GLES31.functional.draw_indirect.compute_interop",
220         ".large.drawelements_combined_grid_100x100_drawcount_1");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007847,
223         "dEQP-GLES31.functional.draw_indirect.compute_interop",
224         ".large.drawelements_combined_grid_200x200_drawcount_1");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007848,
227         "dEQP-GLES31.functional.draw_indirect.compute_interop",
228         ".large.drawelements_combined_grid_500x500_drawcount_1");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007849,
231         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
232         "large.drawelements_combined_grid_1000x1000_drawcount_1");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007850,
235         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
236         "large.drawelements_combined_grid_1200x1200_drawcount_1");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007851,
239         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
240         "large.drawelements_combined_grid_1500x1500_drawcount_1");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007852,
243         "dEQP-GLES31.functional.draw_indirect.compute_interop",
244         ".large.drawelements_combined_grid_100x100_drawcount_8");
245 
246 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007853,
247         "dEQP-GLES31.functional.draw_indirect.compute_interop",
248         ".large.drawelements_combined_grid_200x200_drawcount_8");
249 
250 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007854,
251         "dEQP-GLES31.functional.draw_indirect.compute_interop",
252         ".large.drawelements_combined_grid_500x500_drawcount_8");
253 
254 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007855,
255         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
256         "large.drawelements_combined_grid_1000x1000_drawcount_8");
257 
258 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007856,
259         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
260         "large.drawelements_combined_grid_1200x1200_drawcount_8");
261 
262 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007857,
263         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
264         "large.drawelements_combined_grid_1500x1500_drawcount_8");
265 
266 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007858,
267         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
268         "large.drawelements_combined_grid_100x100_drawcount_200");
269 
270 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007859,
271         "dEQP-GLES31.functional.draw_indirect.compute_interop.",
272         "large.drawelements_combined_grid_200x200_drawcount_800");
273 
274 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007860,
275         "dEQP-GLES31.functional.draw_indirect.compute_interop.l",
276         "arge.drawelements_combined_grid_500x500_drawcount_2500");
277 
278 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007861,
279         "dEQP-GLES31.functional.draw_indirect.compute_interop.la",
280         "rge.drawelements_combined_grid_1000x1000_drawcount_5000");
281