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 "../ActsDeqpgles30007TestSuite.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(ActsDeqpgles30007TestSuite, TestCase_006015,
27         "dEQP-GLES3.functional.shaders.indexing",
28         ".uniform_array.float_static_read_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006016,
31         "dEQP-GLES3.functional.shaders.indexing.",
32         "uniform_array.float_static_read_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006017,
35         "dEQP-GLES3.functional.shaders.indexing.",
36         "uniform_array.float_dynamic_read_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006018,
39         "dEQP-GLES3.functional.shaders.indexing.u",
40         "niform_array.float_dynamic_read_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006019,
43         "dEQP-GLES3.functional.shaders.indexing.un",
44         "iform_array.float_static_loop_read_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006020,
47         "dEQP-GLES3.functional.shaders.indexing.uni",
48         "form_array.float_static_loop_read_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006021,
51         "dEQP-GLES3.functional.shaders.indexing.un",
52         "iform_array.float_dynamic_loop_read_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006022,
55         "dEQP-GLES3.functional.shaders.indexing.uni",
56         "form_array.float_dynamic_loop_read_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006023,
59         "dEQP-GLES3.functional.shaders.indexing",
60         ".uniform_array.vec2_static_read_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006024,
63         "dEQP-GLES3.functional.shaders.indexing.",
64         "uniform_array.vec2_static_read_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006025,
67         "dEQP-GLES3.functional.shaders.indexing",
68         ".uniform_array.vec2_dynamic_read_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006026,
71         "dEQP-GLES3.functional.shaders.indexing.",
72         "uniform_array.vec2_dynamic_read_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006027,
75         "dEQP-GLES3.functional.shaders.indexing.u",
76         "niform_array.vec2_static_loop_read_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006028,
79         "dEQP-GLES3.functional.shaders.indexing.un",
80         "iform_array.vec2_static_loop_read_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006029,
83         "dEQP-GLES3.functional.shaders.indexing.un",
84         "iform_array.vec2_dynamic_loop_read_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006030,
87         "dEQP-GLES3.functional.shaders.indexing.uni",
88         "form_array.vec2_dynamic_loop_read_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006031,
91         "dEQP-GLES3.functional.shaders.indexing",
92         ".uniform_array.vec3_static_read_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006032,
95         "dEQP-GLES3.functional.shaders.indexing.",
96         "uniform_array.vec3_static_read_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006033,
99         "dEQP-GLES3.functional.shaders.indexing",
100         ".uniform_array.vec3_dynamic_read_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006034,
103         "dEQP-GLES3.functional.shaders.indexing.",
104         "uniform_array.vec3_dynamic_read_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006035,
107         "dEQP-GLES3.functional.shaders.indexing.u",
108         "niform_array.vec3_static_loop_read_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006036,
111         "dEQP-GLES3.functional.shaders.indexing.un",
112         "iform_array.vec3_static_loop_read_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006037,
115         "dEQP-GLES3.functional.shaders.indexing.un",
116         "iform_array.vec3_dynamic_loop_read_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006038,
119         "dEQP-GLES3.functional.shaders.indexing.uni",
120         "form_array.vec3_dynamic_loop_read_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006039,
123         "dEQP-GLES3.functional.shaders.indexing",
124         ".uniform_array.vec4_static_read_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006040,
127         "dEQP-GLES3.functional.shaders.indexing.",
128         "uniform_array.vec4_static_read_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006041,
131         "dEQP-GLES3.functional.shaders.indexing",
132         ".uniform_array.vec4_dynamic_read_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006042,
135         "dEQP-GLES3.functional.shaders.indexing.",
136         "uniform_array.vec4_dynamic_read_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006043,
139         "dEQP-GLES3.functional.shaders.indexing.u",
140         "niform_array.vec4_static_loop_read_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006044,
143         "dEQP-GLES3.functional.shaders.indexing.un",
144         "iform_array.vec4_static_loop_read_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006045,
147         "dEQP-GLES3.functional.shaders.indexing.un",
148         "iform_array.vec4_dynamic_loop_read_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006046,
151         "dEQP-GLES3.functional.shaders.indexing.uni",
152         "form_array.vec4_dynamic_loop_read_fragment");
153