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 "../ActsDeqpgles30023TestSuite.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(ActsDeqpgles30023TestSuite, TestCase_022555,
27         "dEQP-GLES3.functional.texture.wrap.e",
28         "ac_signed_r11.clamp_clamp_nearest_pot");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022556,
31         "dEQP-GLES3.functional.texture.wrap.e",
32         "ac_signed_r11.clamp_clamp_linear_pot");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022557,
35         "dEQP-GLES3.functional.texture.wrap.ea",
36         "c_signed_r11.clamp_repeat_nearest_pot");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022558,
39         "dEQP-GLES3.functional.texture.wrap.e",
40         "ac_signed_r11.clamp_repeat_linear_pot");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022559,
43         "dEQP-GLES3.functional.texture.wrap.ea",
44         "c_signed_r11.clamp_mirror_nearest_pot");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022560,
47         "dEQP-GLES3.functional.texture.wrap.e",
48         "ac_signed_r11.clamp_mirror_linear_pot");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022561,
51         "dEQP-GLES3.functional.texture.wrap.ea",
52         "c_signed_r11.repeat_clamp_nearest_pot");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022562,
55         "dEQP-GLES3.functional.texture.wrap.e",
56         "ac_signed_r11.repeat_clamp_linear_pot");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022563,
59         "dEQP-GLES3.functional.texture.wrap.ea",
60         "c_signed_r11.repeat_repeat_nearest_pot");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022564,
63         "dEQP-GLES3.functional.texture.wrap.ea",
64         "c_signed_r11.repeat_repeat_linear_pot");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022565,
67         "dEQP-GLES3.functional.texture.wrap.ea",
68         "c_signed_r11.repeat_mirror_nearest_pot");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022566,
71         "dEQP-GLES3.functional.texture.wrap.ea",
72         "c_signed_r11.repeat_mirror_linear_pot");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022567,
75         "dEQP-GLES3.functional.texture.wrap.ea",
76         "c_signed_r11.mirror_clamp_nearest_pot");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022568,
79         "dEQP-GLES3.functional.texture.wrap.e",
80         "ac_signed_r11.mirror_clamp_linear_pot");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022569,
83         "dEQP-GLES3.functional.texture.wrap.ea",
84         "c_signed_r11.mirror_repeat_nearest_pot");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022570,
87         "dEQP-GLES3.functional.texture.wrap.ea",
88         "c_signed_r11.mirror_repeat_linear_pot");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022571,
91         "dEQP-GLES3.functional.texture.wrap.ea",
92         "c_signed_r11.mirror_mirror_nearest_pot");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022572,
95         "dEQP-GLES3.functional.texture.wrap.ea",
96         "c_signed_r11.mirror_mirror_linear_pot");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022573,
99         "dEQP-GLES3.functional.texture.wrap.ea",
100         "c_signed_r11.clamp_clamp_nearest_npot");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022574,
103         "dEQP-GLES3.functional.texture.wrap.e",
104         "ac_signed_r11.clamp_clamp_linear_npot");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022575,
107         "dEQP-GLES3.functional.texture.wrap.ea",
108         "c_signed_r11.clamp_repeat_nearest_npot");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022576,
111         "dEQP-GLES3.functional.texture.wrap.ea",
112         "c_signed_r11.clamp_repeat_linear_npot");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022577,
115         "dEQP-GLES3.functional.texture.wrap.ea",
116         "c_signed_r11.clamp_mirror_nearest_npot");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022578,
119         "dEQP-GLES3.functional.texture.wrap.ea",
120         "c_signed_r11.clamp_mirror_linear_npot");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022579,
123         "dEQP-GLES3.functional.texture.wrap.ea",
124         "c_signed_r11.repeat_clamp_nearest_npot");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022580,
127         "dEQP-GLES3.functional.texture.wrap.ea",
128         "c_signed_r11.repeat_clamp_linear_npot");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022581,
131         "dEQP-GLES3.functional.texture.wrap.eac",
132         "_signed_r11.repeat_repeat_nearest_npot");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022582,
135         "dEQP-GLES3.functional.texture.wrap.ea",
136         "c_signed_r11.repeat_repeat_linear_npot");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022583,
139         "dEQP-GLES3.functional.texture.wrap.eac",
140         "_signed_r11.repeat_mirror_nearest_npot");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022584,
143         "dEQP-GLES3.functional.texture.wrap.ea",
144         "c_signed_r11.repeat_mirror_linear_npot");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022585,
147         "dEQP-GLES3.functional.texture.wrap.ea",
148         "c_signed_r11.mirror_clamp_nearest_npot");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022586,
151         "dEQP-GLES3.functional.texture.wrap.ea",
152         "c_signed_r11.mirror_clamp_linear_npot");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022587,
155         "dEQP-GLES3.functional.texture.wrap.eac",
156         "_signed_r11.mirror_repeat_nearest_npot");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022588,
159         "dEQP-GLES3.functional.texture.wrap.ea",
160         "c_signed_r11.mirror_repeat_linear_npot");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022589,
163         "dEQP-GLES3.functional.texture.wrap.eac",
164         "_signed_r11.mirror_mirror_nearest_npot");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022590,
167         "dEQP-GLES3.functional.texture.wrap.ea",
168         "c_signed_r11.mirror_mirror_linear_npot");
169