1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include <climits>
17f6603c60Sopenharmony_ci#include <gtest/gtest.h>
18f6603c60Sopenharmony_ci#include "../Deqpgles3BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30034TestSuite.h"
20f6603c60Sopenharmony_ci#include "shrinkdefine.h"
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ciusing namespace std;
23f6603c60Sopenharmony_ciusing namespace testing::ext;
24f6603c60Sopenharmony_ciusing namespace OHOS;
25f6603c60Sopenharmony_ci
26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033597,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_",
28f6603c60Sopenharmony_ci        "attribute.offset.byte.offset1_stride2_quads1");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033598,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
32f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset1_stride17_quads1");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033599,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
36f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset1_stride32_quads1");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033600,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
40f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset1_stride2_quads256");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033601,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
44f6603c60Sopenharmony_ci        "tribute.offset.byte.offset1_stride17_quads256");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033602,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
48f6603c60Sopenharmony_ci        "tribute.offset.byte.offset1_stride32_quads256");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033603,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_",
52f6603c60Sopenharmony_ci        "attribute.offset.byte.offset4_stride2_quads1");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033604,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
56f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset4_stride17_quads1");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033605,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
60f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset4_stride32_quads1");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033606,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
64f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset4_stride2_quads256");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033607,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
68f6603c60Sopenharmony_ci        "tribute.offset.byte.offset4_stride17_quads256");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033608,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
72f6603c60Sopenharmony_ci        "tribute.offset.byte.offset4_stride32_quads256");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033609,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
76f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset17_stride2_quads1");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033610,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
80f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset17_stride17_quads1");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033611,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
84f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset17_stride32_quads1");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033612,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
88f6603c60Sopenharmony_ci        "tribute.offset.byte.offset17_stride2_quads256");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033613,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
92f6603c60Sopenharmony_ci        "tribute.offset.byte.offset17_stride17_quads256");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033614,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
96f6603c60Sopenharmony_ci        "tribute.offset.byte.offset17_stride32_quads256");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033615,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
100f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset32_stride2_quads1");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033616,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
104f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset32_stride17_quads1");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033617,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_a",
108f6603c60Sopenharmony_ci        "ttribute.offset.byte.offset32_stride32_quads1");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033618,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
112f6603c60Sopenharmony_ci        "tribute.offset.byte.offset32_stride2_quads256");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033619,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
116f6603c60Sopenharmony_ci        "tribute.offset.byte.offset32_stride17_quads256");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30034TestSuite, TestCase_033620,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.vertex_arrays.single_at",
120f6603c60Sopenharmony_ci        "tribute.offset.byte.offset32_stride32_quads256");
121