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 "../ActsDeqpgles310001TestSuite.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(ActsDeqpgles310001TestSuite, TestCase_000637,
27         "dEQP-GLES31.functional.shaders.builtin_functi",
28         "ons.common.floatbitstoint.float_lowp_geometry");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000638,
31         "dEQP-GLES31.functional.shaders.builtin_function",
32         "s.common.floatbitstoint.float_lowp_tess_control");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000639,
35         "dEQP-GLES31.functional.shaders.builtin_functi",
36         "ons.common.floatbitstoint.float_lowp_tess_eval");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000640,
39         "dEQP-GLES31.functional.shaders.builtin_funct",
40         "ions.common.floatbitstoint.float_lowp_compute");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000641,
43         "dEQP-GLES31.functional.shaders.builtin_functio",
44         "ns.common.floatbitstoint.float_mediump_geometry");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000642,
47         "dEQP-GLES31.functional.shaders.builtin_functions",
48         ".common.floatbitstoint.float_mediump_tess_control");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000643,
51         "dEQP-GLES31.functional.shaders.builtin_function",
52         "s.common.floatbitstoint.float_mediump_tess_eval");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000644,
55         "dEQP-GLES31.functional.shaders.builtin_functio",
56         "ns.common.floatbitstoint.float_mediump_compute");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000645,
59         "dEQP-GLES31.functional.shaders.builtin_functi",
60         "ons.common.floatbitstoint.float_highp_geometry");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000646,
63         "dEQP-GLES31.functional.shaders.builtin_function",
64         "s.common.floatbitstoint.float_highp_tess_control");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000647,
67         "dEQP-GLES31.functional.shaders.builtin_functio",
68         "ns.common.floatbitstoint.float_highp_tess_eval");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000648,
71         "dEQP-GLES31.functional.shaders.builtin_functi",
72         "ons.common.floatbitstoint.float_highp_compute");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000649,
75         "dEQP-GLES31.functional.shaders.builtin_funct",
76         "ions.common.floatbitstoint.vec2_lowp_geometry");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000650,
79         "dEQP-GLES31.functional.shaders.builtin_functio",
80         "ns.common.floatbitstoint.vec2_lowp_tess_control");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000651,
83         "dEQP-GLES31.functional.shaders.builtin_functi",
84         "ons.common.floatbitstoint.vec2_lowp_tess_eval");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000652,
87         "dEQP-GLES31.functional.shaders.builtin_funct",
88         "ions.common.floatbitstoint.vec2_lowp_compute");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000653,
91         "dEQP-GLES31.functional.shaders.builtin_functio",
92         "ns.common.floatbitstoint.vec2_mediump_geometry");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000654,
95         "dEQP-GLES31.functional.shaders.builtin_functions",
96         ".common.floatbitstoint.vec2_mediump_tess_control");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000655,
99         "dEQP-GLES31.functional.shaders.builtin_functio",
100         "ns.common.floatbitstoint.vec2_mediump_tess_eval");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000656,
103         "dEQP-GLES31.functional.shaders.builtin_functi",
104         "ons.common.floatbitstoint.vec2_mediump_compute");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000657,
107         "dEQP-GLES31.functional.shaders.builtin_functi",
108         "ons.common.floatbitstoint.vec2_highp_geometry");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000658,
111         "dEQP-GLES31.functional.shaders.builtin_function",
112         "s.common.floatbitstoint.vec2_highp_tess_control");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000659,
115         "dEQP-GLES31.functional.shaders.builtin_functi",
116         "ons.common.floatbitstoint.vec2_highp_tess_eval");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000660,
119         "dEQP-GLES31.functional.shaders.builtin_funct",
120         "ions.common.floatbitstoint.vec2_highp_compute");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000661,
123         "dEQP-GLES31.functional.shaders.builtin_funct",
124         "ions.common.floatbitstoint.vec3_lowp_geometry");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000662,
127         "dEQP-GLES31.functional.shaders.builtin_functio",
128         "ns.common.floatbitstoint.vec3_lowp_tess_control");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000663,
131         "dEQP-GLES31.functional.shaders.builtin_functi",
132         "ons.common.floatbitstoint.vec3_lowp_tess_eval");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000664,
135         "dEQP-GLES31.functional.shaders.builtin_funct",
136         "ions.common.floatbitstoint.vec3_lowp_compute");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000665,
139         "dEQP-GLES31.functional.shaders.builtin_functio",
140         "ns.common.floatbitstoint.vec3_mediump_geometry");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000666,
143         "dEQP-GLES31.functional.shaders.builtin_functions",
144         ".common.floatbitstoint.vec3_mediump_tess_control");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000667,
147         "dEQP-GLES31.functional.shaders.builtin_functio",
148         "ns.common.floatbitstoint.vec3_mediump_tess_eval");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000668,
151         "dEQP-GLES31.functional.shaders.builtin_functi",
152         "ons.common.floatbitstoint.vec3_mediump_compute");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000669,
155         "dEQP-GLES31.functional.shaders.builtin_functi",
156         "ons.common.floatbitstoint.vec3_highp_geometry");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000670,
159         "dEQP-GLES31.functional.shaders.builtin_function",
160         "s.common.floatbitstoint.vec3_highp_tess_control");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000671,
163         "dEQP-GLES31.functional.shaders.builtin_functi",
164         "ons.common.floatbitstoint.vec3_highp_tess_eval");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000672,
167         "dEQP-GLES31.functional.shaders.builtin_funct",
168         "ions.common.floatbitstoint.vec3_highp_compute");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000673,
171         "dEQP-GLES31.functional.shaders.builtin_funct",
172         "ions.common.floatbitstoint.vec4_lowp_geometry");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000674,
175         "dEQP-GLES31.functional.shaders.builtin_functio",
176         "ns.common.floatbitstoint.vec4_lowp_tess_control");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000675,
179         "dEQP-GLES31.functional.shaders.builtin_functi",
180         "ons.common.floatbitstoint.vec4_lowp_tess_eval");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000676,
183         "dEQP-GLES31.functional.shaders.builtin_funct",
184         "ions.common.floatbitstoint.vec4_lowp_compute");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000677,
187         "dEQP-GLES31.functional.shaders.builtin_functio",
188         "ns.common.floatbitstoint.vec4_mediump_geometry");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000678,
191         "dEQP-GLES31.functional.shaders.builtin_functions",
192         ".common.floatbitstoint.vec4_mediump_tess_control");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000679,
195         "dEQP-GLES31.functional.shaders.builtin_functio",
196         "ns.common.floatbitstoint.vec4_mediump_tess_eval");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000680,
199         "dEQP-GLES31.functional.shaders.builtin_functi",
200         "ons.common.floatbitstoint.vec4_mediump_compute");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000681,
203         "dEQP-GLES31.functional.shaders.builtin_functi",
204         "ons.common.floatbitstoint.vec4_highp_geometry");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000682,
207         "dEQP-GLES31.functional.shaders.builtin_function",
208         "s.common.floatbitstoint.vec4_highp_tess_control");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000683,
211         "dEQP-GLES31.functional.shaders.builtin_functi",
212         "ons.common.floatbitstoint.vec4_highp_tess_eval");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000684,
215         "dEQP-GLES31.functional.shaders.builtin_funct",
216         "ions.common.floatbitstoint.vec4_highp_compute");
217