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 "../ActsDeqpgles30005TestSuite.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(ActsDeqpgles30005TestSuite, TestCase_004185,
27         "dEQP-GLES3.functional.shaders.function",
28         "s.array_arguments.local_in_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004186,
31         "dEQP-GLES3.functional.shaders.functions",
32         ".array_arguments.local_in_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004187,
35         "dEQP-GLES3.functional.shaders.functions",
36         ".array_arguments.global_in_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004188,
39         "dEQP-GLES3.functional.shaders.functions.",
40         "array_arguments.global_in_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004189,
43         "dEQP-GLES3.functional.shaders.functio",
44         "ns.array_arguments.local_in_int_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004190,
47         "dEQP-GLES3.functional.shaders.function",
48         "s.array_arguments.local_in_int_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004191,
51         "dEQP-GLES3.functional.shaders.function",
52         "s.array_arguments.global_in_int_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004192,
55         "dEQP-GLES3.functional.shaders.functions",
56         ".array_arguments.global_in_int_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004193,
59         "dEQP-GLES3.functional.shaders.function",
60         "s.array_arguments.local_in_bool_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004194,
63         "dEQP-GLES3.functional.shaders.functions",
64         ".array_arguments.local_in_bool_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004195,
67         "dEQP-GLES3.functional.shaders.function",
68         "s.array_arguments.global_in_bool_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004196,
71         "dEQP-GLES3.functional.shaders.functions",
72         ".array_arguments.global_in_bool_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004197,
75         "dEQP-GLES3.functional.shaders.functio",
76         "ns.array_arguments.test_helpers_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004198,
79         "dEQP-GLES3.functional.shaders.function",
80         "s.array_arguments.test_helpers_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004199,
83         "dEQP-GLES3.functional.shaders.functions.ar",
84         "ray_arguments.copy_local_in_on_call_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004200,
87         "dEQP-GLES3.functional.shaders.functions.arr",
88         "ay_arguments.copy_local_in_on_call_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004201,
91         "dEQP-GLES3.functional.shaders.functions.ar",
92         "ray_arguments.copy_global_in_on_call_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004202,
95         "dEQP-GLES3.functional.shaders.functions.arr",
96         "ay_arguments.copy_global_in_on_call_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004203,
99         "dEQP-GLES3.functional.shaders.functions.arr",
100         "ay_arguments.copy_local_inout_on_call_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004204,
103         "dEQP-GLES3.functional.shaders.functions.arra",
104         "y_arguments.copy_local_inout_on_call_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004205,
107         "dEQP-GLES3.functional.shaders.functions.arra",
108         "y_arguments.copy_global_inout_on_call_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004206,
111         "dEQP-GLES3.functional.shaders.functions.array",
112         "_arguments.copy_global_inout_on_call_fragment");
113