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 "../ActsDeqpgles310005TestSuite.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(ActsDeqpgles310005TestSuite, TestCase_004414,
27         "dEQP-GLES31.functional.shaders.linkage.es31.declarations",
28         ".unspecified_precision.float_partially_specified_fragment");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004415,
31         "dEQP-GLES31.functional.shaders.linkage.es31.de",
32         "clarations.unspecified_precision.float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004416,
35         "dEQP-GLES31.functional.shaders.linkage.es31.de",
36         "clarations.unspecified_precision.vec2_fragment");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004417,
39         "dEQP-GLES31.functional.shaders.linkage.es31.de",
40         "clarations.unspecified_precision.vec3_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004418,
43         "dEQP-GLES31.functional.shaders.linkage.es31.de",
44         "clarations.unspecified_precision.vec4_fragment");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004419,
47         "dEQP-GLES31.functional.shaders.linkage.es31.dec",
48         "larations.unspecified_precision.sampler3D_vertex");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004420,
51         "dEQP-GLES31.functional.shaders.linkage.es31.decl",
52         "arations.unspecified_precision.sampler3D_fragment");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004421,
55         "dEQP-GLES31.functional.shaders.linkage.es31.declara",
56         "tions.unspecified_precision.samplerCubeShadow_vertex");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004422,
59         "dEQP-GLES31.functional.shaders.linkage.es31.declarat",
60         "ions.unspecified_precision.samplerCubeShadow_fragment");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004423,
63         "dEQP-GLES31.functional.shaders.linkage.es31.declar",
64         "ations.unspecified_precision.sampler2DShadow_vertex");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004424,
67         "dEQP-GLES31.functional.shaders.linkage.es31.declara",
68         "tions.unspecified_precision.sampler2DShadow_fragment");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004425,
71         "dEQP-GLES31.functional.shaders.linkage.es31.declar",
72         "ations.unspecified_precision.sampler2DArray_vertex");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004426,
75         "dEQP-GLES31.functional.shaders.linkage.es31.declara",
76         "tions.unspecified_precision.sampler2DArray_fragment");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004427,
79         "dEQP-GLES31.functional.shaders.linkage.es31.declarati",
80         "ons.unspecified_precision.sampler2DArrayShadow_vertex");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004428,
83         "dEQP-GLES31.functional.shaders.linkage.es31.declaratio",
84         "ns.unspecified_precision.sampler2DArrayShadow_fragment");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004429,
87         "dEQP-GLES31.functional.shaders.linkage.es31.decl",
88         "arations.unspecified_precision.isampler2D_vertex");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004430,
91         "dEQP-GLES31.functional.shaders.linkage.es31.decla",
92         "rations.unspecified_precision.isampler2D_fragment");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004431,
95         "dEQP-GLES31.functional.shaders.linkage.es31.decl",
96         "arations.unspecified_precision.isampler3D_vertex");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004432,
99         "dEQP-GLES31.functional.shaders.linkage.es31.decla",
100         "rations.unspecified_precision.isampler3D_fragment");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004433,
103         "dEQP-GLES31.functional.shaders.linkage.es31.decla",
104         "rations.unspecified_precision.isamplerCube_vertex");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004434,
107         "dEQP-GLES31.functional.shaders.linkage.es31.declar",
108         "ations.unspecified_precision.isamplerCube_fragment");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004435,
111         "dEQP-GLES31.functional.shaders.linkage.es31.declar",
112         "ations.unspecified_precision.isampler2DArray_vertex");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004436,
115         "dEQP-GLES31.functional.shaders.linkage.es31.declara",
116         "tions.unspecified_precision.isampler2DArray_fragment");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004437,
119         "dEQP-GLES31.functional.shaders.linkage.es31.decl",
120         "arations.unspecified_precision.usampler2D_vertex");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004438,
123         "dEQP-GLES31.functional.shaders.linkage.es31.decla",
124         "rations.unspecified_precision.usampler2D_fragment");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004439,
127         "dEQP-GLES31.functional.shaders.linkage.es31.decl",
128         "arations.unspecified_precision.usampler3D_vertex");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004440,
131         "dEQP-GLES31.functional.shaders.linkage.es31.decla",
132         "rations.unspecified_precision.usampler3D_fragment");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004441,
135         "dEQP-GLES31.functional.shaders.linkage.es31.decla",
136         "rations.unspecified_precision.usamplerCube_vertex");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004442,
139         "dEQP-GLES31.functional.shaders.linkage.es31.declar",
140         "ations.unspecified_precision.usamplerCube_fragment");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004443,
143         "dEQP-GLES31.functional.shaders.linkage.es31.declar",
144         "ations.unspecified_precision.usampler2DArray_vertex");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310005TestSuite, TestCase_004444,
147         "dEQP-GLES31.functional.shaders.linkage.es31.declara",
148         "tions.unspecified_precision.usampler2DArray_fragment");
149