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_016953,
27         "dEQP-GLES3.functional.shaders.texture_function",
28         "s.textureprojoffset.sampler2d_vec3_fixed_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016954,
31         "dEQP-GLES3.functional.shaders.texture_functions",
32         ".textureprojoffset.sampler2d_vec3_fixed_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016955,
35         "dEQP-GLES3.functional.shaders.texture_function",
36         "s.textureprojoffset.sampler2d_vec3_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016956,
39         "dEQP-GLES3.functional.shaders.texture_functions",
40         ".textureprojoffset.sampler2d_vec3_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016957,
43         "dEQP-GLES3.functional.shaders.texture_functi",
44         "ons.textureprojoffset.isampler2d_vec3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016958,
47         "dEQP-GLES3.functional.shaders.texture_functio",
48         "ns.textureprojoffset.isampler2d_vec3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016959,
51         "dEQP-GLES3.functional.shaders.texture_functi",
52         "ons.textureprojoffset.usampler2d_vec3_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016960,
55         "dEQP-GLES3.functional.shaders.texture_functio",
56         "ns.textureprojoffset.usampler2d_vec3_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016961,
59         "dEQP-GLES3.functional.shaders.texture_functions.te",
60         "xtureprojoffset.sampler2d_vec3_bias_fixed_fragment");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016962,
63         "dEQP-GLES3.functional.shaders.texture_functions.te",
64         "xtureprojoffset.sampler2d_vec3_bias_float_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016963,
67         "dEQP-GLES3.functional.shaders.texture_functions",
68         ".textureprojoffset.isampler2d_vec3_bias_fragment");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016964,
71         "dEQP-GLES3.functional.shaders.texture_functions",
72         ".textureprojoffset.usampler2d_vec3_bias_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016965,
75         "dEQP-GLES3.functional.shaders.texture_function",
76         "s.textureprojoffset.sampler2d_vec4_fixed_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016966,
79         "dEQP-GLES3.functional.shaders.texture_functions",
80         ".textureprojoffset.sampler2d_vec4_fixed_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016967,
83         "dEQP-GLES3.functional.shaders.texture_function",
84         "s.textureprojoffset.sampler2d_vec4_float_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016968,
87         "dEQP-GLES3.functional.shaders.texture_functions",
88         ".textureprojoffset.sampler2d_vec4_float_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016969,
91         "dEQP-GLES3.functional.shaders.texture_functi",
92         "ons.textureprojoffset.isampler2d_vec4_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016970,
95         "dEQP-GLES3.functional.shaders.texture_functio",
96         "ns.textureprojoffset.isampler2d_vec4_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016971,
99         "dEQP-GLES3.functional.shaders.texture_functi",
100         "ons.textureprojoffset.usampler2d_vec4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016972,
103         "dEQP-GLES3.functional.shaders.texture_functio",
104         "ns.textureprojoffset.usampler2d_vec4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016973,
107         "dEQP-GLES3.functional.shaders.texture_functions.te",
108         "xtureprojoffset.sampler2d_vec4_bias_fixed_fragment");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016974,
111         "dEQP-GLES3.functional.shaders.texture_functions.te",
112         "xtureprojoffset.sampler2d_vec4_bias_float_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016975,
115         "dEQP-GLES3.functional.shaders.texture_functions",
116         ".textureprojoffset.isampler2d_vec4_bias_fragment");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016976,
119         "dEQP-GLES3.functional.shaders.texture_functions",
120         ".textureprojoffset.usampler2d_vec4_bias_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016977,
123         "dEQP-GLES3.functional.shaders.texture_functi",
124         "ons.textureprojoffset.sampler3d_fixed_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016978,
127         "dEQP-GLES3.functional.shaders.texture_functi",
128         "ons.textureprojoffset.sampler3d_float_vertex");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016979,
131         "dEQP-GLES3.functional.shaders.texture_fun",
132         "ctions.textureprojoffset.isampler3d_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016980,
135         "dEQP-GLES3.functional.shaders.texture_fun",
136         "ctions.textureprojoffset.usampler3d_vertex");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016981,
139         "dEQP-GLES3.functional.shaders.texture_functi",
140         "ons.textureprojoffset.sampler2dshadow_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016982,
143         "dEQP-GLES3.functional.shaders.texture_functio",
144         "ns.textureprojoffset.sampler2dshadow_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016983,
147         "dEQP-GLES3.functional.shaders.texture_functions",
148         ".textureprojoffset.sampler2dshadow_bias_fragment");
149