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_008902,
27         "dEQP-GLES31.functional.ssbo.layou",
28         "t.single_basic_array.std140.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008903,
31         "dEQP-GLES31.functional.ssbo.layo",
32         "ut.single_basic_array.std140.vec2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008904,
35         "dEQP-GLES31.functional.ssbo.layo",
36         "ut.single_basic_array.std140.vec3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008905,
39         "dEQP-GLES31.functional.ssbo.layo",
40         "ut.single_basic_array.std140.vec4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008906,
43         "dEQP-GLES31.functional.ssbo.layo",
44         "ut.single_basic_array.std140.int");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008907,
47         "dEQP-GLES31.functional.ssbo.layou",
48         "t.single_basic_array.std140.ivec2");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008908,
51         "dEQP-GLES31.functional.ssbo.layou",
52         "t.single_basic_array.std140.ivec3");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008909,
55         "dEQP-GLES31.functional.ssbo.layou",
56         "t.single_basic_array.std140.ivec4");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008910,
59         "dEQP-GLES31.functional.ssbo.layo",
60         "ut.single_basic_array.std140.uint");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008911,
63         "dEQP-GLES31.functional.ssbo.layou",
64         "t.single_basic_array.std140.uvec2");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008912,
67         "dEQP-GLES31.functional.ssbo.layou",
68         "t.single_basic_array.std140.uvec3");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008913,
71         "dEQP-GLES31.functional.ssbo.layou",
72         "t.single_basic_array.std140.uvec4");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008914,
75         "dEQP-GLES31.functional.ssbo.layo",
76         "ut.single_basic_array.std140.bool");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008915,
79         "dEQP-GLES31.functional.ssbo.layou",
80         "t.single_basic_array.std140.bvec2");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008916,
83         "dEQP-GLES31.functional.ssbo.layou",
84         "t.single_basic_array.std140.bvec3");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008917,
87         "dEQP-GLES31.functional.ssbo.layou",
88         "t.single_basic_array.std140.bvec4");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008918,
91         "dEQP-GLES31.functional.ssbo.layo",
92         "ut.single_basic_array.std140.mat2");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008919,
95         "dEQP-GLES31.functional.ssbo.layout.si",
96         "ngle_basic_array.std140.row_major_mat2");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008920,
99         "dEQP-GLES31.functional.ssbo.layout.sing",
100         "le_basic_array.std140.column_major_mat2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008921,
103         "dEQP-GLES31.functional.ssbo.layo",
104         "ut.single_basic_array.std140.mat3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008922,
107         "dEQP-GLES31.functional.ssbo.layout.si",
108         "ngle_basic_array.std140.row_major_mat3");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008923,
111         "dEQP-GLES31.functional.ssbo.layout.sing",
112         "le_basic_array.std140.column_major_mat3");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008924,
115         "dEQP-GLES31.functional.ssbo.layo",
116         "ut.single_basic_array.std140.mat4");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008925,
119         "dEQP-GLES31.functional.ssbo.layout.si",
120         "ngle_basic_array.std140.row_major_mat4");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008926,
123         "dEQP-GLES31.functional.ssbo.layout.sing",
124         "le_basic_array.std140.column_major_mat4");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008927,
127         "dEQP-GLES31.functional.ssbo.layou",
128         "t.single_basic_array.std140.mat2x3");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008928,
131         "dEQP-GLES31.functional.ssbo.layout.sin",
132         "gle_basic_array.std140.row_major_mat2x3");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008929,
135         "dEQP-GLES31.functional.ssbo.layout.singl",
136         "e_basic_array.std140.column_major_mat2x3");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008930,
139         "dEQP-GLES31.functional.ssbo.layou",
140         "t.single_basic_array.std140.mat2x4");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008931,
143         "dEQP-GLES31.functional.ssbo.layout.sin",
144         "gle_basic_array.std140.row_major_mat2x4");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008932,
147         "dEQP-GLES31.functional.ssbo.layout.singl",
148         "e_basic_array.std140.column_major_mat2x4");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008933,
151         "dEQP-GLES31.functional.ssbo.layou",
152         "t.single_basic_array.std140.mat3x2");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008934,
155         "dEQP-GLES31.functional.ssbo.layout.sin",
156         "gle_basic_array.std140.row_major_mat3x2");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008935,
159         "dEQP-GLES31.functional.ssbo.layout.singl",
160         "e_basic_array.std140.column_major_mat3x2");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008936,
163         "dEQP-GLES31.functional.ssbo.layou",
164         "t.single_basic_array.std140.mat3x4");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008937,
167         "dEQP-GLES31.functional.ssbo.layout.sin",
168         "gle_basic_array.std140.row_major_mat3x4");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008938,
171         "dEQP-GLES31.functional.ssbo.layout.singl",
172         "e_basic_array.std140.column_major_mat3x4");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008939,
175         "dEQP-GLES31.functional.ssbo.layou",
176         "t.single_basic_array.std140.mat4x2");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008940,
179         "dEQP-GLES31.functional.ssbo.layout.sin",
180         "gle_basic_array.std140.row_major_mat4x2");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008941,
183         "dEQP-GLES31.functional.ssbo.layout.singl",
184         "e_basic_array.std140.column_major_mat4x2");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008942,
187         "dEQP-GLES31.functional.ssbo.layou",
188         "t.single_basic_array.std140.mat4x3");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008943,
191         "dEQP-GLES31.functional.ssbo.layout.sin",
192         "gle_basic_array.std140.row_major_mat4x3");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008944,
195         "dEQP-GLES31.functional.ssbo.layout.singl",
196         "e_basic_array.std140.column_major_mat4x3");
197