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 "../ActsDeqpgles30017TestSuite.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(ActsDeqpgles30017TestSuite, TestCase_016122,
27         "dEQP-GLES3.functional.shaders.matrix.",
28         "post_increment.lowp_mat2_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016123,
31         "dEQP-GLES3.functional.shaders.matrix.p",
32         "ost_increment.lowp_mat2_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016124,
35         "dEQP-GLES3.functional.shaders.matrix.p",
36         "ost_increment.mediump_mat2_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016125,
39         "dEQP-GLES3.functional.shaders.matrix.po",
40         "st_increment.mediump_mat2_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016126,
43         "dEQP-GLES3.functional.shaders.matrix.",
44         "post_increment.highp_mat2_float_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016127,
47         "dEQP-GLES3.functional.shaders.matrix.p",
48         "ost_increment.highp_mat2_float_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016128,
51         "dEQP-GLES3.functional.shaders.matrix.p",
52         "ost_increment.lowp_mat2x3_float_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016129,
55         "dEQP-GLES3.functional.shaders.matrix.po",
56         "st_increment.lowp_mat2x3_float_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016130,
59         "dEQP-GLES3.functional.shaders.matrix.po",
60         "st_increment.mediump_mat2x3_float_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016131,
63         "dEQP-GLES3.functional.shaders.matrix.pos",
64         "t_increment.mediump_mat2x3_float_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016132,
67         "dEQP-GLES3.functional.shaders.matrix.p",
68         "ost_increment.highp_mat2x3_float_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016133,
71         "dEQP-GLES3.functional.shaders.matrix.po",
72         "st_increment.highp_mat2x3_float_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016134,
75         "dEQP-GLES3.functional.shaders.matrix.p",
76         "ost_increment.lowp_mat2x4_float_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016135,
79         "dEQP-GLES3.functional.shaders.matrix.po",
80         "st_increment.lowp_mat2x4_float_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016136,
83         "dEQP-GLES3.functional.shaders.matrix.po",
84         "st_increment.mediump_mat2x4_float_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016137,
87         "dEQP-GLES3.functional.shaders.matrix.pos",
88         "t_increment.mediump_mat2x4_float_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016138,
91         "dEQP-GLES3.functional.shaders.matrix.p",
92         "ost_increment.highp_mat2x4_float_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016139,
95         "dEQP-GLES3.functional.shaders.matrix.po",
96         "st_increment.highp_mat2x4_float_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016140,
99         "dEQP-GLES3.functional.shaders.matrix.p",
100         "ost_increment.lowp_mat3x2_float_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016141,
103         "dEQP-GLES3.functional.shaders.matrix.po",
104         "st_increment.lowp_mat3x2_float_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016142,
107         "dEQP-GLES3.functional.shaders.matrix.po",
108         "st_increment.mediump_mat3x2_float_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016143,
111         "dEQP-GLES3.functional.shaders.matrix.pos",
112         "t_increment.mediump_mat3x2_float_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016144,
115         "dEQP-GLES3.functional.shaders.matrix.p",
116         "ost_increment.highp_mat3x2_float_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016145,
119         "dEQP-GLES3.functional.shaders.matrix.po",
120         "st_increment.highp_mat3x2_float_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016146,
123         "dEQP-GLES3.functional.shaders.matrix.",
124         "post_increment.lowp_mat3_float_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016147,
127         "dEQP-GLES3.functional.shaders.matrix.p",
128         "ost_increment.lowp_mat3_float_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016148,
131         "dEQP-GLES3.functional.shaders.matrix.p",
132         "ost_increment.mediump_mat3_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016149,
135         "dEQP-GLES3.functional.shaders.matrix.po",
136         "st_increment.mediump_mat3_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016150,
139         "dEQP-GLES3.functional.shaders.matrix.",
140         "post_increment.highp_mat3_float_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016151,
143         "dEQP-GLES3.functional.shaders.matrix.p",
144         "ost_increment.highp_mat3_float_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016152,
147         "dEQP-GLES3.functional.shaders.matrix.p",
148         "ost_increment.lowp_mat3x4_float_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016153,
151         "dEQP-GLES3.functional.shaders.matrix.po",
152         "st_increment.lowp_mat3x4_float_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016154,
155         "dEQP-GLES3.functional.shaders.matrix.po",
156         "st_increment.mediump_mat3x4_float_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016155,
159         "dEQP-GLES3.functional.shaders.matrix.pos",
160         "t_increment.mediump_mat3x4_float_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016156,
163         "dEQP-GLES3.functional.shaders.matrix.p",
164         "ost_increment.highp_mat3x4_float_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016157,
167         "dEQP-GLES3.functional.shaders.matrix.po",
168         "st_increment.highp_mat3x4_float_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016158,
171         "dEQP-GLES3.functional.shaders.matrix.p",
172         "ost_increment.lowp_mat4x2_float_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016159,
175         "dEQP-GLES3.functional.shaders.matrix.po",
176         "st_increment.lowp_mat4x2_float_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016160,
179         "dEQP-GLES3.functional.shaders.matrix.po",
180         "st_increment.mediump_mat4x2_float_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016161,
183         "dEQP-GLES3.functional.shaders.matrix.pos",
184         "t_increment.mediump_mat4x2_float_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016162,
187         "dEQP-GLES3.functional.shaders.matrix.p",
188         "ost_increment.highp_mat4x2_float_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016163,
191         "dEQP-GLES3.functional.shaders.matrix.po",
192         "st_increment.highp_mat4x2_float_fragment");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016164,
195         "dEQP-GLES3.functional.shaders.matrix.p",
196         "ost_increment.lowp_mat4x3_float_vertex");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016165,
199         "dEQP-GLES3.functional.shaders.matrix.po",
200         "st_increment.lowp_mat4x3_float_fragment");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016166,
203         "dEQP-GLES3.functional.shaders.matrix.po",
204         "st_increment.mediump_mat4x3_float_vertex");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016167,
207         "dEQP-GLES3.functional.shaders.matrix.pos",
208         "t_increment.mediump_mat4x3_float_fragment");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016168,
211         "dEQP-GLES3.functional.shaders.matrix.p",
212         "ost_increment.highp_mat4x3_float_vertex");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016169,
215         "dEQP-GLES3.functional.shaders.matrix.po",
216         "st_increment.highp_mat4x3_float_fragment");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016170,
219         "dEQP-GLES3.functional.shaders.matrix.",
220         "post_increment.lowp_mat4_float_vertex");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016171,
223         "dEQP-GLES3.functional.shaders.matrix.p",
224         "ost_increment.lowp_mat4_float_fragment");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016172,
227         "dEQP-GLES3.functional.shaders.matrix.p",
228         "ost_increment.mediump_mat4_float_vertex");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016173,
231         "dEQP-GLES3.functional.shaders.matrix.po",
232         "st_increment.mediump_mat4_float_fragment");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016174,
235         "dEQP-GLES3.functional.shaders.matrix.",
236         "post_increment.highp_mat4_float_vertex");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016175,
239         "dEQP-GLES3.functional.shaders.matrix.p",
240         "ost_increment.highp_mat4_float_fragment");
241