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_006286,
27         "dEQP-GLES2.functional.shaders.operator",
28         ".common_functions.mix.lowp_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006287,
31         "dEQP-GLES2.functional.shaders.operator.",
32         "common_functions.mix.lowp_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006288,
35         "dEQP-GLES2.functional.shaders.operator.c",
36         "ommon_functions.mix.mediump_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006289,
39         "dEQP-GLES2.functional.shaders.operator.co",
40         "mmon_functions.mix.mediump_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006290,
43         "dEQP-GLES2.functional.shaders.operator.",
44         "common_functions.mix.highp_float_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006291,
47         "dEQP-GLES2.functional.shaders.operator.c",
48         "ommon_functions.mix.highp_float_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006292,
51         "dEQP-GLES2.functional.shaders.operator",
52         ".common_functions.mix.lowp_vec2_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006293,
55         "dEQP-GLES2.functional.shaders.operator.",
56         "common_functions.mix.lowp_vec2_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006294,
59         "dEQP-GLES2.functional.shaders.operator.",
60         "common_functions.mix.mediump_vec2_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006295,
63         "dEQP-GLES2.functional.shaders.operator.c",
64         "ommon_functions.mix.mediump_vec2_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006296,
67         "dEQP-GLES2.functional.shaders.operator",
68         ".common_functions.mix.highp_vec2_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006297,
71         "dEQP-GLES2.functional.shaders.operator.",
72         "common_functions.mix.highp_vec2_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006298,
75         "dEQP-GLES2.functional.shaders.operator",
76         ".common_functions.mix.lowp_vec3_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006299,
79         "dEQP-GLES2.functional.shaders.operator.",
80         "common_functions.mix.lowp_vec3_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006300,
83         "dEQP-GLES2.functional.shaders.operator.",
84         "common_functions.mix.mediump_vec3_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006301,
87         "dEQP-GLES2.functional.shaders.operator.c",
88         "ommon_functions.mix.mediump_vec3_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006302,
91         "dEQP-GLES2.functional.shaders.operator",
92         ".common_functions.mix.highp_vec3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006303,
95         "dEQP-GLES2.functional.shaders.operator.",
96         "common_functions.mix.highp_vec3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006304,
99         "dEQP-GLES2.functional.shaders.operator",
100         ".common_functions.mix.lowp_vec4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006305,
103         "dEQP-GLES2.functional.shaders.operator.",
104         "common_functions.mix.lowp_vec4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006306,
107         "dEQP-GLES2.functional.shaders.operator.",
108         "common_functions.mix.mediump_vec4_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006307,
111         "dEQP-GLES2.functional.shaders.operator.c",
112         "ommon_functions.mix.mediump_vec4_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006308,
115         "dEQP-GLES2.functional.shaders.operator",
116         ".common_functions.mix.highp_vec4_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006309,
119         "dEQP-GLES2.functional.shaders.operator.",
120         "common_functions.mix.highp_vec4_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006310,
123         "dEQP-GLES2.functional.shaders.operator.co",
124         "mmon_functions.mix.lowp_vec2_float_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006311,
127         "dEQP-GLES2.functional.shaders.operator.com",
128         "mon_functions.mix.lowp_vec2_float_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006312,
131         "dEQP-GLES2.functional.shaders.operator.com",
132         "mon_functions.mix.mediump_vec2_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006313,
135         "dEQP-GLES2.functional.shaders.operator.comm",
136         "on_functions.mix.mediump_vec2_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006314,
139         "dEQP-GLES2.functional.shaders.operator.co",
140         "mmon_functions.mix.highp_vec2_float_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006315,
143         "dEQP-GLES2.functional.shaders.operator.com",
144         "mon_functions.mix.highp_vec2_float_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006316,
147         "dEQP-GLES2.functional.shaders.operator.co",
148         "mmon_functions.mix.lowp_vec3_float_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006317,
151         "dEQP-GLES2.functional.shaders.operator.com",
152         "mon_functions.mix.lowp_vec3_float_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006318,
155         "dEQP-GLES2.functional.shaders.operator.com",
156         "mon_functions.mix.mediump_vec3_float_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006319,
159         "dEQP-GLES2.functional.shaders.operator.comm",
160         "on_functions.mix.mediump_vec3_float_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006320,
163         "dEQP-GLES2.functional.shaders.operator.co",
164         "mmon_functions.mix.highp_vec3_float_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006321,
167         "dEQP-GLES2.functional.shaders.operator.com",
168         "mon_functions.mix.highp_vec3_float_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006322,
171         "dEQP-GLES2.functional.shaders.operator.co",
172         "mmon_functions.mix.lowp_vec4_float_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006323,
175         "dEQP-GLES2.functional.shaders.operator.com",
176         "mon_functions.mix.lowp_vec4_float_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006324,
179         "dEQP-GLES2.functional.shaders.operator.com",
180         "mon_functions.mix.mediump_vec4_float_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006325,
183         "dEQP-GLES2.functional.shaders.operator.comm",
184         "on_functions.mix.mediump_vec4_float_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006326,
187         "dEQP-GLES2.functional.shaders.operator.co",
188         "mmon_functions.mix.highp_vec4_float_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006327,
191         "dEQP-GLES2.functional.shaders.operator.com",
192         "mon_functions.mix.highp_vec4_float_fragment");
193