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_008945,
27         "dEQP-GLES31.functional.ssbo.layou",
28         "t.single_basic_array.std430.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008946,
31         "dEQP-GLES31.functional.ssbo.layo",
32         "ut.single_basic_array.std430.vec2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008947,
35         "dEQP-GLES31.functional.ssbo.layo",
36         "ut.single_basic_array.std430.vec3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008948,
39         "dEQP-GLES31.functional.ssbo.layo",
40         "ut.single_basic_array.std430.vec4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008949,
43         "dEQP-GLES31.functional.ssbo.layo",
44         "ut.single_basic_array.std430.int");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008950,
47         "dEQP-GLES31.functional.ssbo.layou",
48         "t.single_basic_array.std430.ivec2");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008951,
51         "dEQP-GLES31.functional.ssbo.layou",
52         "t.single_basic_array.std430.ivec3");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008952,
55         "dEQP-GLES31.functional.ssbo.layou",
56         "t.single_basic_array.std430.ivec4");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008953,
59         "dEQP-GLES31.functional.ssbo.layo",
60         "ut.single_basic_array.std430.uint");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008954,
63         "dEQP-GLES31.functional.ssbo.layou",
64         "t.single_basic_array.std430.uvec2");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008955,
67         "dEQP-GLES31.functional.ssbo.layou",
68         "t.single_basic_array.std430.uvec3");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008956,
71         "dEQP-GLES31.functional.ssbo.layou",
72         "t.single_basic_array.std430.uvec4");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008957,
75         "dEQP-GLES31.functional.ssbo.layo",
76         "ut.single_basic_array.std430.bool");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008958,
79         "dEQP-GLES31.functional.ssbo.layou",
80         "t.single_basic_array.std430.bvec2");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008959,
83         "dEQP-GLES31.functional.ssbo.layou",
84         "t.single_basic_array.std430.bvec3");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008960,
87         "dEQP-GLES31.functional.ssbo.layou",
88         "t.single_basic_array.std430.bvec4");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008961,
91         "dEQP-GLES31.functional.ssbo.layo",
92         "ut.single_basic_array.std430.mat2");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008962,
95         "dEQP-GLES31.functional.ssbo.layout.si",
96         "ngle_basic_array.std430.row_major_mat2");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008963,
99         "dEQP-GLES31.functional.ssbo.layout.sing",
100         "le_basic_array.std430.column_major_mat2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008964,
103         "dEQP-GLES31.functional.ssbo.layo",
104         "ut.single_basic_array.std430.mat3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008965,
107         "dEQP-GLES31.functional.ssbo.layout.si",
108         "ngle_basic_array.std430.row_major_mat3");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008966,
111         "dEQP-GLES31.functional.ssbo.layout.sing",
112         "le_basic_array.std430.column_major_mat3");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008967,
115         "dEQP-GLES31.functional.ssbo.layo",
116         "ut.single_basic_array.std430.mat4");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008968,
119         "dEQP-GLES31.functional.ssbo.layout.si",
120         "ngle_basic_array.std430.row_major_mat4");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008969,
123         "dEQP-GLES31.functional.ssbo.layout.sing",
124         "le_basic_array.std430.column_major_mat4");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008970,
127         "dEQP-GLES31.functional.ssbo.layou",
128         "t.single_basic_array.std430.mat2x3");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008971,
131         "dEQP-GLES31.functional.ssbo.layout.sin",
132         "gle_basic_array.std430.row_major_mat2x3");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008972,
135         "dEQP-GLES31.functional.ssbo.layout.singl",
136         "e_basic_array.std430.column_major_mat2x3");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008973,
139         "dEQP-GLES31.functional.ssbo.layou",
140         "t.single_basic_array.std430.mat2x4");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008974,
143         "dEQP-GLES31.functional.ssbo.layout.sin",
144         "gle_basic_array.std430.row_major_mat2x4");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008975,
147         "dEQP-GLES31.functional.ssbo.layout.singl",
148         "e_basic_array.std430.column_major_mat2x4");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008976,
151         "dEQP-GLES31.functional.ssbo.layou",
152         "t.single_basic_array.std430.mat3x2");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008977,
155         "dEQP-GLES31.functional.ssbo.layout.sin",
156         "gle_basic_array.std430.row_major_mat3x2");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008978,
159         "dEQP-GLES31.functional.ssbo.layout.singl",
160         "e_basic_array.std430.column_major_mat3x2");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008979,
163         "dEQP-GLES31.functional.ssbo.layou",
164         "t.single_basic_array.std430.mat3x4");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008980,
167         "dEQP-GLES31.functional.ssbo.layout.sin",
168         "gle_basic_array.std430.row_major_mat3x4");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008981,
171         "dEQP-GLES31.functional.ssbo.layout.singl",
172         "e_basic_array.std430.column_major_mat3x4");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008982,
175         "dEQP-GLES31.functional.ssbo.layou",
176         "t.single_basic_array.std430.mat4x2");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008983,
179         "dEQP-GLES31.functional.ssbo.layout.sin",
180         "gle_basic_array.std430.row_major_mat4x2");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008984,
183         "dEQP-GLES31.functional.ssbo.layout.singl",
184         "e_basic_array.std430.column_major_mat4x2");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008985,
187         "dEQP-GLES31.functional.ssbo.layou",
188         "t.single_basic_array.std430.mat4x3");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008986,
191         "dEQP-GLES31.functional.ssbo.layout.sin",
192         "gle_basic_array.std430.row_major_mat4x3");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008987,
195         "dEQP-GLES31.functional.ssbo.layout.singl",
196         "e_basic_array.std430.column_major_mat4x3");
197