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_025496,
27         "dEQP-GLES3.functional.texture.shadow.cube.linea",
28         "r_mipmap_nearest.less_or_equal_depth_component16");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025497,
31         "dEQP-GLES3.functional.texture.shadow.cube.linear",
32         "_mipmap_nearest.less_or_equal_depth_component32f");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025498,
35         "dEQP-GLES3.functional.texture.shadow.cube.linea",
36         "r_mipmap_nearest.less_or_equal_depth24_stencil8");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025499,
39         "dEQP-GLES3.functional.texture.shadow.cube.linear_",
40         "mipmap_nearest.greater_or_equal_depth_component16");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025500,
43         "dEQP-GLES3.functional.texture.shadow.cube.linear_",
44         "mipmap_nearest.greater_or_equal_depth_component32f");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025501,
47         "dEQP-GLES3.functional.texture.shadow.cube.linear",
48         "_mipmap_nearest.greater_or_equal_depth24_stencil8");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025502,
51         "dEQP-GLES3.functional.texture.shadow.cube.l",
52         "inear_mipmap_nearest.less_depth_component16");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025503,
55         "dEQP-GLES3.functional.texture.shadow.cube.l",
56         "inear_mipmap_nearest.less_depth_component32f");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025504,
59         "dEQP-GLES3.functional.texture.shadow.cube.",
60         "linear_mipmap_nearest.less_depth24_stencil8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025505,
63         "dEQP-GLES3.functional.texture.shadow.cube.li",
64         "near_mipmap_nearest.greater_depth_component16");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025506,
67         "dEQP-GLES3.functional.texture.shadow.cube.lin",
68         "ear_mipmap_nearest.greater_depth_component32f");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025507,
71         "dEQP-GLES3.functional.texture.shadow.cube.li",
72         "near_mipmap_nearest.greater_depth24_stencil8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025508,
75         "dEQP-GLES3.functional.texture.shadow.cube.l",
76         "inear_mipmap_nearest.equal_depth_component16");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025509,
79         "dEQP-GLES3.functional.texture.shadow.cube.li",
80         "near_mipmap_nearest.equal_depth_component32f");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025510,
83         "dEQP-GLES3.functional.texture.shadow.cube.l",
84         "inear_mipmap_nearest.equal_depth24_stencil8");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025511,
87         "dEQP-GLES3.functional.texture.shadow.cube.lin",
88         "ear_mipmap_nearest.not_equal_depth_component16");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025512,
91         "dEQP-GLES3.functional.texture.shadow.cube.line",
92         "ar_mipmap_nearest.not_equal_depth_component32f");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025513,
95         "dEQP-GLES3.functional.texture.shadow.cube.lin",
96         "ear_mipmap_nearest.not_equal_depth24_stencil8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025514,
99         "dEQP-GLES3.functional.texture.shadow.cube.li",
100         "near_mipmap_nearest.always_depth_component16");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025515,
103         "dEQP-GLES3.functional.texture.shadow.cube.li",
104         "near_mipmap_nearest.always_depth_component32f");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025516,
107         "dEQP-GLES3.functional.texture.shadow.cube.l",
108         "inear_mipmap_nearest.always_depth24_stencil8");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025517,
111         "dEQP-GLES3.functional.texture.shadow.cube.l",
112         "inear_mipmap_nearest.never_depth_component16");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025518,
115         "dEQP-GLES3.functional.texture.shadow.cube.li",
116         "near_mipmap_nearest.never_depth_component32f");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025519,
119         "dEQP-GLES3.functional.texture.shadow.cube.l",
120         "inear_mipmap_nearest.never_depth24_stencil8");
121