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_011608,
27         "dEQP-GLES31.functional.image_load_store",
28         ".3d.format_reinterpret.rgba32f_rgba32ui");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011609,
31         "dEQP-GLES31.functional.image_load_stor",
32         "e.3d.format_reinterpret.rgba32f_rgba32i");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011610,
35         "dEQP-GLES31.functional.image_load_store",
36         ".3d.format_reinterpret.rgba16f_rgba16ui");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011611,
39         "dEQP-GLES31.functional.image_load_stor",
40         "e.3d.format_reinterpret.rgba16f_rgba16i");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011612,
43         "dEQP-GLES31.functional.image_load_sto",
44         "re.3d.format_reinterpret.r32f_rgba8ui");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011613,
47         "dEQP-GLES31.functional.image_load_st",
48         "ore.3d.format_reinterpret.r32f_r32ui");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011614,
51         "dEQP-GLES31.functional.image_load_st",
52         "ore.3d.format_reinterpret.r32f_rgba8i");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011615,
55         "dEQP-GLES31.functional.image_load_s",
56         "tore.3d.format_reinterpret.r32f_r32i");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011616,
59         "dEQP-GLES31.functional.image_load_st",
60         "ore.3d.format_reinterpret.r32f_rgba8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011617,
63         "dEQP-GLES31.functional.image_load_store",
64         ".3d.format_reinterpret.r32f_rgba8_snorm");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011618,
67         "dEQP-GLES31.functional.image_load_store",
68         ".3d.format_reinterpret.rgba32ui_rgba32f");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011619,
71         "dEQP-GLES31.functional.image_load_store",
72         ".3d.format_reinterpret.rgba32ui_rgba32i");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011620,
75         "dEQP-GLES31.functional.image_load_store",
76         ".3d.format_reinterpret.rgba16ui_rgba16f");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011621,
79         "dEQP-GLES31.functional.image_load_store",
80         ".3d.format_reinterpret.rgba16ui_rgba16i");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011622,
83         "dEQP-GLES31.functional.image_load_sto",
84         "re.3d.format_reinterpret.rgba8ui_r32f");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011623,
87         "dEQP-GLES31.functional.image_load_sto",
88         "re.3d.format_reinterpret.rgba8ui_r32ui");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011624,
91         "dEQP-GLES31.functional.image_load_stor",
92         "e.3d.format_reinterpret.rgba8ui_rgba8i");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011625,
95         "dEQP-GLES31.functional.image_load_sto",
96         "re.3d.format_reinterpret.rgba8ui_r32i");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011626,
99         "dEQP-GLES31.functional.image_load_sto",
100         "re.3d.format_reinterpret.rgba8ui_rgba8");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011627,
103         "dEQP-GLES31.functional.image_load_store.",
104         "3d.format_reinterpret.rgba8ui_rgba8_snorm");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011628,
107         "dEQP-GLES31.functional.image_load_st",
108         "ore.3d.format_reinterpret.r32ui_r32f");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011629,
111         "dEQP-GLES31.functional.image_load_sto",
112         "re.3d.format_reinterpret.r32ui_rgba8ui");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011630,
115         "dEQP-GLES31.functional.image_load_sto",
116         "re.3d.format_reinterpret.r32ui_rgba8i");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011631,
119         "dEQP-GLES31.functional.image_load_st",
120         "ore.3d.format_reinterpret.r32ui_r32i");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011632,
123         "dEQP-GLES31.functional.image_load_st",
124         "ore.3d.format_reinterpret.r32ui_rgba8");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011633,
127         "dEQP-GLES31.functional.image_load_store",
128         ".3d.format_reinterpret.r32ui_rgba8_snorm");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011634,
131         "dEQP-GLES31.functional.image_load_stor",
132         "e.3d.format_reinterpret.rgba32i_rgba32f");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011635,
135         "dEQP-GLES31.functional.image_load_store",
136         ".3d.format_reinterpret.rgba32i_rgba32ui");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011636,
139         "dEQP-GLES31.functional.image_load_stor",
140         "e.3d.format_reinterpret.rgba16i_rgba16f");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011637,
143         "dEQP-GLES31.functional.image_load_store",
144         ".3d.format_reinterpret.rgba16i_rgba16ui");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011638,
147         "dEQP-GLES31.functional.image_load_st",
148         "ore.3d.format_reinterpret.rgba8i_r32f");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011639,
151         "dEQP-GLES31.functional.image_load_stor",
152         "e.3d.format_reinterpret.rgba8i_rgba8ui");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011640,
155         "dEQP-GLES31.functional.image_load_sto",
156         "re.3d.format_reinterpret.rgba8i_r32ui");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011641,
159         "dEQP-GLES31.functional.image_load_st",
160         "ore.3d.format_reinterpret.rgba8i_r32i");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011642,
163         "dEQP-GLES31.functional.image_load_sto",
164         "re.3d.format_reinterpret.rgba8i_rgba8");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011643,
167         "dEQP-GLES31.functional.image_load_store.",
168         "3d.format_reinterpret.rgba8i_rgba8_snorm");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011644,
171         "dEQP-GLES31.functional.image_load_s",
172         "tore.3d.format_reinterpret.r32i_r32f");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011645,
175         "dEQP-GLES31.functional.image_load_sto",
176         "re.3d.format_reinterpret.r32i_rgba8ui");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011646,
179         "dEQP-GLES31.functional.image_load_st",
180         "ore.3d.format_reinterpret.r32i_r32ui");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011647,
183         "dEQP-GLES31.functional.image_load_st",
184         "ore.3d.format_reinterpret.r32i_rgba8i");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011648,
187         "dEQP-GLES31.functional.image_load_st",
188         "ore.3d.format_reinterpret.r32i_rgba8");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011649,
191         "dEQP-GLES31.functional.image_load_store",
192         ".3d.format_reinterpret.r32i_rgba8_snorm");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011650,
195         "dEQP-GLES31.functional.image_load_st",
196         "ore.3d.format_reinterpret.rgba8_r32f");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011651,
199         "dEQP-GLES31.functional.image_load_sto",
200         "re.3d.format_reinterpret.rgba8_rgba8ui");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011652,
203         "dEQP-GLES31.functional.image_load_st",
204         "ore.3d.format_reinterpret.rgba8_r32ui");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011653,
207         "dEQP-GLES31.functional.image_load_sto",
208         "re.3d.format_reinterpret.rgba8_rgba8i");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011654,
211         "dEQP-GLES31.functional.image_load_st",
212         "ore.3d.format_reinterpret.rgba8_r32i");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011655,
215         "dEQP-GLES31.functional.image_load_store",
216         ".3d.format_reinterpret.rgba8_rgba8_snorm");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011656,
219         "dEQP-GLES31.functional.image_load_store",
220         ".3d.format_reinterpret.rgba8_snorm_r32f");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011657,
223         "dEQP-GLES31.functional.image_load_store.",
224         "3d.format_reinterpret.rgba8_snorm_rgba8ui");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011658,
227         "dEQP-GLES31.functional.image_load_store",
228         ".3d.format_reinterpret.rgba8_snorm_r32ui");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011659,
231         "dEQP-GLES31.functional.image_load_store.",
232         "3d.format_reinterpret.rgba8_snorm_rgba8i");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011660,
235         "dEQP-GLES31.functional.image_load_store",
236         ".3d.format_reinterpret.rgba8_snorm_r32i");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011661,
239         "dEQP-GLES31.functional.image_load_store",
240         ".3d.format_reinterpret.rgba8_snorm_rgba8");
241