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 "../ActsDeqpgles30016TestSuite.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(ActsDeqpgles30016TestSuite, TestCase_015762,
27         "dEQP-GLES3.functional.shaders.matrix.out",
28         "erproduct.dynamic.lowp_mat2_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015763,
31         "dEQP-GLES3.functional.shaders.matrix.oute",
32         "rproduct.dynamic.lowp_mat2_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015764,
35         "dEQP-GLES3.functional.shaders.matrix.oute",
36         "rproduct.dynamic.mediump_mat2_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015765,
39         "dEQP-GLES3.functional.shaders.matrix.outer",
40         "product.dynamic.mediump_mat2_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015766,
43         "dEQP-GLES3.functional.shaders.matrix.out",
44         "erproduct.dynamic.highp_mat2_float_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015767,
47         "dEQP-GLES3.functional.shaders.matrix.oute",
48         "rproduct.dynamic.highp_mat2_float_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015768,
51         "dEQP-GLES3.functional.shaders.matrix.oute",
52         "rproduct.dynamic.lowp_mat2x3_float_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015769,
55         "dEQP-GLES3.functional.shaders.matrix.outer",
56         "product.dynamic.lowp_mat2x3_float_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015770,
59         "dEQP-GLES3.functional.shaders.matrix.outer",
60         "product.dynamic.mediump_mat2x3_float_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015771,
63         "dEQP-GLES3.functional.shaders.matrix.outerp",
64         "roduct.dynamic.mediump_mat2x3_float_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015772,
67         "dEQP-GLES3.functional.shaders.matrix.oute",
68         "rproduct.dynamic.highp_mat2x3_float_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015773,
71         "dEQP-GLES3.functional.shaders.matrix.outer",
72         "product.dynamic.highp_mat2x3_float_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015774,
75         "dEQP-GLES3.functional.shaders.matrix.oute",
76         "rproduct.dynamic.lowp_mat2x4_float_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015775,
79         "dEQP-GLES3.functional.shaders.matrix.outer",
80         "product.dynamic.lowp_mat2x4_float_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015776,
83         "dEQP-GLES3.functional.shaders.matrix.outer",
84         "product.dynamic.mediump_mat2x4_float_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015777,
87         "dEQP-GLES3.functional.shaders.matrix.outerp",
88         "roduct.dynamic.mediump_mat2x4_float_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015778,
91         "dEQP-GLES3.functional.shaders.matrix.oute",
92         "rproduct.dynamic.highp_mat2x4_float_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015779,
95         "dEQP-GLES3.functional.shaders.matrix.outer",
96         "product.dynamic.highp_mat2x4_float_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015780,
99         "dEQP-GLES3.functional.shaders.matrix.oute",
100         "rproduct.dynamic.lowp_mat3x2_float_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015781,
103         "dEQP-GLES3.functional.shaders.matrix.outer",
104         "product.dynamic.lowp_mat3x2_float_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015782,
107         "dEQP-GLES3.functional.shaders.matrix.outer",
108         "product.dynamic.mediump_mat3x2_float_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015783,
111         "dEQP-GLES3.functional.shaders.matrix.outerp",
112         "roduct.dynamic.mediump_mat3x2_float_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015784,
115         "dEQP-GLES3.functional.shaders.matrix.oute",
116         "rproduct.dynamic.highp_mat3x2_float_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015785,
119         "dEQP-GLES3.functional.shaders.matrix.outer",
120         "product.dynamic.highp_mat3x2_float_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015786,
123         "dEQP-GLES3.functional.shaders.matrix.out",
124         "erproduct.dynamic.lowp_mat3_float_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015787,
127         "dEQP-GLES3.functional.shaders.matrix.oute",
128         "rproduct.dynamic.lowp_mat3_float_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015788,
131         "dEQP-GLES3.functional.shaders.matrix.oute",
132         "rproduct.dynamic.mediump_mat3_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015789,
135         "dEQP-GLES3.functional.shaders.matrix.outer",
136         "product.dynamic.mediump_mat3_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015790,
139         "dEQP-GLES3.functional.shaders.matrix.out",
140         "erproduct.dynamic.highp_mat3_float_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015791,
143         "dEQP-GLES3.functional.shaders.matrix.oute",
144         "rproduct.dynamic.highp_mat3_float_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015792,
147         "dEQP-GLES3.functional.shaders.matrix.oute",
148         "rproduct.dynamic.lowp_mat3x4_float_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015793,
151         "dEQP-GLES3.functional.shaders.matrix.outer",
152         "product.dynamic.lowp_mat3x4_float_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015794,
155         "dEQP-GLES3.functional.shaders.matrix.outer",
156         "product.dynamic.mediump_mat3x4_float_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015795,
159         "dEQP-GLES3.functional.shaders.matrix.outerp",
160         "roduct.dynamic.mediump_mat3x4_float_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015796,
163         "dEQP-GLES3.functional.shaders.matrix.oute",
164         "rproduct.dynamic.highp_mat3x4_float_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015797,
167         "dEQP-GLES3.functional.shaders.matrix.outer",
168         "product.dynamic.highp_mat3x4_float_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015798,
171         "dEQP-GLES3.functional.shaders.matrix.oute",
172         "rproduct.dynamic.lowp_mat4x2_float_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015799,
175         "dEQP-GLES3.functional.shaders.matrix.outer",
176         "product.dynamic.lowp_mat4x2_float_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015800,
179         "dEQP-GLES3.functional.shaders.matrix.outer",
180         "product.dynamic.mediump_mat4x2_float_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015801,
183         "dEQP-GLES3.functional.shaders.matrix.outerp",
184         "roduct.dynamic.mediump_mat4x2_float_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015802,
187         "dEQP-GLES3.functional.shaders.matrix.oute",
188         "rproduct.dynamic.highp_mat4x2_float_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015803,
191         "dEQP-GLES3.functional.shaders.matrix.outer",
192         "product.dynamic.highp_mat4x2_float_fragment");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015804,
195         "dEQP-GLES3.functional.shaders.matrix.oute",
196         "rproduct.dynamic.lowp_mat4x3_float_vertex");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015805,
199         "dEQP-GLES3.functional.shaders.matrix.outer",
200         "product.dynamic.lowp_mat4x3_float_fragment");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015806,
203         "dEQP-GLES3.functional.shaders.matrix.outer",
204         "product.dynamic.mediump_mat4x3_float_vertex");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015807,
207         "dEQP-GLES3.functional.shaders.matrix.outerp",
208         "roduct.dynamic.mediump_mat4x3_float_fragment");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015808,
211         "dEQP-GLES3.functional.shaders.matrix.oute",
212         "rproduct.dynamic.highp_mat4x3_float_vertex");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015809,
215         "dEQP-GLES3.functional.shaders.matrix.outer",
216         "product.dynamic.highp_mat4x3_float_fragment");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015810,
219         "dEQP-GLES3.functional.shaders.matrix.out",
220         "erproduct.dynamic.lowp_mat4_float_vertex");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015811,
223         "dEQP-GLES3.functional.shaders.matrix.oute",
224         "rproduct.dynamic.lowp_mat4_float_fragment");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015812,
227         "dEQP-GLES3.functional.shaders.matrix.oute",
228         "rproduct.dynamic.mediump_mat4_float_vertex");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015813,
231         "dEQP-GLES3.functional.shaders.matrix.outer",
232         "product.dynamic.mediump_mat4_float_fragment");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015814,
235         "dEQP-GLES3.functional.shaders.matrix.out",
236         "erproduct.dynamic.highp_mat4_float_vertex");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015815,
239         "dEQP-GLES3.functional.shaders.matrix.oute",
240         "rproduct.dynamic.highp_mat4_float_fragment");
241