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_033597,
27        "dEQP-GLES3.functional.vertex_arrays.single_",
28        "attribute.offset.byte.offset1_stride2_quads1");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033598,
31        "dEQP-GLES3.functional.vertex_arrays.single_a",
32        "ttribute.offset.byte.offset1_stride17_quads1");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033599,
35        "dEQP-GLES3.functional.vertex_arrays.single_a",
36        "ttribute.offset.byte.offset1_stride32_quads1");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033600,
39        "dEQP-GLES3.functional.vertex_arrays.single_a",
40        "ttribute.offset.byte.offset1_stride2_quads256");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033601,
43        "dEQP-GLES3.functional.vertex_arrays.single_at",
44        "tribute.offset.byte.offset1_stride17_quads256");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033602,
47        "dEQP-GLES3.functional.vertex_arrays.single_at",
48        "tribute.offset.byte.offset1_stride32_quads256");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033603,
51        "dEQP-GLES3.functional.vertex_arrays.single_",
52        "attribute.offset.byte.offset4_stride2_quads1");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033604,
55        "dEQP-GLES3.functional.vertex_arrays.single_a",
56        "ttribute.offset.byte.offset4_stride17_quads1");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033605,
59        "dEQP-GLES3.functional.vertex_arrays.single_a",
60        "ttribute.offset.byte.offset4_stride32_quads1");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033606,
63        "dEQP-GLES3.functional.vertex_arrays.single_a",
64        "ttribute.offset.byte.offset4_stride2_quads256");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033607,
67        "dEQP-GLES3.functional.vertex_arrays.single_at",
68        "tribute.offset.byte.offset4_stride17_quads256");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033608,
71        "dEQP-GLES3.functional.vertex_arrays.single_at",
72        "tribute.offset.byte.offset4_stride32_quads256");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033609,
75        "dEQP-GLES3.functional.vertex_arrays.single_a",
76        "ttribute.offset.byte.offset17_stride2_quads1");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033610,
79        "dEQP-GLES3.functional.vertex_arrays.single_a",
80        "ttribute.offset.byte.offset17_stride17_quads1");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033611,
83        "dEQP-GLES3.functional.vertex_arrays.single_a",
84        "ttribute.offset.byte.offset17_stride32_quads1");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033612,
87        "dEQP-GLES3.functional.vertex_arrays.single_at",
88        "tribute.offset.byte.offset17_stride2_quads256");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033613,
91        "dEQP-GLES3.functional.vertex_arrays.single_at",
92        "tribute.offset.byte.offset17_stride17_quads256");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033614,
95        "dEQP-GLES3.functional.vertex_arrays.single_at",
96        "tribute.offset.byte.offset17_stride32_quads256");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033615,
99        "dEQP-GLES3.functional.vertex_arrays.single_a",
100        "ttribute.offset.byte.offset32_stride2_quads1");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033616,
103        "dEQP-GLES3.functional.vertex_arrays.single_a",
104        "ttribute.offset.byte.offset32_stride17_quads1");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033617,
107        "dEQP-GLES3.functional.vertex_arrays.single_a",
108        "ttribute.offset.byte.offset32_stride32_quads1");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033618,
111        "dEQP-GLES3.functional.vertex_arrays.single_at",
112        "tribute.offset.byte.offset32_stride2_quads256");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033619,
115        "dEQP-GLES3.functional.vertex_arrays.single_at",
116        "tribute.offset.byte.offset32_stride17_quads256");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033620,
119        "dEQP-GLES3.functional.vertex_arrays.single_at",
120        "tribute.offset.byte.offset32_stride32_quads256");
121