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 "../ActsDeqpgles30019TestSuite.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(ActsDeqpgles30019TestSuite, TestCase_018135,
27         "dEQP-GLES3.functional.shaders.builtin_fun",
28         "ctions.common.roundeven.float_lowp_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018136,
31         "dEQP-GLES3.functional.shaders.builtin_func",
32         "tions.common.roundeven.float_lowp_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018137,
35         "dEQP-GLES3.functional.shaders.builtin_func",
36         "tions.common.roundeven.float_mediump_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018138,
39         "dEQP-GLES3.functional.shaders.builtin_funct",
40         "ions.common.roundeven.float_mediump_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018139,
43         "dEQP-GLES3.functional.shaders.builtin_fun",
44         "ctions.common.roundeven.float_highp_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018140,
47         "dEQP-GLES3.functional.shaders.builtin_func",
48         "tions.common.roundeven.float_highp_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018141,
51         "dEQP-GLES3.functional.shaders.builtin_fu",
52         "nctions.common.roundeven.vec2_lowp_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018142,
55         "dEQP-GLES3.functional.shaders.builtin_fun",
56         "ctions.common.roundeven.vec2_lowp_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018143,
59         "dEQP-GLES3.functional.shaders.builtin_func",
60         "tions.common.roundeven.vec2_mediump_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018144,
63         "dEQP-GLES3.functional.shaders.builtin_funct",
64         "ions.common.roundeven.vec2_mediump_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018145,
67         "dEQP-GLES3.functional.shaders.builtin_fun",
68         "ctions.common.roundeven.vec2_highp_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018146,
71         "dEQP-GLES3.functional.shaders.builtin_func",
72         "tions.common.roundeven.vec2_highp_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018147,
75         "dEQP-GLES3.functional.shaders.builtin_fu",
76         "nctions.common.roundeven.vec3_lowp_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018148,
79         "dEQP-GLES3.functional.shaders.builtin_fun",
80         "ctions.common.roundeven.vec3_lowp_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018149,
83         "dEQP-GLES3.functional.shaders.builtin_func",
84         "tions.common.roundeven.vec3_mediump_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018150,
87         "dEQP-GLES3.functional.shaders.builtin_funct",
88         "ions.common.roundeven.vec3_mediump_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018151,
91         "dEQP-GLES3.functional.shaders.builtin_fun",
92         "ctions.common.roundeven.vec3_highp_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018152,
95         "dEQP-GLES3.functional.shaders.builtin_func",
96         "tions.common.roundeven.vec3_highp_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018153,
99         "dEQP-GLES3.functional.shaders.builtin_fu",
100         "nctions.common.roundeven.vec4_lowp_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018154,
103         "dEQP-GLES3.functional.shaders.builtin_fun",
104         "ctions.common.roundeven.vec4_lowp_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018155,
107         "dEQP-GLES3.functional.shaders.builtin_func",
108         "tions.common.roundeven.vec4_mediump_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018156,
111         "dEQP-GLES3.functional.shaders.builtin_funct",
112         "ions.common.roundeven.vec4_mediump_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018157,
115         "dEQP-GLES3.functional.shaders.builtin_fun",
116         "ctions.common.roundeven.vec4_highp_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018158,
119         "dEQP-GLES3.functional.shaders.builtin_func",
120         "tions.common.roundeven.vec4_highp_fragment");
121