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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310005TestSuite.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(ActsDeqpgles310005TestSuite, TestCase_004010,
27         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
28         "31.assignment.explicit_to_explicit.float_3x3_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004011,
31         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
32         "1.assignment.explicit_to_explicit.float_3x3_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004012,
35         "dEQP-GLES31.functional.shaders.arrays_of_arrays.e",
36         "s31.assignment.explicit_to_explicit.int_2x3_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004013,
39         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
40         "31.assignment.explicit_to_explicit.int_2x3_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004014,
43         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
44         "1.assignment.explicit_to_explicit.bool_3x3x3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004015,
47         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es31",
48         ".assignment.explicit_to_explicit.bool_3x3x3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004016,
51         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es31",
52         ".assignment.explicit_to_explicit.struct_5x5x4_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004017,
55         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es31.",
56         "assignment.explicit_to_explicit.struct_5x5x4_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004018,
59         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
60         "31.assignment.explicit_to_explicit.vec3_1x3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004019,
63         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
64         "1.assignment.explicit_to_explicit.vec3_1x3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004020,
67         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
68         "1.assignment.explicit_to_explicit.ivec3_3x1x3_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004021,
71         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es31",
72         ".assignment.explicit_to_explicit.ivec3_3x1x3_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004022,
75         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
76         "31.assignment.explicit_to_explicit.bvec3_3x1_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004023,
79         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
80         "1.assignment.explicit_to_explicit.bvec3_3x1_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004024,
83         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
84         "31.assignment.explicit_to_explicit.mat3_3x2_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004025,
87         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
88         "1.assignment.explicit_to_explicit.mat3_3x2_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004026,
91         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
92         "1.assignment.explicit_to_explicit.mat3_3x3x3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004027,
95         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es31",
96         ".assignment.explicit_to_explicit.mat3_3x3x3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004028,
99         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
100         "31.assignment.explicit_to_explicit.mat3_3x4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004029,
103         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
104         "1.assignment.explicit_to_explicit.mat3_3x4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004302,
107         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
108         "32.assignment.explicit_to_explicit.float_3x3_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004303,
111         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
112         "2.assignment.explicit_to_explicit.float_3x3_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004304,
115         "dEQP-GLES31.functional.shaders.arrays_of_arrays.e",
116         "s32.assignment.explicit_to_explicit.int_2x3_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004305,
119         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
120         "32.assignment.explicit_to_explicit.int_2x3_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004306,
123         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
124         "2.assignment.explicit_to_explicit.bool_3x3x3_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004307,
127         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es32",
128         ".assignment.explicit_to_explicit.bool_3x3x3_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004308,
131         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es32",
132         ".assignment.explicit_to_explicit.struct_5x5x4_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004309,
135         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es32.",
136         "assignment.explicit_to_explicit.struct_5x5x4_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004310,
139         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
140         "32.assignment.explicit_to_explicit.vec3_1x3_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004311,
143         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
144         "2.assignment.explicit_to_explicit.vec3_1x3_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004312,
147         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
148         "2.assignment.explicit_to_explicit.ivec3_3x1x3_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004313,
151         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es32",
152         ".assignment.explicit_to_explicit.ivec3_3x1x3_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004314,
155         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
156         "32.assignment.explicit_to_explicit.bvec3_3x1_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004315,
159         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
160         "2.assignment.explicit_to_explicit.bvec3_3x1_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004316,
163         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
164         "32.assignment.explicit_to_explicit.mat3_3x2_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004317,
167         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
168         "2.assignment.explicit_to_explicit.mat3_3x2_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004318,
171         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
172         "2.assignment.explicit_to_explicit.mat3_3x3x3_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004319,
175         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es32",
176         ".assignment.explicit_to_explicit.mat3_3x3x3_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004320,
179         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es",
180         "32.assignment.explicit_to_explicit.mat3_3x4_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004321,
183         "dEQP-GLES31.functional.shaders.arrays_of_arrays.es3",
184         "2.assignment.explicit_to_explicit.mat3_3x4_fragment");
185