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 "../ActsDeqpgles30033TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032939,
27        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
28        "te.strides.byte.user_ptr_stride2_components2_quads1");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032940,
31        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
32        "e.strides.byte.user_ptr_stride17_components2_quads1");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032941,
35        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
36        "e.strides.byte.user_ptr_stride32_components2_quads1");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032942,
39        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
40        "e.strides.byte.user_ptr_stride2_components2_quads256");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032943,
43        "dEQP-GLES3.functional.vertex_arrays.single_attribute",
44        ".strides.byte.user_ptr_stride17_components2_quads256");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032944,
47        "dEQP-GLES3.functional.vertex_arrays.single_attribute",
48        ".strides.byte.user_ptr_stride32_components2_quads256");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032945,
51        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
52        "te.strides.byte.user_ptr_stride3_components3_quads1");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032946,
55        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
56        "e.strides.byte.user_ptr_stride17_components3_quads1");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032947,
59        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
60        "e.strides.byte.user_ptr_stride32_components3_quads1");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032948,
63        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
64        "e.strides.byte.user_ptr_stride3_components3_quads256");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032949,
67        "dEQP-GLES3.functional.vertex_arrays.single_attribute",
68        ".strides.byte.user_ptr_stride17_components3_quads256");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032950,
71        "dEQP-GLES3.functional.vertex_arrays.single_attribute",
72        ".strides.byte.user_ptr_stride32_components3_quads256");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032951,
75        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
76        "te.strides.byte.user_ptr_stride4_components4_quads1");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032952,
79        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
80        "e.strides.byte.user_ptr_stride17_components4_quads1");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032953,
83        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
84        "e.strides.byte.user_ptr_stride32_components4_quads1");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032954,
87        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
88        "e.strides.byte.user_ptr_stride4_components4_quads256");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032955,
91        "dEQP-GLES3.functional.vertex_arrays.single_attribute",
92        ".strides.byte.user_ptr_stride17_components4_quads256");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032956,
95        "dEQP-GLES3.functional.vertex_arrays.single_attribute",
96        ".strides.byte.user_ptr_stride32_components4_quads256");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032957,
99        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
100        "ute.strides.byte.buffer_stride2_components2_quads1");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032958,
103        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
104        "te.strides.byte.buffer_stride17_components2_quads1");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032959,
107        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
108        "te.strides.byte.buffer_stride32_components2_quads1");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032960,
111        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
112        "te.strides.byte.buffer_stride2_components2_quads256");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032961,
115        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
116        "e.strides.byte.buffer_stride17_components2_quads256");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032962,
119        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
120        "e.strides.byte.buffer_stride32_components2_quads256");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032963,
123        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
124        "ute.strides.byte.buffer_stride3_components3_quads1");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032964,
127        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
128        "te.strides.byte.buffer_stride17_components3_quads1");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032965,
131        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
132        "te.strides.byte.buffer_stride32_components3_quads1");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032966,
135        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
136        "te.strides.byte.buffer_stride3_components3_quads256");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032967,
139        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
140        "e.strides.byte.buffer_stride17_components3_quads256");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032968,
143        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
144        "e.strides.byte.buffer_stride32_components3_quads256");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032969,
147        "dEQP-GLES3.functional.vertex_arrays.single_attrib",
148        "ute.strides.byte.buffer_stride4_components4_quads1");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032970,
151        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
152        "te.strides.byte.buffer_stride17_components4_quads1");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032971,
155        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
156        "te.strides.byte.buffer_stride32_components4_quads1");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032972,
159        "dEQP-GLES3.functional.vertex_arrays.single_attribu",
160        "te.strides.byte.buffer_stride4_components4_quads256");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032973,
163        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
164        "e.strides.byte.buffer_stride17_components4_quads256");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032974,
167        "dEQP-GLES3.functional.vertex_arrays.single_attribut",
168        "e.strides.byte.buffer_stride32_components4_quads256");
169