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 "../ActsDeqpgles310018TestSuite.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(ActsDeqpgles310018TestSuite, TestCase_017842,
27f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader",
28f6603c60Sopenharmony_ci        ".validation.es31.varying.missing_input");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017843,
31f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader",
32f6603c60Sopenharmony_ci        ".validation.es31.varying.missing_output");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017844,
35f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader",
36f6603c60Sopenharmony_ci        ".validation.es31.varying.mismatch_type");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017845,
39f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.v",
40f6603c60Sopenharmony_ci        "alidation.es31.varying.mismatch_precision");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017846,
43f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validati",
44f6603c60Sopenharmony_ci        "on.es31.varying.mismatch_explicit_location_type");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017847,
47f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation",
48f6603c60Sopenharmony_ci        ".es31.varying.mismatch_explicit_location_precision");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017848,
51f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.valid",
52f6603c60Sopenharmony_ci        "ation.es31.varying.mismatch_explicit_location");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017849,
55f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.",
56f6603c60Sopenharmony_ci        "es31.varying.mismatch_implicit_explicit_location_1");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017850,
59f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.",
60f6603c60Sopenharmony_ci        "es31.varying.mismatch_implicit_explicit_location_2");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017851,
63f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.",
64f6603c60Sopenharmony_ci        "es31.varying.mismatch_implicit_explicit_location_3");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017852,
67f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validati",
68f6603c60Sopenharmony_ci        "on.es31.varying.mismatch_different_struct_names");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017853,
71f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.valida",
72f6603c60Sopenharmony_ci        "tion.es31.varying.mismatch_struct_member_name");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017854,
75f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.valida",
76f6603c60Sopenharmony_ci        "tion.es31.varying.mismatch_struct_member_type");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017855,
79f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validati",
80f6603c60Sopenharmony_ci        "on.es31.varying.mismatch_struct_member_precision");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017856,
83f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.valida",
84f6603c60Sopenharmony_ci        "tion.es31.varying.mismatch_struct_member_order");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017857,
87f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.valida",
88f6603c60Sopenharmony_ci        "tion.es31.varying.mismatch_array_element_type");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017858,
91f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.val",
92f6603c60Sopenharmony_ci        "idation.es31.varying.mismatch_array_length");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017859,
95f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.vali",
96f6603c60Sopenharmony_ci        "dation.es31.varying.mismatch_array_precision");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017860,
99f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.es3",
100f6603c60Sopenharmony_ci        "1.varying.mismatch_qualifier_vertex_flat_fragment_none");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017861,
103f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.es31",
104f6603c60Sopenharmony_ci        ".varying.mismatch_qualifier_vertex_flat_fragment_smooth");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017862,
107f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.es31.",
108f6603c60Sopenharmony_ci        "varying.mismatch_qualifier_vertex_flat_fragment_centroid");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017863,
111f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.es31",
112f6603c60Sopenharmony_ci        ".varying.mismatch_qualifier_vertex_smooth_fragment_flat");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017864,
115f6603c60Sopenharmony_ci        "dEQP-GLES31.functional.separate_shader.validation.es31.",
116f6603c60Sopenharmony_ci        "varying.mismatch_qualifier_vertex_centroid_fragment_flat");
117