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
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025424,
27        "dEQP-GLES3.functional.texture.shadow.cub",
28        "e.nearest.less_or_equal_depth_component16");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025425,
31        "dEQP-GLES3.functional.texture.shadow.cube",
32        ".nearest.less_or_equal_depth_component32f");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025426,
35        "dEQP-GLES3.functional.texture.shadow.cub",
36        "e.nearest.less_or_equal_depth24_stencil8");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025427,
39        "dEQP-GLES3.functional.texture.shadow.cube.",
40        "nearest.greater_or_equal_depth_component16");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025428,
43        "dEQP-GLES3.functional.texture.shadow.cube.",
44        "nearest.greater_or_equal_depth_component32f");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025429,
47        "dEQP-GLES3.functional.texture.shadow.cube",
48        ".nearest.greater_or_equal_depth24_stencil8");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025430,
51        "dEQP-GLES3.functional.texture.shadow",
52        ".cube.nearest.less_depth_component16");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025431,
55        "dEQP-GLES3.functional.texture.shadow",
56        ".cube.nearest.less_depth_component32f");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025432,
59        "dEQP-GLES3.functional.texture.shado",
60        "w.cube.nearest.less_depth24_stencil8");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025433,
63        "dEQP-GLES3.functional.texture.shadow.",
64        "cube.nearest.greater_depth_component16");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025434,
67        "dEQP-GLES3.functional.texture.shadow.c",
68        "ube.nearest.greater_depth_component32f");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025435,
71        "dEQP-GLES3.functional.texture.shadow.",
72        "cube.nearest.greater_depth24_stencil8");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025436,
75        "dEQP-GLES3.functional.texture.shadow",
76        ".cube.nearest.equal_depth_component16");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025437,
79        "dEQP-GLES3.functional.texture.shadow.",
80        "cube.nearest.equal_depth_component32f");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025438,
83        "dEQP-GLES3.functional.texture.shadow",
84        ".cube.nearest.equal_depth24_stencil8");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025439,
87        "dEQP-GLES3.functional.texture.shadow.c",
88        "ube.nearest.not_equal_depth_component16");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025440,
91        "dEQP-GLES3.functional.texture.shadow.cu",
92        "be.nearest.not_equal_depth_component32f");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025441,
95        "dEQP-GLES3.functional.texture.shadow.c",
96        "ube.nearest.not_equal_depth24_stencil8");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025442,
99        "dEQP-GLES3.functional.texture.shadow.",
100        "cube.nearest.always_depth_component16");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025443,
103        "dEQP-GLES3.functional.texture.shadow.",
104        "cube.nearest.always_depth_component32f");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025444,
107        "dEQP-GLES3.functional.texture.shadow",
108        ".cube.nearest.always_depth24_stencil8");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025445,
111        "dEQP-GLES3.functional.texture.shadow",
112        ".cube.nearest.never_depth_component16");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025446,
115        "dEQP-GLES3.functional.texture.shadow.",
116        "cube.nearest.never_depth_component32f");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025447,
119        "dEQP-GLES3.functional.texture.shadow",
120        ".cube.nearest.never_depth24_stencil8");
121