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 "../ActsDeqpgles310008TestSuite.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(ActsDeqpgles310008TestSuite, TestCase_007976,
27         "dEQP-GLES31.functional.tessellation.shade",
28         "r_input_output.patch_vertices_5_in_10_out");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007977,
31         "dEQP-GLES31.functional.tessellation.shade",
32         "r_input_output.patch_vertices_10_in_5_out");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007978,
35         "dEQP-GLES31.functional.tessellation.",
36         "shader_input_output.primitive_id_tcs");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007979,
39         "dEQP-GLES31.functional.tessellation.",
40         "shader_input_output.primitive_id_tes");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007980,
43         "dEQP-GLES31.functional.tessellation.sh",
44         "ader_input_output.patch_vertices_in_tcs");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007981,
47         "dEQP-GLES31.functional.tessellation.sh",
48         "ader_input_output.patch_vertices_in_tes");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007982,
51         "dEQP-GLES31.functional.tessellation.sha",
52         "der_input_output.tess_level_inner_0_tes");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007983,
55         "dEQP-GLES31.functional.tessellation.sha",
56         "der_input_output.tess_level_inner_1_tes");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007984,
59         "dEQP-GLES31.functional.tessellation.sha",
60         "der_input_output.tess_level_outer_0_tes");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007985,
63         "dEQP-GLES31.functional.tessellation.sha",
64         "der_input_output.tess_level_outer_1_tes");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007986,
67         "dEQP-GLES31.functional.tessellation.sha",
68         "der_input_output.tess_level_outer_2_tes");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007987,
71         "dEQP-GLES31.functional.tessellation.sha",
72         "der_input_output.tess_level_outer_3_tes");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007988,
75         "dEQP-GLES31.functional.tessellation.sh",
76         "ader_input_output.gl_position_vs_to_tcs");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007989,
79         "dEQP-GLES31.functional.tessellation.sha",
80         "der_input_output.gl_position_tcs_to_tes");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007990,
83         "dEQP-GLES31.functional.tessellation.shader",
84         "_input_output.gl_position_vs_to_tcs_to_tes");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007991,
87         "dEQP-GLES31.functional.tessella",
88         "tion.shader_input_output.barrier");
89