1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include <climits>
17f6603c60Sopenharmony_ci#include <gtest/gtest.h>
18f6603c60Sopenharmony_ci#include "../Deqpgles2BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles20009TestSuite.h"
20f6603c60Sopenharmony_ci#include "shrinkdefine.h"
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ciusing namespace std;
23f6603c60Sopenharmony_ciusing namespace testing::ext;
24f6603c60Sopenharmony_ciusing namespace OHOS;
25f6603c60Sopenharmony_ci
26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008982,
27f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
28f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.0");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008983,
31f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
32f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.1");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008984,
35f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
36f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.2");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008985,
39f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
40f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.3");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008986,
43f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
44f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.4");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008987,
47f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
48f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.5");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008988,
51f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
52f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.6");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008989,
55f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
56f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.7");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008990,
59f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
60f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.8");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008991,
63f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shade",
64f6603c60Sopenharmony_ci        "rs.random.swizzle.fragment.9");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008992,
67f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
68f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.10");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008993,
71f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
72f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.11");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008994,
75f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
76f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.12");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008995,
79f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
80f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.13");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008996,
83f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
84f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.14");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008997,
87f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
88f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.15");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008998,
91f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
92f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.16");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008999,
95f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
96f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.17");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009000,
99f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
100f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.18");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009001,
103f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
104f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.19");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009002,
107f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
108f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.20");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009003,
111f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
112f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.21");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009004,
115f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
116f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.22");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009005,
119f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
120f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.23");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009006,
123f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
124f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.24");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009007,
127f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
128f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.25");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009008,
131f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
132f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.26");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009009,
135f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
136f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.27");
137f6603c60Sopenharmony_ci
138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009010,
139f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
140f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.28");
141f6603c60Sopenharmony_ci
142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009011,
143f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
144f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.29");
145f6603c60Sopenharmony_ci
146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009012,
147f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
148f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.30");
149f6603c60Sopenharmony_ci
150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009013,
151f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
152f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.31");
153f6603c60Sopenharmony_ci
154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009014,
155f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
156f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.32");
157f6603c60Sopenharmony_ci
158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009015,
159f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
160f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.33");
161f6603c60Sopenharmony_ci
162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009016,
163f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
164f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.34");
165f6603c60Sopenharmony_ci
166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009017,
167f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
168f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.35");
169f6603c60Sopenharmony_ci
170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009018,
171f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
172f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.36");
173f6603c60Sopenharmony_ci
174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009019,
175f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
176f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.37");
177f6603c60Sopenharmony_ci
178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009020,
179f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
180f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.38");
181f6603c60Sopenharmony_ci
182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009021,
183f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
184f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.39");
185f6603c60Sopenharmony_ci
186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009022,
187f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
188f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.40");
189f6603c60Sopenharmony_ci
190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009023,
191f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
192f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.41");
193f6603c60Sopenharmony_ci
194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009024,
195f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
196f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.42");
197f6603c60Sopenharmony_ci
198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009025,
199f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
200f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.43");
201f6603c60Sopenharmony_ci
202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009026,
203f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
204f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.44");
205f6603c60Sopenharmony_ci
206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009027,
207f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
208f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.45");
209f6603c60Sopenharmony_ci
210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009028,
211f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
212f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.46");
213f6603c60Sopenharmony_ci
214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009029,
215f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
216f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.47");
217f6603c60Sopenharmony_ci
218f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009030,
219f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
220f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.48");
221f6603c60Sopenharmony_ci
222f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009031,
223f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.shader",
224f6603c60Sopenharmony_ci        "s.random.swizzle.fragment.49");
225