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 "../ActsDeqpgles30017TestSuite.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(ActsDeqpgles30017TestSuite, TestCase_016914,
27         "dEQP-GLES3.functional.shaders.texture_funct",
28         "ions.textureproj.sampler2d_vec3_fixed_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016915,
31         "dEQP-GLES3.functional.shaders.texture_functi",
32         "ons.textureproj.sampler2d_vec3_fixed_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016916,
35         "dEQP-GLES3.functional.shaders.texture_funct",
36         "ions.textureproj.sampler2d_vec3_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016917,
39         "dEQP-GLES3.functional.shaders.texture_functi",
40         "ons.textureproj.sampler2d_vec3_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016918,
43         "dEQP-GLES3.functional.shaders.texture_fun",
44         "ctions.textureproj.isampler2d_vec3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016919,
47         "dEQP-GLES3.functional.shaders.texture_func",
48         "tions.textureproj.isampler2d_vec3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016920,
51         "dEQP-GLES3.functional.shaders.texture_fun",
52         "ctions.textureproj.usampler2d_vec3_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016921,
55         "dEQP-GLES3.functional.shaders.texture_func",
56         "tions.textureproj.usampler2d_vec3_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016922,
59         "dEQP-GLES3.functional.shaders.texture_functions",
60         ".textureproj.sampler2d_vec3_bias_fixed_fragment");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016923,
63         "dEQP-GLES3.functional.shaders.texture_functions",
64         ".textureproj.sampler2d_vec3_bias_float_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016924,
67         "dEQP-GLES3.functional.shaders.texture_functi",
68         "ons.textureproj.isampler2d_vec3_bias_fragment");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016925,
71         "dEQP-GLES3.functional.shaders.texture_functi",
72         "ons.textureproj.usampler2d_vec3_bias_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016926,
75         "dEQP-GLES3.functional.shaders.texture_funct",
76         "ions.textureproj.sampler2d_vec4_fixed_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016927,
79         "dEQP-GLES3.functional.shaders.texture_functi",
80         "ons.textureproj.sampler2d_vec4_fixed_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016928,
83         "dEQP-GLES3.functional.shaders.texture_funct",
84         "ions.textureproj.sampler2d_vec4_float_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016929,
87         "dEQP-GLES3.functional.shaders.texture_functi",
88         "ons.textureproj.sampler2d_vec4_float_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016930,
91         "dEQP-GLES3.functional.shaders.texture_fun",
92         "ctions.textureproj.isampler2d_vec4_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016931,
95         "dEQP-GLES3.functional.shaders.texture_func",
96         "tions.textureproj.isampler2d_vec4_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016932,
99         "dEQP-GLES3.functional.shaders.texture_fun",
100         "ctions.textureproj.usampler2d_vec4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016933,
103         "dEQP-GLES3.functional.shaders.texture_func",
104         "tions.textureproj.usampler2d_vec4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016934,
107         "dEQP-GLES3.functional.shaders.texture_functions",
108         ".textureproj.sampler2d_vec4_bias_fixed_fragment");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016935,
111         "dEQP-GLES3.functional.shaders.texture_functions",
112         ".textureproj.sampler2d_vec4_bias_float_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016936,
115         "dEQP-GLES3.functional.shaders.texture_functi",
116         "ons.textureproj.isampler2d_vec4_bias_fragment");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016937,
119         "dEQP-GLES3.functional.shaders.texture_functi",
120         "ons.textureproj.usampler2d_vec4_bias_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016938,
123         "dEQP-GLES3.functional.shaders.texture_fun",
124         "ctions.textureproj.sampler3d_fixed_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016939,
127         "dEQP-GLES3.functional.shaders.texture_func",
128         "tions.textureproj.sampler3d_fixed_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016940,
131         "dEQP-GLES3.functional.shaders.texture_fun",
132         "ctions.textureproj.sampler3d_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016941,
135         "dEQP-GLES3.functional.shaders.texture_func",
136         "tions.textureproj.sampler3d_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016942,
139         "dEQP-GLES3.functional.shaders.texture_",
140         "functions.textureproj.isampler3d_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016943,
143         "dEQP-GLES3.functional.shaders.texture_f",
144         "unctions.textureproj.isampler3d_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016944,
147         "dEQP-GLES3.functional.shaders.texture_",
148         "functions.textureproj.usampler3d_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016945,
151         "dEQP-GLES3.functional.shaders.texture_f",
152         "unctions.textureproj.usampler3d_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016946,
155         "dEQP-GLES3.functional.shaders.texture_functi",
156         "ons.textureproj.sampler3d_bias_fixed_fragment");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016947,
159         "dEQP-GLES3.functional.shaders.texture_functi",
160         "ons.textureproj.sampler3d_bias_float_fragment");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016948,
163         "dEQP-GLES3.functional.shaders.texture_func",
164         "tions.textureproj.isampler3d_bias_fragment");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016949,
167         "dEQP-GLES3.functional.shaders.texture_func",
168         "tions.textureproj.usampler3d_bias_fragment");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016950,
171         "dEQP-GLES3.functional.shaders.texture_fun",
172         "ctions.textureproj.sampler2dshadow_vertex");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016951,
175         "dEQP-GLES3.functional.shaders.texture_func",
176         "tions.textureproj.sampler2dshadow_fragment");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016952,
179         "dEQP-GLES3.functional.shaders.texture_functi",
180         "ons.textureproj.sampler2dshadow_bias_fragment");
181