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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30017TestSuite.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(ActsDeqpgles30017TestSuite, TestCase_016825,
27         "dEQP-GLES3.functional.shaders.texture_f",
28         "unctions.texture.sampler2d_fixed_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016826,
31         "dEQP-GLES3.functional.shaders.texture_fu",
32         "nctions.texture.sampler2d_fixed_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016827,
35         "dEQP-GLES3.functional.shaders.texture_f",
36         "unctions.texture.sampler2d_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016828,
39         "dEQP-GLES3.functional.shaders.texture_fu",
40         "nctions.texture.sampler2d_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016829,
43         "dEQP-GLES3.functional.shaders.textur",
44         "e_functions.texture.isampler2d_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016830,
47         "dEQP-GLES3.functional.shaders.texture",
48         "_functions.texture.isampler2d_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016831,
51         "dEQP-GLES3.functional.shaders.textur",
52         "e_functions.texture.usampler2d_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016832,
55         "dEQP-GLES3.functional.shaders.texture",
56         "_functions.texture.usampler2d_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016833,
59         "dEQP-GLES3.functional.shaders.texture_func",
60         "tions.texture.sampler2d_bias_fixed_fragment");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016834,
63         "dEQP-GLES3.functional.shaders.texture_func",
64         "tions.texture.sampler2d_bias_float_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016835,
67         "dEQP-GLES3.functional.shaders.texture_fu",
68         "nctions.texture.isampler2d_bias_fragment");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016836,
71         "dEQP-GLES3.functional.shaders.texture_fu",
72         "nctions.texture.usampler2d_bias_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016837,
75         "dEQP-GLES3.functional.shaders.texture_fu",
76         "nctions.texture.samplercube_fixed_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016838,
79         "dEQP-GLES3.functional.shaders.texture_fun",
80         "ctions.texture.samplercube_fixed_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016839,
83         "dEQP-GLES3.functional.shaders.texture_fu",
84         "nctions.texture.samplercube_float_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016840,
87         "dEQP-GLES3.functional.shaders.texture_fun",
88         "ctions.texture.samplercube_float_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016841,
91         "dEQP-GLES3.functional.shaders.texture",
92         "_functions.texture.isamplercube_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016842,
95         "dEQP-GLES3.functional.shaders.texture_",
96         "functions.texture.isamplercube_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016843,
99         "dEQP-GLES3.functional.shaders.texture",
100         "_functions.texture.usamplercube_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016844,
103         "dEQP-GLES3.functional.shaders.texture_",
104         "functions.texture.usamplercube_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016845,
107         "dEQP-GLES3.functional.shaders.texture_funct",
108         "ions.texture.samplercube_bias_fixed_fragment");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016846,
111         "dEQP-GLES3.functional.shaders.texture_funct",
112         "ions.texture.samplercube_bias_float_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016847,
115         "dEQP-GLES3.functional.shaders.texture_fun",
116         "ctions.texture.isamplercube_bias_fragment");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016848,
119         "dEQP-GLES3.functional.shaders.texture_fun",
120         "ctions.texture.usamplercube_bias_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016849,
123         "dEQP-GLES3.functional.shaders.texture_fun",
124         "ctions.texture.sampler2darray_fixed_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016850,
127         "dEQP-GLES3.functional.shaders.texture_func",
128         "tions.texture.sampler2darray_fixed_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016851,
131         "dEQP-GLES3.functional.shaders.texture_fun",
132         "ctions.texture.sampler2darray_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016852,
135         "dEQP-GLES3.functional.shaders.texture_func",
136         "tions.texture.sampler2darray_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016853,
139         "dEQP-GLES3.functional.shaders.texture_f",
140         "unctions.texture.isampler2darray_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016854,
143         "dEQP-GLES3.functional.shaders.texture_fu",
144         "nctions.texture.isampler2darray_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016855,
147         "dEQP-GLES3.functional.shaders.texture_f",
148         "unctions.texture.usampler2darray_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016856,
151         "dEQP-GLES3.functional.shaders.texture_fu",
152         "nctions.texture.usampler2darray_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016857,
155         "dEQP-GLES3.functional.shaders.texture_functio",
156         "ns.texture.sampler2darray_bias_fixed_fragment");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016858,
159         "dEQP-GLES3.functional.shaders.texture_functio",
160         "ns.texture.sampler2darray_bias_float_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016859,
163         "dEQP-GLES3.functional.shaders.texture_func",
164         "tions.texture.isampler2darray_bias_fragment");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016860,
167         "dEQP-GLES3.functional.shaders.texture_func",
168         "tions.texture.usampler2darray_bias_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016861,
171         "dEQP-GLES3.functional.shaders.texture_f",
172         "unctions.texture.sampler3d_fixed_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016862,
175         "dEQP-GLES3.functional.shaders.texture_fu",
176         "nctions.texture.sampler3d_fixed_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016863,
179         "dEQP-GLES3.functional.shaders.texture_f",
180         "unctions.texture.sampler3d_float_vertex");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016864,
183         "dEQP-GLES3.functional.shaders.texture_fu",
184         "nctions.texture.sampler3d_float_fragment");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016865,
187         "dEQP-GLES3.functional.shaders.textur",
188         "e_functions.texture.isampler3d_vertex");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016866,
191         "dEQP-GLES3.functional.shaders.texture",
192         "_functions.texture.isampler3d_fragment");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016867,
195         "dEQP-GLES3.functional.shaders.textur",
196         "e_functions.texture.usampler3d_vertex");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016868,
199         "dEQP-GLES3.functional.shaders.texture",
200         "_functions.texture.usampler3d_fragment");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016869,
203         "dEQP-GLES3.functional.shaders.texture_func",
204         "tions.texture.sampler3d_bias_fixed_fragment");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016870,
207         "dEQP-GLES3.functional.shaders.texture_func",
208         "tions.texture.sampler3d_bias_float_fragment");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016871,
211         "dEQP-GLES3.functional.shaders.texture_fu",
212         "nctions.texture.isampler3d_bias_fragment");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016872,
215         "dEQP-GLES3.functional.shaders.texture_fu",
216         "nctions.texture.usampler3d_bias_fragment");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016873,
219         "dEQP-GLES3.functional.shaders.texture_f",
220         "unctions.texture.sampler2dshadow_vertex");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016874,
223         "dEQP-GLES3.functional.shaders.texture_fu",
224         "nctions.texture.sampler2dshadow_fragment");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016875,
227         "dEQP-GLES3.functional.shaders.texture_func",
228         "tions.texture.sampler2dshadow_bias_fragment");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016876,
231         "dEQP-GLES3.functional.shaders.texture_fu",
232         "nctions.texture.samplercubeshadow_vertex");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016877,
235         "dEQP-GLES3.functional.shaders.texture_fun",
236         "ctions.texture.samplercubeshadow_fragment");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016878,
239         "dEQP-GLES3.functional.shaders.texture_funct",
240         "ions.texture.samplercubeshadow_bias_fragment");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016879,
243         "dEQP-GLES3.functional.shaders.texture_func",
244         "tions.texture.sampler2darrayshadow_fragment");
245