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_022987,
27         "dEQP-GLES3.functional.texture.wrap.a",
28         "stc_6x5.clamp_clamp_nearest_divisible");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022988,
31         "dEQP-GLES3.functional.texture.wrap.a",
32         "stc_6x5.clamp_clamp_linear_divisible");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022989,
35         "dEQP-GLES3.functional.texture.wrap.as",
36         "tc_6x5.clamp_repeat_nearest_divisible");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022990,
39         "dEQP-GLES3.functional.texture.wrap.a",
40         "stc_6x5.clamp_repeat_linear_divisible");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022991,
43         "dEQP-GLES3.functional.texture.wrap.as",
44         "tc_6x5.clamp_mirror_nearest_divisible");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022992,
47         "dEQP-GLES3.functional.texture.wrap.a",
48         "stc_6x5.clamp_mirror_linear_divisible");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022993,
51         "dEQP-GLES3.functional.texture.wrap.as",
52         "tc_6x5.repeat_clamp_nearest_divisible");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022994,
55         "dEQP-GLES3.functional.texture.wrap.a",
56         "stc_6x5.repeat_clamp_linear_divisible");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022995,
59         "dEQP-GLES3.functional.texture.wrap.as",
60         "tc_6x5.repeat_repeat_nearest_divisible");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022996,
63         "dEQP-GLES3.functional.texture.wrap.as",
64         "tc_6x5.repeat_repeat_linear_divisible");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022997,
67         "dEQP-GLES3.functional.texture.wrap.as",
68         "tc_6x5.repeat_mirror_nearest_divisible");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022998,
71         "dEQP-GLES3.functional.texture.wrap.as",
72         "tc_6x5.repeat_mirror_linear_divisible");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022999,
75         "dEQP-GLES3.functional.texture.wrap.as",
76         "tc_6x5.mirror_clamp_nearest_divisible");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023000,
79         "dEQP-GLES3.functional.texture.wrap.a",
80         "stc_6x5.mirror_clamp_linear_divisible");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023001,
83         "dEQP-GLES3.functional.texture.wrap.as",
84         "tc_6x5.mirror_repeat_nearest_divisible");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023002,
87         "dEQP-GLES3.functional.texture.wrap.as",
88         "tc_6x5.mirror_repeat_linear_divisible");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023003,
91         "dEQP-GLES3.functional.texture.wrap.as",
92         "tc_6x5.mirror_mirror_nearest_divisible");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023004,
95         "dEQP-GLES3.functional.texture.wrap.as",
96         "tc_6x5.mirror_mirror_linear_divisible");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023005,
99         "dEQP-GLES3.functional.texture.wrap.ast",
100         "c_6x5.clamp_clamp_nearest_not_divisible");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023006,
103         "dEQP-GLES3.functional.texture.wrap.ast",
104         "c_6x5.clamp_clamp_linear_not_divisible");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023007,
107         "dEQP-GLES3.functional.texture.wrap.astc",
108         "_6x5.clamp_repeat_nearest_not_divisible");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023008,
111         "dEQP-GLES3.functional.texture.wrap.ast",
112         "c_6x5.clamp_repeat_linear_not_divisible");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023009,
115         "dEQP-GLES3.functional.texture.wrap.astc",
116         "_6x5.clamp_mirror_nearest_not_divisible");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023010,
119         "dEQP-GLES3.functional.texture.wrap.ast",
120         "c_6x5.clamp_mirror_linear_not_divisible");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023011,
123         "dEQP-GLES3.functional.texture.wrap.astc",
124         "_6x5.repeat_clamp_nearest_not_divisible");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023012,
127         "dEQP-GLES3.functional.texture.wrap.ast",
128         "c_6x5.repeat_clamp_linear_not_divisible");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023013,
131         "dEQP-GLES3.functional.texture.wrap.astc",
132         "_6x5.repeat_repeat_nearest_not_divisible");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023014,
135         "dEQP-GLES3.functional.texture.wrap.astc",
136         "_6x5.repeat_repeat_linear_not_divisible");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023015,
139         "dEQP-GLES3.functional.texture.wrap.astc",
140         "_6x5.repeat_mirror_nearest_not_divisible");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023016,
143         "dEQP-GLES3.functional.texture.wrap.astc",
144         "_6x5.repeat_mirror_linear_not_divisible");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023017,
147         "dEQP-GLES3.functional.texture.wrap.astc",
148         "_6x5.mirror_clamp_nearest_not_divisible");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023018,
151         "dEQP-GLES3.functional.texture.wrap.ast",
152         "c_6x5.mirror_clamp_linear_not_divisible");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023019,
155         "dEQP-GLES3.functional.texture.wrap.astc",
156         "_6x5.mirror_repeat_nearest_not_divisible");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023020,
159         "dEQP-GLES3.functional.texture.wrap.astc",
160         "_6x5.mirror_repeat_linear_not_divisible");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023021,
163         "dEQP-GLES3.functional.texture.wrap.astc",
164         "_6x5.mirror_mirror_nearest_not_divisible");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_023022,
167         "dEQP-GLES3.functional.texture.wrap.astc",
168         "_6x5.mirror_mirror_linear_not_divisible");
169