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 "../ActsDeqpgles20008TestSuite.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(ActsDeqpgles20008TestSuite, TestCase_007746,
27         "dEQP-GLES2.functional.shader",
28         "s.struct.uniform.basic_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007747,
31         "dEQP-GLES2.functional.shaders",
32         ".struct.uniform.basic_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007748,
35         "dEQP-GLES2.functional.shaders",
36         ".struct.uniform.nested_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007749,
39         "dEQP-GLES2.functional.shaders.",
40         "struct.uniform.nested_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007750,
43         "dEQP-GLES2.functional.shaders.st",
44         "ruct.uniform.array_member_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007751,
47         "dEQP-GLES2.functional.shaders.str",
48         "uct.uniform.array_member_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007752,
51         "dEQP-GLES2.functional.shaders.struct.un",
52         "iform.array_member_dynamic_index_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007753,
55         "dEQP-GLES2.functional.shaders.struct.uni",
56         "form.array_member_dynamic_index_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007754,
59         "dEQP-GLES2.functional.shaders.st",
60         "ruct.uniform.struct_array_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007755,
63         "dEQP-GLES2.functional.shaders.str",
64         "uct.uniform.struct_array_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007756,
67         "dEQP-GLES2.functional.shaders.struct.un",
68         "iform.struct_array_dynamic_index_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007757,
71         "dEQP-GLES2.functional.shaders.struct.uni",
72         "form.struct_array_dynamic_index_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007758,
75         "dEQP-GLES2.functional.shaders.struc",
76         "t.uniform.nested_struct_array_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007759,
79         "dEQP-GLES2.functional.shaders.struct",
80         ".uniform.nested_struct_array_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007760,
83         "dEQP-GLES2.functional.shaders.struct.unifo",
84         "rm.nested_struct_array_dynamic_index_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007761,
87         "dEQP-GLES2.functional.shaders.struct.unifor",
88         "m.nested_struct_array_dynamic_index_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007762,
91         "dEQP-GLES2.functional.shaders.stru",
92         "ct.uniform.loop_struct_array_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007763,
95         "dEQP-GLES2.functional.shaders.struc",
96         "t.uniform.loop_struct_array_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007764,
99         "dEQP-GLES2.functional.shaders.struct.u",
100         "niform.loop_nested_struct_array_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007765,
103         "dEQP-GLES2.functional.shaders.struct.un",
104         "iform.loop_nested_struct_array_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007766,
107         "dEQP-GLES2.functional.shaders.struct.u",
108         "niform.dynamic_loop_struct_array_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007767,
111         "dEQP-GLES2.functional.shaders.struct.un",
112         "iform.dynamic_loop_struct_array_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007768,
115         "dEQP-GLES2.functional.shaders.struct.unifo",
116         "rm.dynamic_loop_nested_struct_array_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007769,
119         "dEQP-GLES2.functional.shaders.struct.unifor",
120         "m.dynamic_loop_nested_struct_array_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007770,
123         "dEQP-GLES2.functional.shaders",
124         ".struct.uniform.sampler_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007771,
127         "dEQP-GLES2.functional.shaders.",
128         "struct.uniform.sampler_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007772,
131         "dEQP-GLES2.functional.shaders.str",
132         "uct.uniform.sampler_nested_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007773,
135         "dEQP-GLES2.functional.shaders.stru",
136         "ct.uniform.sampler_nested_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007774,
139         "dEQP-GLES2.functional.shaders.st",
140         "ruct.uniform.sampler_array_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007775,
143         "dEQP-GLES2.functional.shaders.str",
144         "uct.uniform.sampler_array_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007776,
147         "dEQP-GLES2.functional.shaders.struct.",
148         "uniform.sampler_in_function_arg_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007777,
151         "dEQP-GLES2.functional.shaders.struct.u",
152         "niform.sampler_in_function_arg_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007778,
155         "dEQP-GLES2.functional.shaders.struct.uni",
156         "form.sampler_in_array_function_arg_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007779,
159         "dEQP-GLES2.functional.shaders.struct.unif",
160         "orm.sampler_in_array_function_arg_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007780,
163         "dEQP-GLES2.functional.shader",
164         "s.struct.uniform.equal_vertex");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007781,
167         "dEQP-GLES2.functional.shaders",
168         ".struct.uniform.equal_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007782,
171         "dEQP-GLES2.functional.shaders.",
172         "struct.uniform.not_equal_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007783,
175         "dEQP-GLES2.functional.shaders.s",
176         "truct.uniform.not_equal_fragment");
177