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 "../ActsDeqpgles310006TestSuite.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(ActsDeqpgles310006TestSuite, TestCase_005017,
27         "dEQP-GLES31.functional.shaders.builtin_constants.te",
28         "ssellation_shader.max_tess_control_input_components");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005018,
31         "dEQP-GLES31.functional.shaders.builtin_constants.te",
32         "ssellation_shader.max_tess_control_output_components");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005019,
35         "dEQP-GLES31.functional.shaders.builtin_constants.tes",
36         "sellation_shader.max_tess_control_texture_image_units");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005020,
39         "dEQP-GLES31.functional.shaders.builtin_constants.tes",
40         "sellation_shader.max_tess_control_uniform_components");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005021,
43         "dEQP-GLES31.functional.shaders.builtin_constants.tesse",
44         "llation_shader.max_tess_control_total_output_components");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005022,
47         "dEQP-GLES31.functional.shaders.builtin_constants.t",
48         "essellation_shader.max_tess_control_image_uniforms");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005023,
51         "dEQP-GLES31.functional.shaders.builtin_constants.te",
52         "ssellation_shader.max_tess_evaluation_image_uniforms");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005024,
55         "dEQP-GLES31.functional.shaders.builtin_constants.t",
56         "essellation_shader.max_tess_control_atomic_counters");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005025,
59         "dEQP-GLES31.functional.shaders.builtin_constants.tes",
60         "sellation_shader.max_tess_evaluation_atomic_counters");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005026,
63         "dEQP-GLES31.functional.shaders.builtin_constants.tesse",
64         "llation_shader.max_tess_control_atomic_counter_buffers");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005027,
67         "dEQP-GLES31.functional.shaders.builtin_constants.tessel",
68         "lation_shader.max_tess_evaluation_atomic_counter_buffers");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005028,
71         "dEQP-GLES31.functional.shaders.builtin_constants.tes",
72         "sellation_shader.max_tess_evaluation_input_components");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005029,
75         "dEQP-GLES31.functional.shaders.builtin_constants.tess",
76         "ellation_shader.max_tess_evaluation_output_components");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005030,
79         "dEQP-GLES31.functional.shaders.builtin_constants.tesse",
80         "llation_shader.max_tess_evaluation_texture_image_units");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005031,
83         "dEQP-GLES31.functional.shaders.builtin_constants.tess",
84         "ellation_shader.max_tess_evaluation_uniform_components");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005032,
87         "dEQP-GLES31.functional.shaders.builtin_constant",
88         "s.tessellation_shader.max_tess_patch_components");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005033,
91         "dEQP-GLES31.functional.shaders.builtin_cons",
92         "tants.tessellation_shader.max_patch_vertices");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310006TestSuite, TestCase_005034,
95         "dEQP-GLES31.functional.shaders.builtin_cons",
96         "tants.tessellation_shader.max_tess_gen_level");
97