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_000493,
27        "dEQP-GLES31.functional.shaders.builtin_f",
28        "unctions.common.modf.float_lowp_geometry");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000494,
31        "dEQP-GLES31.functional.shaders.builtin_fun",
32        "ctions.common.modf.float_lowp_tess_control");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000495,
35        "dEQP-GLES31.functional.shaders.builtin_f",
36        "unctions.common.modf.float_lowp_tess_eval");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000496,
39        "dEQP-GLES31.functional.shaders.builtin_",
40        "functions.common.modf.float_lowp_compute");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000497,
43        "dEQP-GLES31.functional.shaders.builtin_fu",
44        "nctions.common.modf.float_mediump_geometry");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000498,
47        "dEQP-GLES31.functional.shaders.builtin_func",
48        "tions.common.modf.float_mediump_tess_control");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000499,
51        "dEQP-GLES31.functional.shaders.builtin_fun",
52        "ctions.common.modf.float_mediump_tess_eval");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000500,
55        "dEQP-GLES31.functional.shaders.builtin_fu",
56        "nctions.common.modf.float_mediump_compute");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000501,
59        "dEQP-GLES31.functional.shaders.builtin_f",
60        "unctions.common.modf.float_highp_geometry");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000502,
63        "dEQP-GLES31.functional.shaders.builtin_fun",
64        "ctions.common.modf.float_highp_tess_control");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000503,
67        "dEQP-GLES31.functional.shaders.builtin_fu",
68        "nctions.common.modf.float_highp_tess_eval");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000504,
71        "dEQP-GLES31.functional.shaders.builtin_f",
72        "unctions.common.modf.float_highp_compute");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000505,
75        "dEQP-GLES31.functional.shaders.builtin_",
76        "functions.common.modf.vec2_lowp_geometry");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000506,
79        "dEQP-GLES31.functional.shaders.builtin_fu",
80        "nctions.common.modf.vec2_lowp_tess_control");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000507,
83        "dEQP-GLES31.functional.shaders.builtin_f",
84        "unctions.common.modf.vec2_lowp_tess_eval");
85
86static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000508,
87        "dEQP-GLES31.functional.shaders.builtin_",
88        "functions.common.modf.vec2_lowp_compute");
89
90static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000509,
91        "dEQP-GLES31.functional.shaders.builtin_fu",
92        "nctions.common.modf.vec2_mediump_geometry");
93
94static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000510,
95        "dEQP-GLES31.functional.shaders.builtin_func",
96        "tions.common.modf.vec2_mediump_tess_control");
97
98static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000511,
99        "dEQP-GLES31.functional.shaders.builtin_fu",
100        "nctions.common.modf.vec2_mediump_tess_eval");
101
102static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000512,
103        "dEQP-GLES31.functional.shaders.builtin_f",
104        "unctions.common.modf.vec2_mediump_compute");
105
106static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000513,
107        "dEQP-GLES31.functional.shaders.builtin_f",
108        "unctions.common.modf.vec2_highp_geometry");
109
110static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000514,
111        "dEQP-GLES31.functional.shaders.builtin_fun",
112        "ctions.common.modf.vec2_highp_tess_control");
113
114static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000515,
115        "dEQP-GLES31.functional.shaders.builtin_f",
116        "unctions.common.modf.vec2_highp_tess_eval");
117
118static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000516,
119        "dEQP-GLES31.functional.shaders.builtin_",
120        "functions.common.modf.vec2_highp_compute");
121
122static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000517,
123        "dEQP-GLES31.functional.shaders.builtin_",
124        "functions.common.modf.vec3_lowp_geometry");
125
126static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000518,
127        "dEQP-GLES31.functional.shaders.builtin_fu",
128        "nctions.common.modf.vec3_lowp_tess_control");
129
130static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000519,
131        "dEQP-GLES31.functional.shaders.builtin_f",
132        "unctions.common.modf.vec3_lowp_tess_eval");
133
134static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000520,
135        "dEQP-GLES31.functional.shaders.builtin_",
136        "functions.common.modf.vec3_lowp_compute");
137
138static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000521,
139        "dEQP-GLES31.functional.shaders.builtin_fu",
140        "nctions.common.modf.vec3_mediump_geometry");
141
142static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000522,
143        "dEQP-GLES31.functional.shaders.builtin_func",
144        "tions.common.modf.vec3_mediump_tess_control");
145
146static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000523,
147        "dEQP-GLES31.functional.shaders.builtin_fu",
148        "nctions.common.modf.vec3_mediump_tess_eval");
149
150static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000524,
151        "dEQP-GLES31.functional.shaders.builtin_f",
152        "unctions.common.modf.vec3_mediump_compute");
153
154static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000525,
155        "dEQP-GLES31.functional.shaders.builtin_f",
156        "unctions.common.modf.vec3_highp_geometry");
157
158static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000526,
159        "dEQP-GLES31.functional.shaders.builtin_fun",
160        "ctions.common.modf.vec3_highp_tess_control");
161
162static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000527,
163        "dEQP-GLES31.functional.shaders.builtin_f",
164        "unctions.common.modf.vec3_highp_tess_eval");
165
166static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000528,
167        "dEQP-GLES31.functional.shaders.builtin_",
168        "functions.common.modf.vec3_highp_compute");
169
170static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000529,
171        "dEQP-GLES31.functional.shaders.builtin_",
172        "functions.common.modf.vec4_lowp_geometry");
173
174static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000530,
175        "dEQP-GLES31.functional.shaders.builtin_fu",
176        "nctions.common.modf.vec4_lowp_tess_control");
177
178static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000531,
179        "dEQP-GLES31.functional.shaders.builtin_f",
180        "unctions.common.modf.vec4_lowp_tess_eval");
181
182static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000532,
183        "dEQP-GLES31.functional.shaders.builtin_",
184        "functions.common.modf.vec4_lowp_compute");
185
186static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000533,
187        "dEQP-GLES31.functional.shaders.builtin_fu",
188        "nctions.common.modf.vec4_mediump_geometry");
189
190static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000534,
191        "dEQP-GLES31.functional.shaders.builtin_func",
192        "tions.common.modf.vec4_mediump_tess_control");
193
194static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000535,
195        "dEQP-GLES31.functional.shaders.builtin_fu",
196        "nctions.common.modf.vec4_mediump_tess_eval");
197
198static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000536,
199        "dEQP-GLES31.functional.shaders.builtin_f",
200        "unctions.common.modf.vec4_mediump_compute");
201
202static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000537,
203        "dEQP-GLES31.functional.shaders.builtin_f",
204        "unctions.common.modf.vec4_highp_geometry");
205
206static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000538,
207        "dEQP-GLES31.functional.shaders.builtin_fun",
208        "ctions.common.modf.vec4_highp_tess_control");
209
210static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000539,
211        "dEQP-GLES31.functional.shaders.builtin_f",
212        "unctions.common.modf.vec4_highp_tess_eval");
213
214static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000540,
215        "dEQP-GLES31.functional.shaders.builtin_",
216        "functions.common.modf.vec4_highp_compute");
217