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_003930,
27         "dEQP-GLES31.functional.shaders.arrays_of_",
28         "arrays.es31.parameter.in.float_3x3_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003931,
31         "dEQP-GLES31.functional.shaders.arrays_of_a",
32         "rrays.es31.parameter.in.float_3x3_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003932,
35         "dEQP-GLES31.functional.shaders.arrays_of_",
36         "arrays.es31.parameter.in.int_2x2x2_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003933,
39         "dEQP-GLES31.functional.shaders.arrays_of_a",
40         "rrays.es31.parameter.in.int_2x2x2_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003934,
43         "dEQP-GLES31.functional.shaders.arrays_of_",
44         "arrays.es31.parameter.in.bool_3x2x3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003935,
47         "dEQP-GLES31.functional.shaders.arrays_of_a",
48         "rrays.es31.parameter.in.bool_3x2x3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003936,
51         "dEQP-GLES31.functional.shaders.arrays_of",
52         "_arrays.es31.parameter.in.vec3_2x3_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003937,
55         "dEQP-GLES31.functional.shaders.arrays_of_",
56         "arrays.es31.parameter.in.vec3_2x3_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003938,
59         "dEQP-GLES31.functional.shaders.arrays_of_a",
60         "rrays.es31.parameter.in.struct_3x1x3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003939,
63         "dEQP-GLES31.functional.shaders.arrays_of_ar",
64         "rays.es31.parameter.in.struct_3x1x3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003940,
67         "dEQP-GLES31.functional.shaders.arrays_of_",
68         "arrays.es31.parameter.in.ivec3_3x3_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003941,
71         "dEQP-GLES31.functional.shaders.arrays_of_a",
72         "rrays.es31.parameter.in.ivec3_3x3_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003942,
75         "dEQP-GLES31.functional.shaders.arrays_of_",
76         "arrays.es31.parameter.in.bvec4_4x2_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003943,
79         "dEQP-GLES31.functional.shaders.arrays_of_a",
80         "rrays.es31.parameter.in.bvec4_4x2_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003944,
83         "dEQP-GLES31.functional.shaders.arrays_of",
84         "_arrays.es31.parameter.in.mat3_3x2_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003945,
87         "dEQP-GLES31.functional.shaders.arrays_of_",
88         "arrays.es31.parameter.in.mat3_3x2_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003946,
91         "dEQP-GLES31.functional.shaders.arrays_of_",
92         "arrays.es31.parameter.in.mat3_3x3x3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003947,
95         "dEQP-GLES31.functional.shaders.arrays_of_a",
96         "rrays.es31.parameter.in.mat3_3x3x3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003948,
99         "dEQP-GLES31.functional.shaders.arrays_of",
100         "_arrays.es31.parameter.in.mat3_3x4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003949,
103         "dEQP-GLES31.functional.shaders.arrays_of_",
104         "arrays.es31.parameter.in.mat3_3x4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004222,
107         "dEQP-GLES31.functional.shaders.arrays_of_",
108         "arrays.es32.parameter.in.float_3x3_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004223,
111         "dEQP-GLES31.functional.shaders.arrays_of_a",
112         "rrays.es32.parameter.in.float_3x3_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004224,
115         "dEQP-GLES31.functional.shaders.arrays_of_",
116         "arrays.es32.parameter.in.int_2x2x2_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004225,
119         "dEQP-GLES31.functional.shaders.arrays_of_a",
120         "rrays.es32.parameter.in.int_2x2x2_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004226,
123         "dEQP-GLES31.functional.shaders.arrays_of_",
124         "arrays.es32.parameter.in.bool_3x2x3_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004227,
127         "dEQP-GLES31.functional.shaders.arrays_of_a",
128         "rrays.es32.parameter.in.bool_3x2x3_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004228,
131         "dEQP-GLES31.functional.shaders.arrays_of",
132         "_arrays.es32.parameter.in.vec3_2x3_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004229,
135         "dEQP-GLES31.functional.shaders.arrays_of_",
136         "arrays.es32.parameter.in.vec3_2x3_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004230,
139         "dEQP-GLES31.functional.shaders.arrays_of_a",
140         "rrays.es32.parameter.in.struct_3x1x3_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004231,
143         "dEQP-GLES31.functional.shaders.arrays_of_ar",
144         "rays.es32.parameter.in.struct_3x1x3_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004232,
147         "dEQP-GLES31.functional.shaders.arrays_of_",
148         "arrays.es32.parameter.in.ivec3_3x3_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004233,
151         "dEQP-GLES31.functional.shaders.arrays_of_a",
152         "rrays.es32.parameter.in.ivec3_3x3_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004234,
155         "dEQP-GLES31.functional.shaders.arrays_of_",
156         "arrays.es32.parameter.in.bvec4_4x2_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004235,
159         "dEQP-GLES31.functional.shaders.arrays_of_a",
160         "rrays.es32.parameter.in.bvec4_4x2_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004236,
163         "dEQP-GLES31.functional.shaders.arrays_of",
164         "_arrays.es32.parameter.in.mat3_3x2_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004237,
167         "dEQP-GLES31.functional.shaders.arrays_of_",
168         "arrays.es32.parameter.in.mat3_3x2_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004238,
171         "dEQP-GLES31.functional.shaders.arrays_of_",
172         "arrays.es32.parameter.in.mat3_3x3x3_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004239,
175         "dEQP-GLES31.functional.shaders.arrays_of_a",
176         "rrays.es32.parameter.in.mat3_3x3x3_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004240,
179         "dEQP-GLES31.functional.shaders.arrays_of",
180         "_arrays.es32.parameter.in.mat3_3x4_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_004241,
183         "dEQP-GLES31.functional.shaders.arrays_of_",
184         "arrays.es32.parameter.in.mat3_3x4_fragment");
185