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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20009TestSuite.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(ActsDeqpgles20009TestSuite, TestCase_008982,
27         "dEQP-GLES2.functional.shade",
28         "rs.random.swizzle.fragment.0");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008983,
31         "dEQP-GLES2.functional.shade",
32         "rs.random.swizzle.fragment.1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008984,
35         "dEQP-GLES2.functional.shade",
36         "rs.random.swizzle.fragment.2");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008985,
39         "dEQP-GLES2.functional.shade",
40         "rs.random.swizzle.fragment.3");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008986,
43         "dEQP-GLES2.functional.shade",
44         "rs.random.swizzle.fragment.4");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008987,
47         "dEQP-GLES2.functional.shade",
48         "rs.random.swizzle.fragment.5");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008988,
51         "dEQP-GLES2.functional.shade",
52         "rs.random.swizzle.fragment.6");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008989,
55         "dEQP-GLES2.functional.shade",
56         "rs.random.swizzle.fragment.7");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008990,
59         "dEQP-GLES2.functional.shade",
60         "rs.random.swizzle.fragment.8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008991,
63         "dEQP-GLES2.functional.shade",
64         "rs.random.swizzle.fragment.9");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008992,
67         "dEQP-GLES2.functional.shader",
68         "s.random.swizzle.fragment.10");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008993,
71         "dEQP-GLES2.functional.shader",
72         "s.random.swizzle.fragment.11");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008994,
75         "dEQP-GLES2.functional.shader",
76         "s.random.swizzle.fragment.12");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008995,
79         "dEQP-GLES2.functional.shader",
80         "s.random.swizzle.fragment.13");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008996,
83         "dEQP-GLES2.functional.shader",
84         "s.random.swizzle.fragment.14");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008997,
87         "dEQP-GLES2.functional.shader",
88         "s.random.swizzle.fragment.15");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008998,
91         "dEQP-GLES2.functional.shader",
92         "s.random.swizzle.fragment.16");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008999,
95         "dEQP-GLES2.functional.shader",
96         "s.random.swizzle.fragment.17");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009000,
99         "dEQP-GLES2.functional.shader",
100         "s.random.swizzle.fragment.18");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009001,
103         "dEQP-GLES2.functional.shader",
104         "s.random.swizzle.fragment.19");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009002,
107         "dEQP-GLES2.functional.shader",
108         "s.random.swizzle.fragment.20");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009003,
111         "dEQP-GLES2.functional.shader",
112         "s.random.swizzle.fragment.21");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009004,
115         "dEQP-GLES2.functional.shader",
116         "s.random.swizzle.fragment.22");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009005,
119         "dEQP-GLES2.functional.shader",
120         "s.random.swizzle.fragment.23");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009006,
123         "dEQP-GLES2.functional.shader",
124         "s.random.swizzle.fragment.24");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009007,
127         "dEQP-GLES2.functional.shader",
128         "s.random.swizzle.fragment.25");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009008,
131         "dEQP-GLES2.functional.shader",
132         "s.random.swizzle.fragment.26");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009009,
135         "dEQP-GLES2.functional.shader",
136         "s.random.swizzle.fragment.27");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009010,
139         "dEQP-GLES2.functional.shader",
140         "s.random.swizzle.fragment.28");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009011,
143         "dEQP-GLES2.functional.shader",
144         "s.random.swizzle.fragment.29");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009012,
147         "dEQP-GLES2.functional.shader",
148         "s.random.swizzle.fragment.30");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009013,
151         "dEQP-GLES2.functional.shader",
152         "s.random.swizzle.fragment.31");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009014,
155         "dEQP-GLES2.functional.shader",
156         "s.random.swizzle.fragment.32");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009015,
159         "dEQP-GLES2.functional.shader",
160         "s.random.swizzle.fragment.33");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009016,
163         "dEQP-GLES2.functional.shader",
164         "s.random.swizzle.fragment.34");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009017,
167         "dEQP-GLES2.functional.shader",
168         "s.random.swizzle.fragment.35");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009018,
171         "dEQP-GLES2.functional.shader",
172         "s.random.swizzle.fragment.36");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009019,
175         "dEQP-GLES2.functional.shader",
176         "s.random.swizzle.fragment.37");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009020,
179         "dEQP-GLES2.functional.shader",
180         "s.random.swizzle.fragment.38");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009021,
183         "dEQP-GLES2.functional.shader",
184         "s.random.swizzle.fragment.39");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009022,
187         "dEQP-GLES2.functional.shader",
188         "s.random.swizzle.fragment.40");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009023,
191         "dEQP-GLES2.functional.shader",
192         "s.random.swizzle.fragment.41");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009024,
195         "dEQP-GLES2.functional.shader",
196         "s.random.swizzle.fragment.42");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009025,
199         "dEQP-GLES2.functional.shader",
200         "s.random.swizzle.fragment.43");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009026,
203         "dEQP-GLES2.functional.shader",
204         "s.random.swizzle.fragment.44");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009027,
207         "dEQP-GLES2.functional.shader",
208         "s.random.swizzle.fragment.45");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009028,
211         "dEQP-GLES2.functional.shader",
212         "s.random.swizzle.fragment.46");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009029,
215         "dEQP-GLES2.functional.shader",
216         "s.random.swizzle.fragment.47");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009030,
219         "dEQP-GLES2.functional.shader",
220         "s.random.swizzle.fragment.48");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009031,
223         "dEQP-GLES2.functional.shader",
224         "s.random.swizzle.fragment.49");
225