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_015960,
27         "dEQP-GLES3.functional.shaders.matr",
28         "ix.negation.lowp_mat2_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015961,
31         "dEQP-GLES3.functional.shaders.matri",
32         "x.negation.lowp_mat2_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015962,
35         "dEQP-GLES3.functional.shaders.matri",
36         "x.negation.mediump_mat2_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015963,
39         "dEQP-GLES3.functional.shaders.matrix",
40         ".negation.mediump_mat2_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015964,
43         "dEQP-GLES3.functional.shaders.matr",
44         "ix.negation.highp_mat2_float_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015965,
47         "dEQP-GLES3.functional.shaders.matri",
48         "x.negation.highp_mat2_float_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015966,
51         "dEQP-GLES3.functional.shaders.matri",
52         "x.negation.lowp_mat2x3_float_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015967,
55         "dEQP-GLES3.functional.shaders.matrix",
56         ".negation.lowp_mat2x3_float_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015968,
59         "dEQP-GLES3.functional.shaders.matrix",
60         ".negation.mediump_mat2x3_float_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015969,
63         "dEQP-GLES3.functional.shaders.matrix.",
64         "negation.mediump_mat2x3_float_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015970,
67         "dEQP-GLES3.functional.shaders.matri",
68         "x.negation.highp_mat2x3_float_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015971,
71         "dEQP-GLES3.functional.shaders.matrix",
72         ".negation.highp_mat2x3_float_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015972,
75         "dEQP-GLES3.functional.shaders.matri",
76         "x.negation.lowp_mat2x4_float_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015973,
79         "dEQP-GLES3.functional.shaders.matrix",
80         ".negation.lowp_mat2x4_float_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015974,
83         "dEQP-GLES3.functional.shaders.matrix",
84         ".negation.mediump_mat2x4_float_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015975,
87         "dEQP-GLES3.functional.shaders.matrix.",
88         "negation.mediump_mat2x4_float_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015976,
91         "dEQP-GLES3.functional.shaders.matri",
92         "x.negation.highp_mat2x4_float_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015977,
95         "dEQP-GLES3.functional.shaders.matrix",
96         ".negation.highp_mat2x4_float_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015978,
99         "dEQP-GLES3.functional.shaders.matri",
100         "x.negation.lowp_mat3x2_float_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015979,
103         "dEQP-GLES3.functional.shaders.matrix",
104         ".negation.lowp_mat3x2_float_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015980,
107         "dEQP-GLES3.functional.shaders.matrix",
108         ".negation.mediump_mat3x2_float_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015981,
111         "dEQP-GLES3.functional.shaders.matrix.",
112         "negation.mediump_mat3x2_float_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015982,
115         "dEQP-GLES3.functional.shaders.matri",
116         "x.negation.highp_mat3x2_float_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015983,
119         "dEQP-GLES3.functional.shaders.matrix",
120         ".negation.highp_mat3x2_float_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015984,
123         "dEQP-GLES3.functional.shaders.matr",
124         "ix.negation.lowp_mat3_float_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015985,
127         "dEQP-GLES3.functional.shaders.matri",
128         "x.negation.lowp_mat3_float_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015986,
131         "dEQP-GLES3.functional.shaders.matri",
132         "x.negation.mediump_mat3_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015987,
135         "dEQP-GLES3.functional.shaders.matrix",
136         ".negation.mediump_mat3_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015988,
139         "dEQP-GLES3.functional.shaders.matr",
140         "ix.negation.highp_mat3_float_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015989,
143         "dEQP-GLES3.functional.shaders.matri",
144         "x.negation.highp_mat3_float_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015990,
147         "dEQP-GLES3.functional.shaders.matri",
148         "x.negation.lowp_mat3x4_float_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015991,
151         "dEQP-GLES3.functional.shaders.matrix",
152         ".negation.lowp_mat3x4_float_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015992,
155         "dEQP-GLES3.functional.shaders.matrix",
156         ".negation.mediump_mat3x4_float_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015993,
159         "dEQP-GLES3.functional.shaders.matrix.",
160         "negation.mediump_mat3x4_float_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015994,
163         "dEQP-GLES3.functional.shaders.matri",
164         "x.negation.highp_mat3x4_float_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015995,
167         "dEQP-GLES3.functional.shaders.matrix",
168         ".negation.highp_mat3x4_float_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015996,
171         "dEQP-GLES3.functional.shaders.matri",
172         "x.negation.lowp_mat4x2_float_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015997,
175         "dEQP-GLES3.functional.shaders.matrix",
176         ".negation.lowp_mat4x2_float_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015998,
179         "dEQP-GLES3.functional.shaders.matrix",
180         ".negation.mediump_mat4x2_float_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015999,
183         "dEQP-GLES3.functional.shaders.matrix.",
184         "negation.mediump_mat4x2_float_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016000,
187         "dEQP-GLES3.functional.shaders.matri",
188         "x.negation.highp_mat4x2_float_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016001,
191         "dEQP-GLES3.functional.shaders.matrix",
192         ".negation.highp_mat4x2_float_fragment");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016002,
195         "dEQP-GLES3.functional.shaders.matri",
196         "x.negation.lowp_mat4x3_float_vertex");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016003,
199         "dEQP-GLES3.functional.shaders.matrix",
200         ".negation.lowp_mat4x3_float_fragment");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016004,
203         "dEQP-GLES3.functional.shaders.matrix",
204         ".negation.mediump_mat4x3_float_vertex");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016005,
207         "dEQP-GLES3.functional.shaders.matrix.",
208         "negation.mediump_mat4x3_float_fragment");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016006,
211         "dEQP-GLES3.functional.shaders.matri",
212         "x.negation.highp_mat4x3_float_vertex");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016007,
215         "dEQP-GLES3.functional.shaders.matrix",
216         ".negation.highp_mat4x3_float_fragment");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016008,
219         "dEQP-GLES3.functional.shaders.matr",
220         "ix.negation.lowp_mat4_float_vertex");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016009,
223         "dEQP-GLES3.functional.shaders.matri",
224         "x.negation.lowp_mat4_float_fragment");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016010,
227         "dEQP-GLES3.functional.shaders.matri",
228         "x.negation.mediump_mat4_float_vertex");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016011,
231         "dEQP-GLES3.functional.shaders.matrix",
232         ".negation.mediump_mat4_float_fragment");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016012,
235         "dEQP-GLES3.functional.shaders.matr",
236         "ix.negation.highp_mat4_float_vertex");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016013,
239         "dEQP-GLES3.functional.shaders.matri",
240         "x.negation.highp_mat4_float_fragment");
241