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_007926,
27         "dEQP-GLES31.functional.tessellati",
28         "on.state_query.max_patch_vertices");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007927,
31         "dEQP-GLES31.functional.tessellati",
32         "on.state_query.max_tess_gen_level");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007928,
35         "dEQP-GLES31.functional.tessellation.state",
36         "_query.max_tess_control_uniform_components");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007929,
39         "dEQP-GLES31.functional.tessellation.state_q",
40         "uery.max_tess_evaluation_uniform_components");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007930,
43         "dEQP-GLES31.functional.tessellation.state_",
44         "query.max_tess_control_texture_image_units");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007931,
47         "dEQP-GLES31.functional.tessellation.state_q",
48         "uery.max_tess_evaluation_texture_image_units");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007932,
51         "dEQP-GLES31.functional.tessellation.state",
52         "_query.max_tess_control_output_components");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007933,
55         "dEQP-GLES31.functional.tessellation.",
56         "state_query.max_tess_patch_components");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007934,
59         "dEQP-GLES31.functional.tessellation.state_qu",
60         "ery.max_tess_control_total_output_components");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007935,
63         "dEQP-GLES31.functional.tessellation.state_",
64         "query.max_tess_evaluation_output_components");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007936,
67         "dEQP-GLES31.functional.tessellation.sta",
68         "te_query.max_tess_control_uniform_blocks");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007937,
71         "dEQP-GLES31.functional.tessellation.state",
72         "_query.max_tess_evaluation_uniform_blocks");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007938,
75         "dEQP-GLES31.functional.tessellation.stat",
76         "e_query.max_tess_control_input_components");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007939,
79         "dEQP-GLES31.functional.tessellation.state_",
80         "query.max_tess_evaluation_input_components");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007940,
83         "dEQP-GLES31.functional.tessellation.state_q",
84         "uery.max_tess_control_atomic_counter_buffers");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007941,
87         "dEQP-GLES31.functional.tessellation.state_que",
88         "ry.max_tess_evaluation_atomic_counter_buffers");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007942,
91         "dEQP-GLES31.functional.tessellation.stat",
92         "e_query.max_tess_control_atomic_counters");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007943,
95         "dEQP-GLES31.functional.tessellation.state",
96         "_query.max_tess_evaluation_atomic_counters");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007944,
99         "dEQP-GLES31.functional.tessellation.sta",
100         "te_query.max_tess_control_image_uniforms");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007945,
103         "dEQP-GLES31.functional.tessellation.state",
104         "_query.max_tess_evaluation_image_uniforms");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007946,
107         "dEQP-GLES31.functional.tessellation.state_q",
108         "uery.max_tess_control_shader_storage_blocks");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007947,
111         "dEQP-GLES31.functional.tessellation.state_qu",
112         "ery.max_tess_evaluation_shader_storage_blocks");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007948,
115         "dEQP-GLES31.functional.tessellation.s",
116         "tate_query.max_uniform_buffer_bindings");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007949,
119         "dEQP-GLES31.functional.tessellation.s",
120         "tate_query.max_combined_uniform_blocks");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007950,
123         "dEQP-GLES31.functional.tessellation.stat",
124         "e_query.max_combined_texture_image_units");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007951,
127         "dEQP-GLES31.functional.tessellation.state_quer",
128         "y.max_combined_tess_control_uniform_components");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007952,
131         "dEQP-GLES31.functional.tessellation.state_query",
132         ".max_combined_tess_evaluation_uniform_components");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007953,
135         "dEQP-GLES31.functional.tessellation.state_q",
136         "uery.primitive_restart_for_patches_supported");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007954,
139         "dEQP-GLES31.functional.tessella",
140         "tion.state_query.patch_vertices");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007955,
143         "dEQP-GLES31.functional.tessellation.st",
144         "ate_query.tess_control_output_vertices");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007956,
147         "dEQP-GLES31.functional.tessell",
148         "ation.state_query.tess_gen_mode");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007957,
151         "dEQP-GLES31.functional.tessellat",
152         "ion.state_query.tess_gen_spacing");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007958,
155         "dEQP-GLES31.functional.tessellatio",
156         "n.state_query.tess_gen_vertex_order");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007959,
159         "dEQP-GLES31.functional.tessellati",
160         "on.state_query.tess_gen_point_mode");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007960,
163         "dEQP-GLES31.functional.tessellation.stat",
164         "e_query.referenced_by_tess_control_shader");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007961,
167         "dEQP-GLES31.functional.tessellation.state_",
168         "query.referenced_by_tess_evaluation_shader");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007962,
171         "dEQP-GLES31.functional.tessell",
172         "ation.state_query.is_per_patch");
173