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 "../ActsDeqpgles30026TestSuite.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(ActsDeqpgles30026TestSuite, TestCase_025376,
27         "dEQP-GLES3.functional.texture.shadow.2d.neares",
28         "t_mipmap_linear.less_or_equal_depth_component16");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025377,
31         "dEQP-GLES3.functional.texture.shadow.2d.nearest",
32         "_mipmap_linear.less_or_equal_depth_component32f");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025378,
35         "dEQP-GLES3.functional.texture.shadow.2d.neares",
36         "t_mipmap_linear.less_or_equal_depth24_stencil8");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025379,
39         "dEQP-GLES3.functional.texture.shadow.2d.nearest_",
40         "mipmap_linear.greater_or_equal_depth_component16");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025380,
43         "dEQP-GLES3.functional.texture.shadow.2d.nearest_",
44         "mipmap_linear.greater_or_equal_depth_component32f");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025381,
47         "dEQP-GLES3.functional.texture.shadow.2d.nearest",
48         "_mipmap_linear.greater_or_equal_depth24_stencil8");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025382,
51         "dEQP-GLES3.functional.texture.shadow.2d.ne",
52         "arest_mipmap_linear.less_depth_component16");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025383,
55         "dEQP-GLES3.functional.texture.shadow.2d.ne",
56         "arest_mipmap_linear.less_depth_component32f");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025384,
59         "dEQP-GLES3.functional.texture.shadow.2d.n",
60         "earest_mipmap_linear.less_depth24_stencil8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025385,
63         "dEQP-GLES3.functional.texture.shadow.2d.nea",
64         "rest_mipmap_linear.greater_depth_component16");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025386,
67         "dEQP-GLES3.functional.texture.shadow.2d.near",
68         "est_mipmap_linear.greater_depth_component32f");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025387,
71         "dEQP-GLES3.functional.texture.shadow.2d.nea",
72         "rest_mipmap_linear.greater_depth24_stencil8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025388,
75         "dEQP-GLES3.functional.texture.shadow.2d.ne",
76         "arest_mipmap_linear.equal_depth_component16");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025389,
79         "dEQP-GLES3.functional.texture.shadow.2d.nea",
80         "rest_mipmap_linear.equal_depth_component32f");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025390,
83         "dEQP-GLES3.functional.texture.shadow.2d.ne",
84         "arest_mipmap_linear.equal_depth24_stencil8");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025391,
87         "dEQP-GLES3.functional.texture.shadow.2d.near",
88         "est_mipmap_linear.not_equal_depth_component16");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025392,
91         "dEQP-GLES3.functional.texture.shadow.2d.neare",
92         "st_mipmap_linear.not_equal_depth_component32f");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025393,
95         "dEQP-GLES3.functional.texture.shadow.2d.near",
96         "est_mipmap_linear.not_equal_depth24_stencil8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025394,
99         "dEQP-GLES3.functional.texture.shadow.2d.nea",
100         "rest_mipmap_linear.always_depth_component16");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025395,
103         "dEQP-GLES3.functional.texture.shadow.2d.nea",
104         "rest_mipmap_linear.always_depth_component32f");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025396,
107         "dEQP-GLES3.functional.texture.shadow.2d.ne",
108         "arest_mipmap_linear.always_depth24_stencil8");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025397,
111         "dEQP-GLES3.functional.texture.shadow.2d.ne",
112         "arest_mipmap_linear.never_depth_component16");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025398,
115         "dEQP-GLES3.functional.texture.shadow.2d.nea",
116         "rest_mipmap_linear.never_depth_component32f");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025399,
119         "dEQP-GLES3.functional.texture.shadow.2d.ne",
120         "arest_mipmap_linear.never_depth24_stencil8");
121