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
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015816,
27        "dEQP-GLES3.functional.shaders.matrix.t",
28        "ranspose.dynamic.lowp_mat2_float_vertex");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015817,
31        "dEQP-GLES3.functional.shaders.matrix.tr",
32        "anspose.dynamic.lowp_mat2_float_fragment");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015818,
35        "dEQP-GLES3.functional.shaders.matrix.tra",
36        "nspose.dynamic.mediump_mat2_float_vertex");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015819,
39        "dEQP-GLES3.functional.shaders.matrix.tran",
40        "spose.dynamic.mediump_mat2_float_fragment");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015820,
43        "dEQP-GLES3.functional.shaders.matrix.tr",
44        "anspose.dynamic.highp_mat2_float_vertex");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015821,
47        "dEQP-GLES3.functional.shaders.matrix.tra",
48        "nspose.dynamic.highp_mat2_float_fragment");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015822,
51        "dEQP-GLES3.functional.shaders.matrix.tr",
52        "anspose.dynamic.lowp_mat2x3_float_vertex");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015823,
55        "dEQP-GLES3.functional.shaders.matrix.tra",
56        "nspose.dynamic.lowp_mat2x3_float_fragment");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015824,
59        "dEQP-GLES3.functional.shaders.matrix.tran",
60        "spose.dynamic.mediump_mat2x3_float_vertex");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015825,
63        "dEQP-GLES3.functional.shaders.matrix.trans",
64        "pose.dynamic.mediump_mat2x3_float_fragment");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015826,
67        "dEQP-GLES3.functional.shaders.matrix.tra",
68        "nspose.dynamic.highp_mat2x3_float_vertex");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015827,
71        "dEQP-GLES3.functional.shaders.matrix.tran",
72        "spose.dynamic.highp_mat2x3_float_fragment");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015828,
75        "dEQP-GLES3.functional.shaders.matrix.tr",
76        "anspose.dynamic.lowp_mat2x4_float_vertex");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015829,
79        "dEQP-GLES3.functional.shaders.matrix.tra",
80        "nspose.dynamic.lowp_mat2x4_float_fragment");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015830,
83        "dEQP-GLES3.functional.shaders.matrix.tran",
84        "spose.dynamic.mediump_mat2x4_float_vertex");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015831,
87        "dEQP-GLES3.functional.shaders.matrix.trans",
88        "pose.dynamic.mediump_mat2x4_float_fragment");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015832,
91        "dEQP-GLES3.functional.shaders.matrix.tra",
92        "nspose.dynamic.highp_mat2x4_float_vertex");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015833,
95        "dEQP-GLES3.functional.shaders.matrix.tran",
96        "spose.dynamic.highp_mat2x4_float_fragment");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015834,
99        "dEQP-GLES3.functional.shaders.matrix.tr",
100        "anspose.dynamic.lowp_mat3x2_float_vertex");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015835,
103        "dEQP-GLES3.functional.shaders.matrix.tra",
104        "nspose.dynamic.lowp_mat3x2_float_fragment");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015836,
107        "dEQP-GLES3.functional.shaders.matrix.tran",
108        "spose.dynamic.mediump_mat3x2_float_vertex");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015837,
111        "dEQP-GLES3.functional.shaders.matrix.trans",
112        "pose.dynamic.mediump_mat3x2_float_fragment");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015838,
115        "dEQP-GLES3.functional.shaders.matrix.tra",
116        "nspose.dynamic.highp_mat3x2_float_vertex");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015839,
119        "dEQP-GLES3.functional.shaders.matrix.tran",
120        "spose.dynamic.highp_mat3x2_float_fragment");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015840,
123        "dEQP-GLES3.functional.shaders.matrix.t",
124        "ranspose.dynamic.lowp_mat3_float_vertex");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015841,
127        "dEQP-GLES3.functional.shaders.matrix.tr",
128        "anspose.dynamic.lowp_mat3_float_fragment");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015842,
131        "dEQP-GLES3.functional.shaders.matrix.tra",
132        "nspose.dynamic.mediump_mat3_float_vertex");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015843,
135        "dEQP-GLES3.functional.shaders.matrix.tran",
136        "spose.dynamic.mediump_mat3_float_fragment");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015844,
139        "dEQP-GLES3.functional.shaders.matrix.tr",
140        "anspose.dynamic.highp_mat3_float_vertex");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015845,
143        "dEQP-GLES3.functional.shaders.matrix.tra",
144        "nspose.dynamic.highp_mat3_float_fragment");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015846,
147        "dEQP-GLES3.functional.shaders.matrix.tr",
148        "anspose.dynamic.lowp_mat3x4_float_vertex");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015847,
151        "dEQP-GLES3.functional.shaders.matrix.tra",
152        "nspose.dynamic.lowp_mat3x4_float_fragment");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015848,
155        "dEQP-GLES3.functional.shaders.matrix.tran",
156        "spose.dynamic.mediump_mat3x4_float_vertex");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015849,
159        "dEQP-GLES3.functional.shaders.matrix.trans",
160        "pose.dynamic.mediump_mat3x4_float_fragment");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015850,
163        "dEQP-GLES3.functional.shaders.matrix.tra",
164        "nspose.dynamic.highp_mat3x4_float_vertex");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015851,
167        "dEQP-GLES3.functional.shaders.matrix.tran",
168        "spose.dynamic.highp_mat3x4_float_fragment");
169
170static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015852,
171        "dEQP-GLES3.functional.shaders.matrix.tr",
172        "anspose.dynamic.lowp_mat4x2_float_vertex");
173
174static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015853,
175        "dEQP-GLES3.functional.shaders.matrix.tra",
176        "nspose.dynamic.lowp_mat4x2_float_fragment");
177
178static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015854,
179        "dEQP-GLES3.functional.shaders.matrix.tran",
180        "spose.dynamic.mediump_mat4x2_float_vertex");
181
182static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015855,
183        "dEQP-GLES3.functional.shaders.matrix.trans",
184        "pose.dynamic.mediump_mat4x2_float_fragment");
185
186static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015856,
187        "dEQP-GLES3.functional.shaders.matrix.tra",
188        "nspose.dynamic.highp_mat4x2_float_vertex");
189
190static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015857,
191        "dEQP-GLES3.functional.shaders.matrix.tran",
192        "spose.dynamic.highp_mat4x2_float_fragment");
193
194static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015858,
195        "dEQP-GLES3.functional.shaders.matrix.tr",
196        "anspose.dynamic.lowp_mat4x3_float_vertex");
197
198static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015859,
199        "dEQP-GLES3.functional.shaders.matrix.tra",
200        "nspose.dynamic.lowp_mat4x3_float_fragment");
201
202static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015860,
203        "dEQP-GLES3.functional.shaders.matrix.tran",
204        "spose.dynamic.mediump_mat4x3_float_vertex");
205
206static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015861,
207        "dEQP-GLES3.functional.shaders.matrix.trans",
208        "pose.dynamic.mediump_mat4x3_float_fragment");
209
210static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015862,
211        "dEQP-GLES3.functional.shaders.matrix.tra",
212        "nspose.dynamic.highp_mat4x3_float_vertex");
213
214static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015863,
215        "dEQP-GLES3.functional.shaders.matrix.tran",
216        "spose.dynamic.highp_mat4x3_float_fragment");
217
218static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015864,
219        "dEQP-GLES3.functional.shaders.matrix.t",
220        "ranspose.dynamic.lowp_mat4_float_vertex");
221
222static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015865,
223        "dEQP-GLES3.functional.shaders.matrix.tr",
224        "anspose.dynamic.lowp_mat4_float_fragment");
225
226static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015866,
227        "dEQP-GLES3.functional.shaders.matrix.tra",
228        "nspose.dynamic.mediump_mat4_float_vertex");
229
230static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015867,
231        "dEQP-GLES3.functional.shaders.matrix.tran",
232        "spose.dynamic.mediump_mat4_float_fragment");
233
234static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015868,
235        "dEQP-GLES3.functional.shaders.matrix.tr",
236        "anspose.dynamic.highp_mat4_float_vertex");
237
238static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015869,
239        "dEQP-GLES3.functional.shaders.matrix.tra",
240        "nspose.dynamic.highp_mat4_float_fragment");
241