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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20007TestSuite.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(ActsDeqpgles20007TestSuite, TestCase_006328,
27         "dEQP-GLES2.functional.shaders.operator.",
28         "common_functions.step.lowp_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006329,
31         "dEQP-GLES2.functional.shaders.operator.c",
32         "ommon_functions.step.lowp_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006330,
35         "dEQP-GLES2.functional.shaders.operator.c",
36         "ommon_functions.step.mediump_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006331,
39         "dEQP-GLES2.functional.shaders.operator.co",
40         "mmon_functions.step.mediump_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006332,
43         "dEQP-GLES2.functional.shaders.operator.",
44         "common_functions.step.highp_float_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006333,
47         "dEQP-GLES2.functional.shaders.operator.c",
48         "ommon_functions.step.highp_float_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006334,
51         "dEQP-GLES2.functional.shaders.operator",
52         ".common_functions.step.lowp_vec2_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006335,
55         "dEQP-GLES2.functional.shaders.operator.",
56         "common_functions.step.lowp_vec2_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006336,
59         "dEQP-GLES2.functional.shaders.operator.c",
60         "ommon_functions.step.mediump_vec2_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006337,
63         "dEQP-GLES2.functional.shaders.operator.co",
64         "mmon_functions.step.mediump_vec2_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006338,
67         "dEQP-GLES2.functional.shaders.operator.",
68         "common_functions.step.highp_vec2_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006339,
71         "dEQP-GLES2.functional.shaders.operator.c",
72         "ommon_functions.step.highp_vec2_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006340,
75         "dEQP-GLES2.functional.shaders.operator",
76         ".common_functions.step.lowp_vec3_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006341,
79         "dEQP-GLES2.functional.shaders.operator.",
80         "common_functions.step.lowp_vec3_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006342,
83         "dEQP-GLES2.functional.shaders.operator.c",
84         "ommon_functions.step.mediump_vec3_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006343,
87         "dEQP-GLES2.functional.shaders.operator.co",
88         "mmon_functions.step.mediump_vec3_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006344,
91         "dEQP-GLES2.functional.shaders.operator.",
92         "common_functions.step.highp_vec3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006345,
95         "dEQP-GLES2.functional.shaders.operator.c",
96         "ommon_functions.step.highp_vec3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006346,
99         "dEQP-GLES2.functional.shaders.operator",
100         ".common_functions.step.lowp_vec4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006347,
103         "dEQP-GLES2.functional.shaders.operator.",
104         "common_functions.step.lowp_vec4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006348,
107         "dEQP-GLES2.functional.shaders.operator.c",
108         "ommon_functions.step.mediump_vec4_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006349,
111         "dEQP-GLES2.functional.shaders.operator.co",
112         "mmon_functions.step.mediump_vec4_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006350,
115         "dEQP-GLES2.functional.shaders.operator.",
116         "common_functions.step.highp_vec4_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006351,
119         "dEQP-GLES2.functional.shaders.operator.c",
120         "ommon_functions.step.highp_vec4_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006352,
123         "dEQP-GLES2.functional.shaders.operator.co",
124         "mmon_functions.step.lowp_float_vec2_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006353,
127         "dEQP-GLES2.functional.shaders.operator.com",
128         "mon_functions.step.lowp_float_vec2_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006354,
131         "dEQP-GLES2.functional.shaders.operator.comm",
132         "on_functions.step.mediump_float_vec2_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006355,
135         "dEQP-GLES2.functional.shaders.operator.commo",
136         "n_functions.step.mediump_float_vec2_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006356,
139         "dEQP-GLES2.functional.shaders.operator.com",
140         "mon_functions.step.highp_float_vec2_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006357,
143         "dEQP-GLES2.functional.shaders.operator.comm",
144         "on_functions.step.highp_float_vec2_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006358,
147         "dEQP-GLES2.functional.shaders.operator.co",
148         "mmon_functions.step.lowp_float_vec3_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006359,
151         "dEQP-GLES2.functional.shaders.operator.com",
152         "mon_functions.step.lowp_float_vec3_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006360,
155         "dEQP-GLES2.functional.shaders.operator.comm",
156         "on_functions.step.mediump_float_vec3_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006361,
159         "dEQP-GLES2.functional.shaders.operator.commo",
160         "n_functions.step.mediump_float_vec3_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006362,
163         "dEQP-GLES2.functional.shaders.operator.com",
164         "mon_functions.step.highp_float_vec3_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006363,
167         "dEQP-GLES2.functional.shaders.operator.comm",
168         "on_functions.step.highp_float_vec3_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006364,
171         "dEQP-GLES2.functional.shaders.operator.co",
172         "mmon_functions.step.lowp_float_vec4_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006365,
175         "dEQP-GLES2.functional.shaders.operator.com",
176         "mon_functions.step.lowp_float_vec4_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006366,
179         "dEQP-GLES2.functional.shaders.operator.comm",
180         "on_functions.step.mediump_float_vec4_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006367,
183         "dEQP-GLES2.functional.shaders.operator.commo",
184         "n_functions.step.mediump_float_vec4_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006368,
187         "dEQP-GLES2.functional.shaders.operator.com",
188         "mon_functions.step.highp_float_vec4_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006369,
191         "dEQP-GLES2.functional.shaders.operator.comm",
192         "on_functions.step.highp_float_vec4_fragment");
193