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 "../ActsDeqpgles310012TestSuite.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(ActsDeqpgles310012TestSuite, TestCase_011451,
27         "dEQP-GLES31.functional.image_load_store.",
28         "cube.format_reinterpret.rgba32f_rgba32ui");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011452,
31         "dEQP-GLES31.functional.image_load_store",
32         ".cube.format_reinterpret.rgba32f_rgba32i");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011453,
35         "dEQP-GLES31.functional.image_load_store.",
36         "cube.format_reinterpret.rgba16f_rgba16ui");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011454,
39         "dEQP-GLES31.functional.image_load_store",
40         ".cube.format_reinterpret.rgba16f_rgba16i");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011455,
43         "dEQP-GLES31.functional.image_load_stor",
44         "e.cube.format_reinterpret.r32f_rgba8ui");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011456,
47         "dEQP-GLES31.functional.image_load_sto",
48         "re.cube.format_reinterpret.r32f_r32ui");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011457,
51         "dEQP-GLES31.functional.image_load_sto",
52         "re.cube.format_reinterpret.r32f_rgba8i");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011458,
55         "dEQP-GLES31.functional.image_load_st",
56         "ore.cube.format_reinterpret.r32f_r32i");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011459,
59         "dEQP-GLES31.functional.image_load_sto",
60         "re.cube.format_reinterpret.r32f_rgba8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011460,
63         "dEQP-GLES31.functional.image_load_store.",
64         "cube.format_reinterpret.r32f_rgba8_snorm");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011461,
67         "dEQP-GLES31.functional.image_load_store.",
68         "cube.format_reinterpret.rgba32ui_rgba32f");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011462,
71         "dEQP-GLES31.functional.image_load_store.",
72         "cube.format_reinterpret.rgba32ui_rgba32i");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011463,
75         "dEQP-GLES31.functional.image_load_store.",
76         "cube.format_reinterpret.rgba16ui_rgba16f");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011464,
79         "dEQP-GLES31.functional.image_load_store.",
80         "cube.format_reinterpret.rgba16ui_rgba16i");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011465,
83         "dEQP-GLES31.functional.image_load_stor",
84         "e.cube.format_reinterpret.rgba8ui_r32f");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011466,
87         "dEQP-GLES31.functional.image_load_stor",
88         "e.cube.format_reinterpret.rgba8ui_r32ui");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011467,
91         "dEQP-GLES31.functional.image_load_store",
92         ".cube.format_reinterpret.rgba8ui_rgba8i");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011468,
95         "dEQP-GLES31.functional.image_load_stor",
96         "e.cube.format_reinterpret.rgba8ui_r32i");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011469,
99         "dEQP-GLES31.functional.image_load_stor",
100         "e.cube.format_reinterpret.rgba8ui_rgba8");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011470,
103         "dEQP-GLES31.functional.image_load_store.c",
104         "ube.format_reinterpret.rgba8ui_rgba8_snorm");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011471,
107         "dEQP-GLES31.functional.image_load_sto",
108         "re.cube.format_reinterpret.r32ui_r32f");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011472,
111         "dEQP-GLES31.functional.image_load_stor",
112         "e.cube.format_reinterpret.r32ui_rgba8ui");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011473,
115         "dEQP-GLES31.functional.image_load_stor",
116         "e.cube.format_reinterpret.r32ui_rgba8i");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011474,
119         "dEQP-GLES31.functional.image_load_sto",
120         "re.cube.format_reinterpret.r32ui_r32i");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011475,
123         "dEQP-GLES31.functional.image_load_sto",
124         "re.cube.format_reinterpret.r32ui_rgba8");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011476,
127         "dEQP-GLES31.functional.image_load_store.",
128         "cube.format_reinterpret.r32ui_rgba8_snorm");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011477,
131         "dEQP-GLES31.functional.image_load_store",
132         ".cube.format_reinterpret.rgba32i_rgba32f");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011478,
135         "dEQP-GLES31.functional.image_load_store.",
136         "cube.format_reinterpret.rgba32i_rgba32ui");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011479,
139         "dEQP-GLES31.functional.image_load_store",
140         ".cube.format_reinterpret.rgba16i_rgba16f");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011480,
143         "dEQP-GLES31.functional.image_load_store.",
144         "cube.format_reinterpret.rgba16i_rgba16ui");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011481,
147         "dEQP-GLES31.functional.image_load_sto",
148         "re.cube.format_reinterpret.rgba8i_r32f");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011482,
151         "dEQP-GLES31.functional.image_load_store",
152         ".cube.format_reinterpret.rgba8i_rgba8ui");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011483,
155         "dEQP-GLES31.functional.image_load_stor",
156         "e.cube.format_reinterpret.rgba8i_r32ui");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011484,
159         "dEQP-GLES31.functional.image_load_sto",
160         "re.cube.format_reinterpret.rgba8i_r32i");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011485,
163         "dEQP-GLES31.functional.image_load_stor",
164         "e.cube.format_reinterpret.rgba8i_rgba8");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011486,
167         "dEQP-GLES31.functional.image_load_store.c",
168         "ube.format_reinterpret.rgba8i_rgba8_snorm");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011487,
171         "dEQP-GLES31.functional.image_load_st",
172         "ore.cube.format_reinterpret.r32i_r32f");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011488,
175         "dEQP-GLES31.functional.image_load_stor",
176         "e.cube.format_reinterpret.r32i_rgba8ui");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011489,
179         "dEQP-GLES31.functional.image_load_sto",
180         "re.cube.format_reinterpret.r32i_r32ui");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011490,
183         "dEQP-GLES31.functional.image_load_sto",
184         "re.cube.format_reinterpret.r32i_rgba8i");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011491,
187         "dEQP-GLES31.functional.image_load_sto",
188         "re.cube.format_reinterpret.r32i_rgba8");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011492,
191         "dEQP-GLES31.functional.image_load_store.",
192         "cube.format_reinterpret.r32i_rgba8_snorm");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011493,
195         "dEQP-GLES31.functional.image_load_sto",
196         "re.cube.format_reinterpret.rgba8_r32f");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011494,
199         "dEQP-GLES31.functional.image_load_stor",
200         "e.cube.format_reinterpret.rgba8_rgba8ui");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011495,
203         "dEQP-GLES31.functional.image_load_sto",
204         "re.cube.format_reinterpret.rgba8_r32ui");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011496,
207         "dEQP-GLES31.functional.image_load_stor",
208         "e.cube.format_reinterpret.rgba8_rgba8i");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011497,
211         "dEQP-GLES31.functional.image_load_sto",
212         "re.cube.format_reinterpret.rgba8_r32i");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011498,
215         "dEQP-GLES31.functional.image_load_store.",
216         "cube.format_reinterpret.rgba8_rgba8_snorm");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011499,
219         "dEQP-GLES31.functional.image_load_store.",
220         "cube.format_reinterpret.rgba8_snorm_r32f");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011500,
223         "dEQP-GLES31.functional.image_load_store.c",
224         "ube.format_reinterpret.rgba8_snorm_rgba8ui");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011501,
227         "dEQP-GLES31.functional.image_load_store.",
228         "cube.format_reinterpret.rgba8_snorm_r32ui");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011502,
231         "dEQP-GLES31.functional.image_load_store.c",
232         "ube.format_reinterpret.rgba8_snorm_rgba8i");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011503,
235         "dEQP-GLES31.functional.image_load_store.",
236         "cube.format_reinterpret.rgba8_snorm_r32i");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011504,
239         "dEQP-GLES31.functional.image_load_store.",
240         "cube.format_reinterpret.rgba8_snorm_rgba8");
241