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 "../ActsDeqpgles20003TestSuite.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(ActsDeqpgles20003TestSuite, TestCase_002803,
27         "dEQP-GLES2.functional.shaders.indexing",
28         ".uniform_array.float_static_read_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002804,
31         "dEQP-GLES2.functional.shaders.indexing.",
32         "uniform_array.float_static_read_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002805,
35         "dEQP-GLES2.functional.shaders.indexing.",
36         "uniform_array.float_dynamic_read_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002806,
39         "dEQP-GLES2.functional.shaders.indexing.u",
40         "niform_array.float_dynamic_read_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002807,
43         "dEQP-GLES2.functional.shaders.indexing.un",
44         "iform_array.float_static_loop_read_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002808,
47         "dEQP-GLES2.functional.shaders.indexing.uni",
48         "form_array.float_static_loop_read_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002809,
51         "dEQP-GLES2.functional.shaders.indexing.un",
52         "iform_array.float_dynamic_loop_read_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002810,
55         "dEQP-GLES2.functional.shaders.indexing.uni",
56         "form_array.float_dynamic_loop_read_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002811,
59         "dEQP-GLES2.functional.shaders.indexing",
60         ".uniform_array.vec2_static_read_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002812,
63         "dEQP-GLES2.functional.shaders.indexing.",
64         "uniform_array.vec2_static_read_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002813,
67         "dEQP-GLES2.functional.shaders.indexing",
68         ".uniform_array.vec2_dynamic_read_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002814,
71         "dEQP-GLES2.functional.shaders.indexing.",
72         "uniform_array.vec2_dynamic_read_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002815,
75         "dEQP-GLES2.functional.shaders.indexing.u",
76         "niform_array.vec2_static_loop_read_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002816,
79         "dEQP-GLES2.functional.shaders.indexing.un",
80         "iform_array.vec2_static_loop_read_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002817,
83         "dEQP-GLES2.functional.shaders.indexing.un",
84         "iform_array.vec2_dynamic_loop_read_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002818,
87         "dEQP-GLES2.functional.shaders.indexing.uni",
88         "form_array.vec2_dynamic_loop_read_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002819,
91         "dEQP-GLES2.functional.shaders.indexing",
92         ".uniform_array.vec3_static_read_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002820,
95         "dEQP-GLES2.functional.shaders.indexing.",
96         "uniform_array.vec3_static_read_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002821,
99         "dEQP-GLES2.functional.shaders.indexing",
100         ".uniform_array.vec3_dynamic_read_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002822,
103         "dEQP-GLES2.functional.shaders.indexing.",
104         "uniform_array.vec3_dynamic_read_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002823,
107         "dEQP-GLES2.functional.shaders.indexing.u",
108         "niform_array.vec3_static_loop_read_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002824,
111         "dEQP-GLES2.functional.shaders.indexing.un",
112         "iform_array.vec3_static_loop_read_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002825,
115         "dEQP-GLES2.functional.shaders.indexing.un",
116         "iform_array.vec3_dynamic_loop_read_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002826,
119         "dEQP-GLES2.functional.shaders.indexing.uni",
120         "form_array.vec3_dynamic_loop_read_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002827,
123         "dEQP-GLES2.functional.shaders.indexing",
124         ".uniform_array.vec4_static_read_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002828,
127         "dEQP-GLES2.functional.shaders.indexing.",
128         "uniform_array.vec4_static_read_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002829,
131         "dEQP-GLES2.functional.shaders.indexing",
132         ".uniform_array.vec4_dynamic_read_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002830,
135         "dEQP-GLES2.functional.shaders.indexing.",
136         "uniform_array.vec4_dynamic_read_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002831,
139         "dEQP-GLES2.functional.shaders.indexing.u",
140         "niform_array.vec4_static_loop_read_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002832,
143         "dEQP-GLES2.functional.shaders.indexing.un",
144         "iform_array.vec4_static_loop_read_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002833,
147         "dEQP-GLES2.functional.shaders.indexing.un",
148         "iform_array.vec4_dynamic_loop_read_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002834,
151         "dEQP-GLES2.functional.shaders.indexing.uni",
152         "form_array.vec4_dynamic_loop_read_fragment");
153