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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310023TestSuite.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(ActsDeqpgles310023TestSuite, TestCase_022040,
27         "dEQP-GLES31.functional.program_interface_query.p",
28         "rogram_input.type.separable_fragment.struct.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022041,
31         "dEQP-GLES31.functional.program_interface_query.",
32         "program_input.type.separable_fragment.struct.int");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022042,
35         "dEQP-GLES31.functional.program_interface_query.p",
36         "rogram_input.type.separable_fragment.struct.uint");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022043,
39         "dEQP-GLES31.functional.program_interface_query.p",
40         "rogram_input.type.separable_fragment.struct.vec2");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022044,
43         "dEQP-GLES31.functional.program_interface_query.p",
44         "rogram_input.type.separable_fragment.struct.vec3");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022045,
47         "dEQP-GLES31.functional.program_interface_query.p",
48         "rogram_input.type.separable_fragment.struct.vec4");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022046,
51         "dEQP-GLES31.functional.program_interface_query.p",
52         "rogram_input.type.separable_fragment.struct.ivec2");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022047,
55         "dEQP-GLES31.functional.program_interface_query.p",
56         "rogram_input.type.separable_fragment.struct.ivec3");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022048,
59         "dEQP-GLES31.functional.program_interface_query.p",
60         "rogram_input.type.separable_fragment.struct.ivec4");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022049,
63         "dEQP-GLES31.functional.program_interface_query.p",
64         "rogram_input.type.separable_fragment.struct.uvec2");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022050,
67         "dEQP-GLES31.functional.program_interface_query.p",
68         "rogram_input.type.separable_fragment.struct.uvec3");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022051,
71         "dEQP-GLES31.functional.program_interface_query.p",
72         "rogram_input.type.separable_fragment.struct.uvec4");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022052,
75         "dEQP-GLES31.functional.program_interface_query.p",
76         "rogram_input.type.separable_fragment.struct.mat2");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022053,
79         "dEQP-GLES31.functional.program_interface_query.pr",
80         "ogram_input.type.separable_fragment.struct.mat2x3");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022054,
83         "dEQP-GLES31.functional.program_interface_query.pr",
84         "ogram_input.type.separable_fragment.struct.mat2x4");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022055,
87         "dEQP-GLES31.functional.program_interface_query.pr",
88         "ogram_input.type.separable_fragment.struct.mat3x2");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022056,
91         "dEQP-GLES31.functional.program_interface_query.p",
92         "rogram_input.type.separable_fragment.struct.mat3");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022057,
95         "dEQP-GLES31.functional.program_interface_query.pr",
96         "ogram_input.type.separable_fragment.struct.mat3x4");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022058,
99         "dEQP-GLES31.functional.program_interface_query.pr",
100         "ogram_input.type.separable_fragment.struct.mat4x2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022059,
103         "dEQP-GLES31.functional.program_interface_query.pr",
104         "ogram_input.type.separable_fragment.struct.mat4x3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022060,
107         "dEQP-GLES31.functional.program_interface_query.p",
108         "rogram_input.type.separable_fragment.struct.mat4");
109