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 "../ActsDeqpgles30018TestSuite.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(ActsDeqpgles30018TestSuite, TestCase_017179,
27         "dEQP-GLES3.functional.shaders.texture_functions.",
28         "textureprojgradoffset.sampler2d_vec3_fixed_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017180,
31         "dEQP-GLES3.functional.shaders.texture_functions.t",
32         "extureprojgradoffset.sampler2d_vec3_fixed_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017181,
35         "dEQP-GLES3.functional.shaders.texture_functions.",
36         "textureprojgradoffset.sampler2d_vec3_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017182,
39         "dEQP-GLES3.functional.shaders.texture_functions.t",
40         "extureprojgradoffset.sampler2d_vec3_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017183,
43         "dEQP-GLES3.functional.shaders.texture_function",
44         "s.textureprojgradoffset.isampler2d_vec3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017184,
47         "dEQP-GLES3.functional.shaders.texture_functions",
48         ".textureprojgradoffset.isampler2d_vec3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017185,
51         "dEQP-GLES3.functional.shaders.texture_function",
52         "s.textureprojgradoffset.usampler2d_vec3_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017186,
55         "dEQP-GLES3.functional.shaders.texture_functions",
56         ".textureprojgradoffset.usampler2d_vec3_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017187,
59         "dEQP-GLES3.functional.shaders.texture_functions.",
60         "textureprojgradoffset.sampler2d_vec4_fixed_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017188,
63         "dEQP-GLES3.functional.shaders.texture_functions.t",
64         "extureprojgradoffset.sampler2d_vec4_fixed_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017189,
67         "dEQP-GLES3.functional.shaders.texture_functions.",
68         "textureprojgradoffset.sampler2d_vec4_float_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017190,
71         "dEQP-GLES3.functional.shaders.texture_functions.t",
72         "extureprojgradoffset.sampler2d_vec4_float_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017191,
75         "dEQP-GLES3.functional.shaders.texture_function",
76         "s.textureprojgradoffset.isampler2d_vec4_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017192,
79         "dEQP-GLES3.functional.shaders.texture_functions",
80         ".textureprojgradoffset.isampler2d_vec4_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017193,
83         "dEQP-GLES3.functional.shaders.texture_function",
84         "s.textureprojgradoffset.usampler2d_vec4_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017194,
87         "dEQP-GLES3.functional.shaders.texture_functions",
88         ".textureprojgradoffset.usampler2d_vec4_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017195,
91         "dEQP-GLES3.functional.shaders.texture_function",
92         "s.textureprojgradoffset.sampler3d_fixed_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017196,
95         "dEQP-GLES3.functional.shaders.texture_functions",
96         ".textureprojgradoffset.sampler3d_fixed_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017197,
99         "dEQP-GLES3.functional.shaders.texture_function",
100         "s.textureprojgradoffset.sampler3d_float_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017198,
103         "dEQP-GLES3.functional.shaders.texture_functions",
104         ".textureprojgradoffset.sampler3d_float_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017199,
107         "dEQP-GLES3.functional.shaders.texture_funct",
108         "ions.textureprojgradoffset.isampler3d_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017200,
111         "dEQP-GLES3.functional.shaders.texture_functi",
112         "ons.textureprojgradoffset.isampler3d_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017201,
115         "dEQP-GLES3.functional.shaders.texture_funct",
116         "ions.textureprojgradoffset.usampler3d_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017202,
119         "dEQP-GLES3.functional.shaders.texture_functi",
120         "ons.textureprojgradoffset.usampler3d_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017203,
123         "dEQP-GLES3.functional.shaders.texture_function",
124         "s.textureprojgradoffset.sampler2dshadow_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017204,
127         "dEQP-GLES3.functional.shaders.texture_functions",
128         ".textureprojgradoffset.sampler2dshadow_fragment");
129