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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310018TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017690,
27         "dEQP-GLES31.functional.separate_shader.inter",
28         "face.same_name_vertex_smooth_fragment_smooth");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017691,
31         "dEQP-GLES31.functional.separate_shader.interf",
32         "ace.same_name_vertex_smooth_fragment_centroid");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017692,
35         "dEQP-GLES31.functional.separate_shad",
36         "er.interface.same_name_vertex_smooth");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017693,
39         "dEQP-GLES31.functional.separate_shader.int",
40         "erface.same_name_vertex_flat_fragment_flat");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017694,
43         "dEQP-GLES31.functional.separate_shader.interf",
44         "ace.same_name_vertex_centroid_fragment_smooth");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017695,
47         "dEQP-GLES31.functional.separate_shader.interfa",
48         "ce.same_name_vertex_centroid_fragment_centroid");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017696,
51         "dEQP-GLES31.functional.separate_shade",
52         "r.interface.same_name_vertex_centroid");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017697,
55         "dEQP-GLES31.functional.separate_shade",
56         "r.interface.same_name_fragment_smooth");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017698,
59         "dEQP-GLES31.functional.separate_shader",
60         ".interface.same_name_fragment_centroid");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017699,
63         "dEQP-GLES31.functional.separa",
64         "te_shader.interface.same_name");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017700,
67         "dEQP-GLES31.functional.separate_shader.interfa",
68         "ce.same_location_vertex_smooth_fragment_smooth");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017701,
71         "dEQP-GLES31.functional.separate_shader.interfac",
72         "e.same_location_vertex_smooth_fragment_centroid");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017702,
75         "dEQP-GLES31.functional.separate_shader",
76         ".interface.same_location_vertex_smooth");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017703,
79         "dEQP-GLES31.functional.separate_shader.inter",
80         "face.same_location_vertex_flat_fragment_flat");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017704,
83         "dEQP-GLES31.functional.separate_shader.interfac",
84         "e.same_location_vertex_centroid_fragment_smooth");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017705,
87         "dEQP-GLES31.functional.separate_shader.interface",
88         ".same_location_vertex_centroid_fragment_centroid");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017706,
91         "dEQP-GLES31.functional.separate_shader.",
92         "interface.same_location_vertex_centroid");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017707,
95         "dEQP-GLES31.functional.separate_shader.",
96         "interface.same_location_fragment_smooth");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017708,
99         "dEQP-GLES31.functional.separate_shader.i",
100         "nterface.same_location_fragment_centroid");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017709,
103         "dEQP-GLES31.functional.separate",
104         "_shader.interface.same_location");
105