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
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022483,
27        "dEQP-GLES3.functional.texture.w",
28        "rap.etc1.clamp_clamp_nearest_pot");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022484,
31        "dEQP-GLES3.functional.texture.w",
32        "rap.etc1.clamp_clamp_linear_pot");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022485,
35        "dEQP-GLES3.functional.texture.wr",
36        "ap.etc1.clamp_repeat_nearest_pot");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022486,
39        "dEQP-GLES3.functional.texture.w",
40        "rap.etc1.clamp_repeat_linear_pot");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022487,
43        "dEQP-GLES3.functional.texture.wr",
44        "ap.etc1.clamp_mirror_nearest_pot");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022488,
47        "dEQP-GLES3.functional.texture.w",
48        "rap.etc1.clamp_mirror_linear_pot");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022489,
51        "dEQP-GLES3.functional.texture.wr",
52        "ap.etc1.repeat_clamp_nearest_pot");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022490,
55        "dEQP-GLES3.functional.texture.w",
56        "rap.etc1.repeat_clamp_linear_pot");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022491,
59        "dEQP-GLES3.functional.texture.wr",
60        "ap.etc1.repeat_repeat_nearest_pot");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022492,
63        "dEQP-GLES3.functional.texture.wr",
64        "ap.etc1.repeat_repeat_linear_pot");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022493,
67        "dEQP-GLES3.functional.texture.wr",
68        "ap.etc1.repeat_mirror_nearest_pot");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022494,
71        "dEQP-GLES3.functional.texture.wr",
72        "ap.etc1.repeat_mirror_linear_pot");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022495,
75        "dEQP-GLES3.functional.texture.wr",
76        "ap.etc1.mirror_clamp_nearest_pot");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022496,
79        "dEQP-GLES3.functional.texture.w",
80        "rap.etc1.mirror_clamp_linear_pot");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022497,
83        "dEQP-GLES3.functional.texture.wr",
84        "ap.etc1.mirror_repeat_nearest_pot");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022498,
87        "dEQP-GLES3.functional.texture.wr",
88        "ap.etc1.mirror_repeat_linear_pot");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022499,
91        "dEQP-GLES3.functional.texture.wr",
92        "ap.etc1.mirror_mirror_nearest_pot");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022500,
95        "dEQP-GLES3.functional.texture.wr",
96        "ap.etc1.mirror_mirror_linear_pot");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022501,
99        "dEQP-GLES3.functional.texture.wr",
100        "ap.etc1.clamp_clamp_nearest_npot");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022502,
103        "dEQP-GLES3.functional.texture.w",
104        "rap.etc1.clamp_clamp_linear_npot");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022503,
107        "dEQP-GLES3.functional.texture.wr",
108        "ap.etc1.clamp_repeat_nearest_npot");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022504,
111        "dEQP-GLES3.functional.texture.wr",
112        "ap.etc1.clamp_repeat_linear_npot");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022505,
115        "dEQP-GLES3.functional.texture.wr",
116        "ap.etc1.clamp_mirror_nearest_npot");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022506,
119        "dEQP-GLES3.functional.texture.wr",
120        "ap.etc1.clamp_mirror_linear_npot");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022507,
123        "dEQP-GLES3.functional.texture.wr",
124        "ap.etc1.repeat_clamp_nearest_npot");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022508,
127        "dEQP-GLES3.functional.texture.wr",
128        "ap.etc1.repeat_clamp_linear_npot");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022509,
131        "dEQP-GLES3.functional.texture.wra",
132        "p.etc1.repeat_repeat_nearest_npot");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022510,
135        "dEQP-GLES3.functional.texture.wr",
136        "ap.etc1.repeat_repeat_linear_npot");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022511,
139        "dEQP-GLES3.functional.texture.wra",
140        "p.etc1.repeat_mirror_nearest_npot");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022512,
143        "dEQP-GLES3.functional.texture.wr",
144        "ap.etc1.repeat_mirror_linear_npot");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022513,
147        "dEQP-GLES3.functional.texture.wr",
148        "ap.etc1.mirror_clamp_nearest_npot");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022514,
151        "dEQP-GLES3.functional.texture.wr",
152        "ap.etc1.mirror_clamp_linear_npot");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022515,
155        "dEQP-GLES3.functional.texture.wra",
156        "p.etc1.mirror_repeat_nearest_npot");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022516,
159        "dEQP-GLES3.functional.texture.wr",
160        "ap.etc1.mirror_repeat_linear_npot");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022517,
163        "dEQP-GLES3.functional.texture.wra",
164        "p.etc1.mirror_mirror_nearest_npot");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022518,
167        "dEQP-GLES3.functional.texture.wr",
168        "ap.etc1.mirror_mirror_linear_npot");
169