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 "../ActsDeqpgles310009TestSuite.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(ActsDeqpgles310009TestSuite, TestCase_008816,
27         "dEQP-GLES31.functional.ssbo.layou",
28         "t.single_basic_array.shared.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008817,
31         "dEQP-GLES31.functional.ssbo.layo",
32         "ut.single_basic_array.shared.vec2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008818,
35         "dEQP-GLES31.functional.ssbo.layo",
36         "ut.single_basic_array.shared.vec3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008819,
39         "dEQP-GLES31.functional.ssbo.layo",
40         "ut.single_basic_array.shared.vec4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008820,
43         "dEQP-GLES31.functional.ssbo.layo",
44         "ut.single_basic_array.shared.int");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008821,
47         "dEQP-GLES31.functional.ssbo.layou",
48         "t.single_basic_array.shared.ivec2");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008822,
51         "dEQP-GLES31.functional.ssbo.layou",
52         "t.single_basic_array.shared.ivec3");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008823,
55         "dEQP-GLES31.functional.ssbo.layou",
56         "t.single_basic_array.shared.ivec4");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008824,
59         "dEQP-GLES31.functional.ssbo.layo",
60         "ut.single_basic_array.shared.uint");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008825,
63         "dEQP-GLES31.functional.ssbo.layou",
64         "t.single_basic_array.shared.uvec2");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008826,
67         "dEQP-GLES31.functional.ssbo.layou",
68         "t.single_basic_array.shared.uvec3");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008827,
71         "dEQP-GLES31.functional.ssbo.layou",
72         "t.single_basic_array.shared.uvec4");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008828,
75         "dEQP-GLES31.functional.ssbo.layo",
76         "ut.single_basic_array.shared.bool");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008829,
79         "dEQP-GLES31.functional.ssbo.layou",
80         "t.single_basic_array.shared.bvec2");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008830,
83         "dEQP-GLES31.functional.ssbo.layou",
84         "t.single_basic_array.shared.bvec3");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008831,
87         "dEQP-GLES31.functional.ssbo.layou",
88         "t.single_basic_array.shared.bvec4");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008832,
91         "dEQP-GLES31.functional.ssbo.layo",
92         "ut.single_basic_array.shared.mat2");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008833,
95         "dEQP-GLES31.functional.ssbo.layout.si",
96         "ngle_basic_array.shared.row_major_mat2");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008834,
99         "dEQP-GLES31.functional.ssbo.layout.sing",
100         "le_basic_array.shared.column_major_mat2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008835,
103         "dEQP-GLES31.functional.ssbo.layo",
104         "ut.single_basic_array.shared.mat3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008836,
107         "dEQP-GLES31.functional.ssbo.layout.si",
108         "ngle_basic_array.shared.row_major_mat3");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008837,
111         "dEQP-GLES31.functional.ssbo.layout.sing",
112         "le_basic_array.shared.column_major_mat3");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008838,
115         "dEQP-GLES31.functional.ssbo.layo",
116         "ut.single_basic_array.shared.mat4");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008839,
119         "dEQP-GLES31.functional.ssbo.layout.si",
120         "ngle_basic_array.shared.row_major_mat4");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008840,
123         "dEQP-GLES31.functional.ssbo.layout.sing",
124         "le_basic_array.shared.column_major_mat4");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008841,
127         "dEQP-GLES31.functional.ssbo.layou",
128         "t.single_basic_array.shared.mat2x3");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008842,
131         "dEQP-GLES31.functional.ssbo.layout.sin",
132         "gle_basic_array.shared.row_major_mat2x3");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008843,
135         "dEQP-GLES31.functional.ssbo.layout.singl",
136         "e_basic_array.shared.column_major_mat2x3");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008844,
139         "dEQP-GLES31.functional.ssbo.layou",
140         "t.single_basic_array.shared.mat2x4");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008845,
143         "dEQP-GLES31.functional.ssbo.layout.sin",
144         "gle_basic_array.shared.row_major_mat2x4");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008846,
147         "dEQP-GLES31.functional.ssbo.layout.singl",
148         "e_basic_array.shared.column_major_mat2x4");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008847,
151         "dEQP-GLES31.functional.ssbo.layou",
152         "t.single_basic_array.shared.mat3x2");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008848,
155         "dEQP-GLES31.functional.ssbo.layout.sin",
156         "gle_basic_array.shared.row_major_mat3x2");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008849,
159         "dEQP-GLES31.functional.ssbo.layout.singl",
160         "e_basic_array.shared.column_major_mat3x2");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008850,
163         "dEQP-GLES31.functional.ssbo.layou",
164         "t.single_basic_array.shared.mat3x4");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008851,
167         "dEQP-GLES31.functional.ssbo.layout.sin",
168         "gle_basic_array.shared.row_major_mat3x4");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008852,
171         "dEQP-GLES31.functional.ssbo.layout.singl",
172         "e_basic_array.shared.column_major_mat3x4");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008853,
175         "dEQP-GLES31.functional.ssbo.layou",
176         "t.single_basic_array.shared.mat4x2");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008854,
179         "dEQP-GLES31.functional.ssbo.layout.sin",
180         "gle_basic_array.shared.row_major_mat4x2");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008855,
183         "dEQP-GLES31.functional.ssbo.layout.singl",
184         "e_basic_array.shared.column_major_mat4x2");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008856,
187         "dEQP-GLES31.functional.ssbo.layou",
188         "t.single_basic_array.shared.mat4x3");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008857,
191         "dEQP-GLES31.functional.ssbo.layout.sin",
192         "gle_basic_array.shared.row_major_mat4x3");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008858,
195         "dEQP-GLES31.functional.ssbo.layout.singl",
196         "e_basic_array.shared.column_major_mat4x3");
197