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 "../Deqpgles31BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles310025TestSuite.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(ActsDeqpgles310025TestSuite, TestCase_024837,
27f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_bindin",
28f6603c60Sopenharmony_ci        "g.image.image2d.vertex_binding_single");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024838,
31f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_bindi",
32f6603c60Sopenharmony_ci        "ng.image.image2d.vertex_binding_max");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024839,
35f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding",
36f6603c60Sopenharmony_ci        ".image.image2d.vertex_binding_multiple");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024840,
39f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_bindin",
40f6603c60Sopenharmony_ci        "g.image.image2d.vertex_binding_array");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024841,
43f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.",
44f6603c60Sopenharmony_ci        "image.image2d.vertex_binding_max_array");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024842,
47f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding",
48f6603c60Sopenharmony_ci        ".image.image2d.fragment_binding_single");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024843,
51f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_bindin",
52f6603c60Sopenharmony_ci        "g.image.image2d.fragment_binding_max");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024844,
55f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.",
56f6603c60Sopenharmony_ci        "image.image2d.fragment_binding_multiple");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024845,
59f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding",
60f6603c60Sopenharmony_ci        ".image.image2d.fragment_binding_array");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024846,
63f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.i",
64f6603c60Sopenharmony_ci        "mage.image2d.fragment_binding_max_array");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024929,
67f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.nega",
68f6603c60Sopenharmony_ci        "tive.image.image2d.vertex_binding_over_max");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024930,
71f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negat",
72f6603c60Sopenharmony_ci        "ive.image.image2d.fragment_binding_over_max");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024931,
75f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negativ",
76f6603c60Sopenharmony_ci        "e.image.image2d.tess_control_binding_over_max");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024932,
79f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negative",
80f6603c60Sopenharmony_ci        ".image.image2d.tess_evaluation_binding_over_max");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024933,
83f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.n",
84f6603c60Sopenharmony_ci        "egative.image.image2d.vertex_binding_neg");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024934,
87f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.ne",
88f6603c60Sopenharmony_ci        "gative.image.image2d.fragment_binding_neg");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024935,
91f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.nega",
92f6603c60Sopenharmony_ci        "tive.image.image2d.tess_control_binding_neg");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024936,
95f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negati",
96f6603c60Sopenharmony_ci        "ve.image.image2d.tess_evaluation_binding_neg");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024937,
99f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negativ",
100f6603c60Sopenharmony_ci        "e.image.image2d.vertex_binding_over_max_array");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024938,
103f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negative",
104f6603c60Sopenharmony_ci        ".image.image2d.fragment_binding_over_max_array");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024939,
107f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negative.i",
108f6603c60Sopenharmony_ci        "mage.image2d.tess_control_binding_over_max_array");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024940,
111f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negative.im",
112f6603c60Sopenharmony_ci        "age.image2d.tess_evaluation_binding_over_max_array");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024941,
115f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.nega",
116f6603c60Sopenharmony_ci        "tive.image.image2d.vertex_binding_neg_array");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024942,
119f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negat",
120f6603c60Sopenharmony_ci        "ive.image.image2d.fragment_binding_neg_array");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024943,
123f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negativ",
124f6603c60Sopenharmony_ci        "e.image.image2d.tess_control_binding_neg_array");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024944,
127f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negative.",
128f6603c60Sopenharmony_ci        "image.image2d.tess_evaluation_binding_neg_array");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024945,
131f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.neg",
132f6603c60Sopenharmony_ci        "ative.image.image2d.binding_contradictory");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024946,
135f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.layout_binding.negati",
136f6603c60Sopenharmony_ci        "ve.image.image2d.binding_contradictory_array");
137