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 "../Deqpgles3BaseFunc.h"
19#include "../ActsDeqpgles30034TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033637,
27        "dEQP-GLES3.functional.vertex_arrays.single_att",
28        "ribute.first.byte.first6_offset1_stride2_quads5");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033638,
31        "dEQP-GLES3.functional.vertex_arrays.single_attr",
32        "ibute.first.byte.first24_offset1_stride2_quads5");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033639,
35        "dEQP-GLES3.functional.vertex_arrays.single_attr",
36        "ibute.first.byte.first6_offset1_stride17_quads5");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033640,
39        "dEQP-GLES3.functional.vertex_arrays.single_attr",
40        "ibute.first.byte.first24_offset1_stride17_quads5");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033641,
43        "dEQP-GLES3.functional.vertex_arrays.single_attr",
44        "ibute.first.byte.first6_offset1_stride32_quads5");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033642,
47        "dEQP-GLES3.functional.vertex_arrays.single_attr",
48        "ibute.first.byte.first24_offset1_stride32_quads5");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033643,
51        "dEQP-GLES3.functional.vertex_arrays.single_attr",
52        "ibute.first.byte.first6_offset1_stride2_quads256");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033644,
55        "dEQP-GLES3.functional.vertex_arrays.single_attri",
56        "bute.first.byte.first24_offset1_stride2_quads256");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033645,
59        "dEQP-GLES3.functional.vertex_arrays.single_attri",
60        "bute.first.byte.first6_offset1_stride17_quads256");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033646,
63        "dEQP-GLES3.functional.vertex_arrays.single_attri",
64        "bute.first.byte.first24_offset1_stride17_quads256");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033647,
67        "dEQP-GLES3.functional.vertex_arrays.single_attri",
68        "bute.first.byte.first6_offset1_stride32_quads256");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033648,
71        "dEQP-GLES3.functional.vertex_arrays.single_attri",
72        "bute.first.byte.first24_offset1_stride32_quads256");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033649,
75        "dEQP-GLES3.functional.vertex_arrays.single_attr",
76        "ibute.first.byte.first6_offset16_stride2_quads5");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033650,
79        "dEQP-GLES3.functional.vertex_arrays.single_attr",
80        "ibute.first.byte.first24_offset16_stride2_quads5");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033651,
83        "dEQP-GLES3.functional.vertex_arrays.single_attr",
84        "ibute.first.byte.first6_offset16_stride17_quads5");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033652,
87        "dEQP-GLES3.functional.vertex_arrays.single_attri",
88        "bute.first.byte.first24_offset16_stride17_quads5");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033653,
91        "dEQP-GLES3.functional.vertex_arrays.single_attr",
92        "ibute.first.byte.first6_offset16_stride32_quads5");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033654,
95        "dEQP-GLES3.functional.vertex_arrays.single_attri",
96        "bute.first.byte.first24_offset16_stride32_quads5");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033655,
99        "dEQP-GLES3.functional.vertex_arrays.single_attri",
100        "bute.first.byte.first6_offset16_stride2_quads256");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033656,
103        "dEQP-GLES3.functional.vertex_arrays.single_attri",
104        "bute.first.byte.first24_offset16_stride2_quads256");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033657,
107        "dEQP-GLES3.functional.vertex_arrays.single_attri",
108        "bute.first.byte.first6_offset16_stride17_quads256");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033658,
111        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
112        "ute.first.byte.first24_offset16_stride17_quads256");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033659,
115        "dEQP-GLES3.functional.vertex_arrays.single_attri",
116        "bute.first.byte.first6_offset16_stride32_quads256");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033660,
119        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
120        "ute.first.byte.first24_offset16_stride32_quads256");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033661,
123        "dEQP-GLES3.functional.vertex_arrays.single_attr",
124        "ibute.first.byte.first6_offset17_stride2_quads5");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033662,
127        "dEQP-GLES3.functional.vertex_arrays.single_attr",
128        "ibute.first.byte.first24_offset17_stride2_quads5");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033663,
131        "dEQP-GLES3.functional.vertex_arrays.single_attr",
132        "ibute.first.byte.first6_offset17_stride17_quads5");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033664,
135        "dEQP-GLES3.functional.vertex_arrays.single_attri",
136        "bute.first.byte.first24_offset17_stride17_quads5");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033665,
139        "dEQP-GLES3.functional.vertex_arrays.single_attr",
140        "ibute.first.byte.first6_offset17_stride32_quads5");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033666,
143        "dEQP-GLES3.functional.vertex_arrays.single_attri",
144        "bute.first.byte.first24_offset17_stride32_quads5");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033667,
147        "dEQP-GLES3.functional.vertex_arrays.single_attri",
148        "bute.first.byte.first6_offset17_stride2_quads256");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033668,
151        "dEQP-GLES3.functional.vertex_arrays.single_attri",
152        "bute.first.byte.first24_offset17_stride2_quads256");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033669,
155        "dEQP-GLES3.functional.vertex_arrays.single_attri",
156        "bute.first.byte.first6_offset17_stride17_quads256");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033670,
159        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
160        "ute.first.byte.first24_offset17_stride17_quads256");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033671,
163        "dEQP-GLES3.functional.vertex_arrays.single_attri",
164        "bute.first.byte.first6_offset17_stride32_quads256");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033672,
167        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
168        "ute.first.byte.first24_offset17_stride32_quads256");
169