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 "../ActsDeqpgles310004TestSuite.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(ActsDeqpgles310004TestSuite, TestCase_003970,
27         "dEQP-GLES31.functional.shaders.arrays_of_ar",
28         "rays.es31.parameter.unnamed.float_3x3_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003971,
31         "dEQP-GLES31.functional.shaders.arrays_of_arr",
32         "ays.es31.parameter.unnamed.float_3x3_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003972,
35         "dEQP-GLES31.functional.shaders.arrays_of_ar",
36         "rays.es31.parameter.unnamed.int_2x2x2_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003973,
39         "dEQP-GLES31.functional.shaders.arrays_of_arr",
40         "ays.es31.parameter.unnamed.int_2x2x2_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003974,
43         "dEQP-GLES31.functional.shaders.arrays_of_arr",
44         "ays.es31.parameter.unnamed.bool_3x2x3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003975,
47         "dEQP-GLES31.functional.shaders.arrays_of_arra",
48         "ys.es31.parameter.unnamed.bool_3x2x3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003976,
51         "dEQP-GLES31.functional.shaders.arrays_of_ar",
52         "rays.es31.parameter.unnamed.vec3_2x3_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003977,
55         "dEQP-GLES31.functional.shaders.arrays_of_arr",
56         "ays.es31.parameter.unnamed.vec3_2x3_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003978,
59         "dEQP-GLES31.functional.shaders.arrays_of_arra",
60         "ys.es31.parameter.unnamed.struct_3x1x3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003979,
63         "dEQP-GLES31.functional.shaders.arrays_of_array",
64         "s.es31.parameter.unnamed.struct_3x1x3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003980,
67         "dEQP-GLES31.functional.shaders.arrays_of_ar",
68         "rays.es31.parameter.unnamed.ivec3_3x3_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003981,
71         "dEQP-GLES31.functional.shaders.arrays_of_arr",
72         "ays.es31.parameter.unnamed.ivec3_3x3_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003982,
75         "dEQP-GLES31.functional.shaders.arrays_of_ar",
76         "rays.es31.parameter.unnamed.bvec4_4x2_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003983,
79         "dEQP-GLES31.functional.shaders.arrays_of_arr",
80         "ays.es31.parameter.unnamed.bvec4_4x2_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003984,
83         "dEQP-GLES31.functional.shaders.arrays_of_ar",
84         "rays.es31.parameter.unnamed.mat3_3x2_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003985,
87         "dEQP-GLES31.functional.shaders.arrays_of_arr",
88         "ays.es31.parameter.unnamed.mat3_3x2_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003986,
91         "dEQP-GLES31.functional.shaders.arrays_of_arr",
92         "ays.es31.parameter.unnamed.mat3_3x3x3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003987,
95         "dEQP-GLES31.functional.shaders.arrays_of_arra",
96         "ys.es31.parameter.unnamed.mat3_3x3x3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003988,
99         "dEQP-GLES31.functional.shaders.arrays_of_ar",
100         "rays.es31.parameter.unnamed.mat3_3x4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003989,
103         "dEQP-GLES31.functional.shaders.arrays_of_arr",
104         "ays.es31.parameter.unnamed.mat3_3x4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004262,
107         "dEQP-GLES31.functional.shaders.arrays_of_ar",
108         "rays.es32.parameter.unnamed.float_3x3_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004263,
111         "dEQP-GLES31.functional.shaders.arrays_of_arr",
112         "ays.es32.parameter.unnamed.float_3x3_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004264,
115         "dEQP-GLES31.functional.shaders.arrays_of_ar",
116         "rays.es32.parameter.unnamed.int_2x2x2_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004265,
119         "dEQP-GLES31.functional.shaders.arrays_of_arr",
120         "ays.es32.parameter.unnamed.int_2x2x2_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004266,
123         "dEQP-GLES31.functional.shaders.arrays_of_arr",
124         "ays.es32.parameter.unnamed.bool_3x2x3_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004267,
127         "dEQP-GLES31.functional.shaders.arrays_of_arra",
128         "ys.es32.parameter.unnamed.bool_3x2x3_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004268,
131         "dEQP-GLES31.functional.shaders.arrays_of_ar",
132         "rays.es32.parameter.unnamed.vec3_2x3_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004269,
135         "dEQP-GLES31.functional.shaders.arrays_of_arr",
136         "ays.es32.parameter.unnamed.vec3_2x3_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004270,
139         "dEQP-GLES31.functional.shaders.arrays_of_arra",
140         "ys.es32.parameter.unnamed.struct_3x1x3_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004271,
143         "dEQP-GLES31.functional.shaders.arrays_of_array",
144         "s.es32.parameter.unnamed.struct_3x1x3_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004272,
147         "dEQP-GLES31.functional.shaders.arrays_of_ar",
148         "rays.es32.parameter.unnamed.ivec3_3x3_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004273,
151         "dEQP-GLES31.functional.shaders.arrays_of_arr",
152         "ays.es32.parameter.unnamed.ivec3_3x3_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004274,
155         "dEQP-GLES31.functional.shaders.arrays_of_ar",
156         "rays.es32.parameter.unnamed.bvec4_4x2_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004275,
159         "dEQP-GLES31.functional.shaders.arrays_of_arr",
160         "ays.es32.parameter.unnamed.bvec4_4x2_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004276,
163         "dEQP-GLES31.functional.shaders.arrays_of_ar",
164         "rays.es32.parameter.unnamed.mat3_3x2_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004277,
167         "dEQP-GLES31.functional.shaders.arrays_of_arr",
168         "ays.es32.parameter.unnamed.mat3_3x2_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004278,
171         "dEQP-GLES31.functional.shaders.arrays_of_arr",
172         "ays.es32.parameter.unnamed.mat3_3x3x3_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004279,
175         "dEQP-GLES31.functional.shaders.arrays_of_arra",
176         "ys.es32.parameter.unnamed.mat3_3x3x3_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004280,
179         "dEQP-GLES31.functional.shaders.arrays_of_ar",
180         "rays.es32.parameter.unnamed.mat3_3x4_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004281,
183         "dEQP-GLES31.functional.shaders.arrays_of_arr",
184         "ays.es32.parameter.unnamed.mat3_3x4_fragment");
185