1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include <climits>
17f6603c60Sopenharmony_ci#include <gtest/gtest.h>
18f6603c60Sopenharmony_ci#include "../Deqpgles3BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30016TestSuite.h"
20f6603c60Sopenharmony_ci#include "shrinkdefine.h"
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ciusing namespace std;
23f6603c60Sopenharmony_ciusing namespace testing::ext;
24f6603c60Sopenharmony_ciusing namespace OHOS;
25f6603c60Sopenharmony_ci
26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015708,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.mat",
28f6603c60Sopenharmony_ci        "rixcompmult.dynamic.lowp_mat2_mat2_vertex");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015709,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matr",
32f6603c60Sopenharmony_ci        "ixcompmult.dynamic.lowp_mat2_mat2_fragment");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015710,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
36f6603c60Sopenharmony_ci        "xcompmult.dynamic.mediump_mat2_mat2_vertex");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015711,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
40f6603c60Sopenharmony_ci        "compmult.dynamic.mediump_mat2_mat2_fragment");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015712,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matr",
44f6603c60Sopenharmony_ci        "ixcompmult.dynamic.highp_mat2_mat2_vertex");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015713,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
48f6603c60Sopenharmony_ci        "xcompmult.dynamic.highp_mat2_mat2_fragment");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015714,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
52f6603c60Sopenharmony_ci        "xcompmult.dynamic.lowp_mat2x3_mat2x3_vertex");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015715,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
56f6603c60Sopenharmony_ci        "compmult.dynamic.lowp_mat2x3_mat2x3_fragment");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015716,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
60f6603c60Sopenharmony_ci        "ompmult.dynamic.mediump_mat2x3_mat2x3_vertex");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015717,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixco",
64f6603c60Sopenharmony_ci        "mpmult.dynamic.mediump_mat2x3_mat2x3_fragment");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015718,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
68f6603c60Sopenharmony_ci        "compmult.dynamic.highp_mat2x3_mat2x3_vertex");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015719,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
72f6603c60Sopenharmony_ci        "ompmult.dynamic.highp_mat2x3_mat2x3_fragment");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015720,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
76f6603c60Sopenharmony_ci        "xcompmult.dynamic.lowp_mat2x4_mat2x4_vertex");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015721,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
80f6603c60Sopenharmony_ci        "compmult.dynamic.lowp_mat2x4_mat2x4_fragment");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015722,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
84f6603c60Sopenharmony_ci        "ompmult.dynamic.mediump_mat2x4_mat2x4_vertex");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015723,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixco",
88f6603c60Sopenharmony_ci        "mpmult.dynamic.mediump_mat2x4_mat2x4_fragment");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015724,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
92f6603c60Sopenharmony_ci        "compmult.dynamic.highp_mat2x4_mat2x4_vertex");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015725,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
96f6603c60Sopenharmony_ci        "ompmult.dynamic.highp_mat2x4_mat2x4_fragment");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015726,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
100f6603c60Sopenharmony_ci        "xcompmult.dynamic.lowp_mat3x2_mat3x2_vertex");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015727,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
104f6603c60Sopenharmony_ci        "compmult.dynamic.lowp_mat3x2_mat3x2_fragment");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015728,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
108f6603c60Sopenharmony_ci        "ompmult.dynamic.mediump_mat3x2_mat3x2_vertex");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015729,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixco",
112f6603c60Sopenharmony_ci        "mpmult.dynamic.mediump_mat3x2_mat3x2_fragment");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015730,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
116f6603c60Sopenharmony_ci        "compmult.dynamic.highp_mat3x2_mat3x2_vertex");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015731,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
120f6603c60Sopenharmony_ci        "ompmult.dynamic.highp_mat3x2_mat3x2_fragment");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015732,
123f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.mat",
124f6603c60Sopenharmony_ci        "rixcompmult.dynamic.lowp_mat3_mat3_vertex");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015733,
127f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matr",
128f6603c60Sopenharmony_ci        "ixcompmult.dynamic.lowp_mat3_mat3_fragment");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015734,
131f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
132f6603c60Sopenharmony_ci        "xcompmult.dynamic.mediump_mat3_mat3_vertex");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015735,
135f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
136f6603c60Sopenharmony_ci        "compmult.dynamic.mediump_mat3_mat3_fragment");
137f6603c60Sopenharmony_ci
138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015736,
139f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matr",
140f6603c60Sopenharmony_ci        "ixcompmult.dynamic.highp_mat3_mat3_vertex");
141f6603c60Sopenharmony_ci
142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015737,
143f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
144f6603c60Sopenharmony_ci        "xcompmult.dynamic.highp_mat3_mat3_fragment");
145f6603c60Sopenharmony_ci
146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015738,
147f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
148f6603c60Sopenharmony_ci        "xcompmult.dynamic.lowp_mat3x4_mat3x4_vertex");
149f6603c60Sopenharmony_ci
150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015739,
151f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
152f6603c60Sopenharmony_ci        "compmult.dynamic.lowp_mat3x4_mat3x4_fragment");
153f6603c60Sopenharmony_ci
154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015740,
155f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
156f6603c60Sopenharmony_ci        "ompmult.dynamic.mediump_mat3x4_mat3x4_vertex");
157f6603c60Sopenharmony_ci
158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015741,
159f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixco",
160f6603c60Sopenharmony_ci        "mpmult.dynamic.mediump_mat3x4_mat3x4_fragment");
161f6603c60Sopenharmony_ci
162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015742,
163f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
164f6603c60Sopenharmony_ci        "compmult.dynamic.highp_mat3x4_mat3x4_vertex");
165f6603c60Sopenharmony_ci
166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015743,
167f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
168f6603c60Sopenharmony_ci        "ompmult.dynamic.highp_mat3x4_mat3x4_fragment");
169f6603c60Sopenharmony_ci
170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015744,
171f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
172f6603c60Sopenharmony_ci        "xcompmult.dynamic.lowp_mat4x2_mat4x2_vertex");
173f6603c60Sopenharmony_ci
174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015745,
175f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
176f6603c60Sopenharmony_ci        "compmult.dynamic.lowp_mat4x2_mat4x2_fragment");
177f6603c60Sopenharmony_ci
178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015746,
179f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
180f6603c60Sopenharmony_ci        "ompmult.dynamic.mediump_mat4x2_mat4x2_vertex");
181f6603c60Sopenharmony_ci
182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015747,
183f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixco",
184f6603c60Sopenharmony_ci        "mpmult.dynamic.mediump_mat4x2_mat4x2_fragment");
185f6603c60Sopenharmony_ci
186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015748,
187f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
188f6603c60Sopenharmony_ci        "compmult.dynamic.highp_mat4x2_mat4x2_vertex");
189f6603c60Sopenharmony_ci
190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015749,
191f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
192f6603c60Sopenharmony_ci        "ompmult.dynamic.highp_mat4x2_mat4x2_fragment");
193f6603c60Sopenharmony_ci
194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015750,
195f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
196f6603c60Sopenharmony_ci        "xcompmult.dynamic.lowp_mat4x3_mat4x3_vertex");
197f6603c60Sopenharmony_ci
198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015751,
199f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
200f6603c60Sopenharmony_ci        "compmult.dynamic.lowp_mat4x3_mat4x3_fragment");
201f6603c60Sopenharmony_ci
202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015752,
203f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
204f6603c60Sopenharmony_ci        "ompmult.dynamic.mediump_mat4x3_mat4x3_vertex");
205f6603c60Sopenharmony_ci
206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015753,
207f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixco",
208f6603c60Sopenharmony_ci        "mpmult.dynamic.mediump_mat4x3_mat4x3_fragment");
209f6603c60Sopenharmony_ci
210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015754,
211f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
212f6603c60Sopenharmony_ci        "compmult.dynamic.highp_mat4x3_mat4x3_vertex");
213f6603c60Sopenharmony_ci
214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015755,
215f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrixc",
216f6603c60Sopenharmony_ci        "ompmult.dynamic.highp_mat4x3_mat4x3_fragment");
217f6603c60Sopenharmony_ci
218f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015756,
219f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.mat",
220f6603c60Sopenharmony_ci        "rixcompmult.dynamic.lowp_mat4_mat4_vertex");
221f6603c60Sopenharmony_ci
222f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015757,
223f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matr",
224f6603c60Sopenharmony_ci        "ixcompmult.dynamic.lowp_mat4_mat4_fragment");
225f6603c60Sopenharmony_ci
226f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015758,
227f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
228f6603c60Sopenharmony_ci        "xcompmult.dynamic.mediump_mat4_mat4_vertex");
229f6603c60Sopenharmony_ci
230f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015759,
231f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matrix",
232f6603c60Sopenharmony_ci        "compmult.dynamic.mediump_mat4_mat4_fragment");
233f6603c60Sopenharmony_ci
234f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015760,
235f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matr",
236f6603c60Sopenharmony_ci        "ixcompmult.dynamic.highp_mat4_mat4_vertex");
237f6603c60Sopenharmony_ci
238f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015761,
239f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.shaders.matrix.matri",
240f6603c60Sopenharmony_ci        "xcompmult.dynamic.highp_mat4_mat4_fragment");
241