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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30018TestSuite.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(ActsDeqpgles30018TestSuite, TestCase_017967,
27         "dEQP-GLES3.functional.shaders.builtin_",
28         "functions.common.abs.float_lowp_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017968,
31         "dEQP-GLES3.functional.shaders.builtin_f",
32         "unctions.common.abs.float_lowp_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017969,
35         "dEQP-GLES3.functional.shaders.builtin_f",
36         "unctions.common.abs.float_mediump_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017970,
39         "dEQP-GLES3.functional.shaders.builtin_fu",
40         "nctions.common.abs.float_mediump_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017971,
43         "dEQP-GLES3.functional.shaders.builtin_",
44         "functions.common.abs.float_highp_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017972,
47         "dEQP-GLES3.functional.shaders.builtin_f",
48         "unctions.common.abs.float_highp_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017973,
51         "dEQP-GLES3.functional.shaders.builtin",
52         "_functions.common.abs.vec2_lowp_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017974,
55         "dEQP-GLES3.functional.shaders.builtin_",
56         "functions.common.abs.vec2_lowp_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017975,
59         "dEQP-GLES3.functional.shaders.builtin_f",
60         "unctions.common.abs.vec2_mediump_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017976,
63         "dEQP-GLES3.functional.shaders.builtin_fu",
64         "nctions.common.abs.vec2_mediump_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017977,
67         "dEQP-GLES3.functional.shaders.builtin_",
68         "functions.common.abs.vec2_highp_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017978,
71         "dEQP-GLES3.functional.shaders.builtin_f",
72         "unctions.common.abs.vec2_highp_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017979,
75         "dEQP-GLES3.functional.shaders.builtin",
76         "_functions.common.abs.vec3_lowp_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017980,
79         "dEQP-GLES3.functional.shaders.builtin_",
80         "functions.common.abs.vec3_lowp_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017981,
83         "dEQP-GLES3.functional.shaders.builtin_f",
84         "unctions.common.abs.vec3_mediump_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017982,
87         "dEQP-GLES3.functional.shaders.builtin_fu",
88         "nctions.common.abs.vec3_mediump_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017983,
91         "dEQP-GLES3.functional.shaders.builtin_",
92         "functions.common.abs.vec3_highp_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017984,
95         "dEQP-GLES3.functional.shaders.builtin_f",
96         "unctions.common.abs.vec3_highp_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017985,
99         "dEQP-GLES3.functional.shaders.builtin",
100         "_functions.common.abs.vec4_lowp_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017986,
103         "dEQP-GLES3.functional.shaders.builtin_",
104         "functions.common.abs.vec4_lowp_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017987,
107         "dEQP-GLES3.functional.shaders.builtin_f",
108         "unctions.common.abs.vec4_mediump_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017988,
111         "dEQP-GLES3.functional.shaders.builtin_fu",
112         "nctions.common.abs.vec4_mediump_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017989,
115         "dEQP-GLES3.functional.shaders.builtin_",
116         "functions.common.abs.vec4_highp_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017990,
119         "dEQP-GLES3.functional.shaders.builtin_f",
120         "unctions.common.abs.vec4_highp_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017991,
123         "dEQP-GLES3.functional.shaders.builtin",
124         "_functions.common.abs.int_lowp_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017992,
127         "dEQP-GLES3.functional.shaders.builtin_",
128         "functions.common.abs.int_lowp_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017993,
131         "dEQP-GLES3.functional.shaders.builtin_",
132         "functions.common.abs.int_mediump_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017994,
135         "dEQP-GLES3.functional.shaders.builtin_f",
136         "unctions.common.abs.int_mediump_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017995,
139         "dEQP-GLES3.functional.shaders.builtin",
140         "_functions.common.abs.int_highp_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017996,
143         "dEQP-GLES3.functional.shaders.builtin_",
144         "functions.common.abs.int_highp_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017997,
147         "dEQP-GLES3.functional.shaders.builtin_",
148         "functions.common.abs.ivec2_lowp_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017998,
151         "dEQP-GLES3.functional.shaders.builtin_f",
152         "unctions.common.abs.ivec2_lowp_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017999,
155         "dEQP-GLES3.functional.shaders.builtin_f",
156         "unctions.common.abs.ivec2_mediump_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018000,
159         "dEQP-GLES3.functional.shaders.builtin_fu",
160         "nctions.common.abs.ivec2_mediump_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018001,
163         "dEQP-GLES3.functional.shaders.builtin_",
164         "functions.common.abs.ivec2_highp_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018002,
167         "dEQP-GLES3.functional.shaders.builtin_f",
168         "unctions.common.abs.ivec2_highp_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018003,
171         "dEQP-GLES3.functional.shaders.builtin_",
172         "functions.common.abs.ivec3_lowp_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018004,
175         "dEQP-GLES3.functional.shaders.builtin_f",
176         "unctions.common.abs.ivec3_lowp_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018005,
179         "dEQP-GLES3.functional.shaders.builtin_f",
180         "unctions.common.abs.ivec3_mediump_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018006,
183         "dEQP-GLES3.functional.shaders.builtin_fu",
184         "nctions.common.abs.ivec3_mediump_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018007,
187         "dEQP-GLES3.functional.shaders.builtin_",
188         "functions.common.abs.ivec3_highp_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018008,
191         "dEQP-GLES3.functional.shaders.builtin_f",
192         "unctions.common.abs.ivec3_highp_fragment");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018009,
195         "dEQP-GLES3.functional.shaders.builtin_",
196         "functions.common.abs.ivec4_lowp_vertex");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018010,
199         "dEQP-GLES3.functional.shaders.builtin_f",
200         "unctions.common.abs.ivec4_lowp_fragment");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018011,
203         "dEQP-GLES3.functional.shaders.builtin_f",
204         "unctions.common.abs.ivec4_mediump_vertex");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018012,
207         "dEQP-GLES3.functional.shaders.builtin_fu",
208         "nctions.common.abs.ivec4_mediump_fragment");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018013,
211         "dEQP-GLES3.functional.shaders.builtin_",
212         "functions.common.abs.ivec4_highp_vertex");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018014,
215         "dEQP-GLES3.functional.shaders.builtin_f",
216         "unctions.common.abs.ivec4_highp_fragment");
217