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
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000301,
27        "dEQP-GLES31.functional.shaders.builtin_f",
28        "unctions.common.round.float_lowp_geometry");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000302,
31        "dEQP-GLES31.functional.shaders.builtin_fun",
32        "ctions.common.round.float_lowp_tess_control");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000303,
35        "dEQP-GLES31.functional.shaders.builtin_fu",
36        "nctions.common.round.float_lowp_tess_eval");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000304,
39        "dEQP-GLES31.functional.shaders.builtin_f",
40        "unctions.common.round.float_lowp_compute");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000305,
43        "dEQP-GLES31.functional.shaders.builtin_fun",
44        "ctions.common.round.float_mediump_geometry");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000306,
47        "dEQP-GLES31.functional.shaders.builtin_funct",
48        "ions.common.round.float_mediump_tess_control");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000307,
51        "dEQP-GLES31.functional.shaders.builtin_fun",
52        "ctions.common.round.float_mediump_tess_eval");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000308,
55        "dEQP-GLES31.functional.shaders.builtin_fu",
56        "nctions.common.round.float_mediump_compute");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000309,
59        "dEQP-GLES31.functional.shaders.builtin_fu",
60        "nctions.common.round.float_highp_geometry");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000310,
63        "dEQP-GLES31.functional.shaders.builtin_func",
64        "tions.common.round.float_highp_tess_control");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000311,
67        "dEQP-GLES31.functional.shaders.builtin_fu",
68        "nctions.common.round.float_highp_tess_eval");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000312,
71        "dEQP-GLES31.functional.shaders.builtin_f",
72        "unctions.common.round.float_highp_compute");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000313,
75        "dEQP-GLES31.functional.shaders.builtin_f",
76        "unctions.common.round.vec2_lowp_geometry");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000314,
79        "dEQP-GLES31.functional.shaders.builtin_fun",
80        "ctions.common.round.vec2_lowp_tess_control");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000315,
83        "dEQP-GLES31.functional.shaders.builtin_f",
84        "unctions.common.round.vec2_lowp_tess_eval");
85
86static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000316,
87        "dEQP-GLES31.functional.shaders.builtin_",
88        "functions.common.round.vec2_lowp_compute");
89
90static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000317,
91        "dEQP-GLES31.functional.shaders.builtin_fu",
92        "nctions.common.round.vec2_mediump_geometry");
93
94static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000318,
95        "dEQP-GLES31.functional.shaders.builtin_func",
96        "tions.common.round.vec2_mediump_tess_control");
97
98static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000319,
99        "dEQP-GLES31.functional.shaders.builtin_fun",
100        "ctions.common.round.vec2_mediump_tess_eval");
101
102static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000320,
103        "dEQP-GLES31.functional.shaders.builtin_fu",
104        "nctions.common.round.vec2_mediump_compute");
105
106static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000321,
107        "dEQP-GLES31.functional.shaders.builtin_f",
108        "unctions.common.round.vec2_highp_geometry");
109
110static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000322,
111        "dEQP-GLES31.functional.shaders.builtin_fun",
112        "ctions.common.round.vec2_highp_tess_control");
113
114static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000323,
115        "dEQP-GLES31.functional.shaders.builtin_fu",
116        "nctions.common.round.vec2_highp_tess_eval");
117
118static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000324,
119        "dEQP-GLES31.functional.shaders.builtin_f",
120        "unctions.common.round.vec2_highp_compute");
121
122static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000325,
123        "dEQP-GLES31.functional.shaders.builtin_f",
124        "unctions.common.round.vec3_lowp_geometry");
125
126static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000326,
127        "dEQP-GLES31.functional.shaders.builtin_fun",
128        "ctions.common.round.vec3_lowp_tess_control");
129
130static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000327,
131        "dEQP-GLES31.functional.shaders.builtin_f",
132        "unctions.common.round.vec3_lowp_tess_eval");
133
134static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000328,
135        "dEQP-GLES31.functional.shaders.builtin_",
136        "functions.common.round.vec3_lowp_compute");
137
138static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000329,
139        "dEQP-GLES31.functional.shaders.builtin_fu",
140        "nctions.common.round.vec3_mediump_geometry");
141
142static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000330,
143        "dEQP-GLES31.functional.shaders.builtin_func",
144        "tions.common.round.vec3_mediump_tess_control");
145
146static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000331,
147        "dEQP-GLES31.functional.shaders.builtin_fun",
148        "ctions.common.round.vec3_mediump_tess_eval");
149
150static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000332,
151        "dEQP-GLES31.functional.shaders.builtin_fu",
152        "nctions.common.round.vec3_mediump_compute");
153
154static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000333,
155        "dEQP-GLES31.functional.shaders.builtin_f",
156        "unctions.common.round.vec3_highp_geometry");
157
158static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000334,
159        "dEQP-GLES31.functional.shaders.builtin_fun",
160        "ctions.common.round.vec3_highp_tess_control");
161
162static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000335,
163        "dEQP-GLES31.functional.shaders.builtin_fu",
164        "nctions.common.round.vec3_highp_tess_eval");
165
166static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000336,
167        "dEQP-GLES31.functional.shaders.builtin_f",
168        "unctions.common.round.vec3_highp_compute");
169
170static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000337,
171        "dEQP-GLES31.functional.shaders.builtin_f",
172        "unctions.common.round.vec4_lowp_geometry");
173
174static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000338,
175        "dEQP-GLES31.functional.shaders.builtin_fun",
176        "ctions.common.round.vec4_lowp_tess_control");
177
178static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000339,
179        "dEQP-GLES31.functional.shaders.builtin_f",
180        "unctions.common.round.vec4_lowp_tess_eval");
181
182static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000340,
183        "dEQP-GLES31.functional.shaders.builtin_",
184        "functions.common.round.vec4_lowp_compute");
185
186static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000341,
187        "dEQP-GLES31.functional.shaders.builtin_fu",
188        "nctions.common.round.vec4_mediump_geometry");
189
190static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000342,
191        "dEQP-GLES31.functional.shaders.builtin_func",
192        "tions.common.round.vec4_mediump_tess_control");
193
194static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000343,
195        "dEQP-GLES31.functional.shaders.builtin_fun",
196        "ctions.common.round.vec4_mediump_tess_eval");
197
198static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000344,
199        "dEQP-GLES31.functional.shaders.builtin_fu",
200        "nctions.common.round.vec4_mediump_compute");
201
202static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000345,
203        "dEQP-GLES31.functional.shaders.builtin_f",
204        "unctions.common.round.vec4_highp_geometry");
205
206static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000346,
207        "dEQP-GLES31.functional.shaders.builtin_fun",
208        "ctions.common.round.vec4_highp_tess_control");
209
210static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000347,
211        "dEQP-GLES31.functional.shaders.builtin_fu",
212        "nctions.common.round.vec4_highp_tess_eval");
213
214static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000348,
215        "dEQP-GLES31.functional.shaders.builtin_f",
216        "unctions.common.round.vec4_highp_compute");
217