1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include <climits>
17f6603c60Sopenharmony_ci#include <gtest/gtest.h>
18f6603c60Sopenharmony_ci#include "../Deqpgles3BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30026TestSuite.h"
20f6603c60Sopenharmony_ci#include "shrinkdefine.h"
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ciusing namespace std;
23f6603c60Sopenharmony_ciusing namespace testing::ext;
24f6603c60Sopenharmony_ciusing namespace OHOS;
25f6603c60Sopenharmony_ci
26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025304,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.2d",
28f6603c60Sopenharmony_ci        ".linear.less_or_equal_depth_component16");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025305,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.2d",
32f6603c60Sopenharmony_ci        ".linear.less_or_equal_depth_component32f");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025306,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.2",
36f6603c60Sopenharmony_ci        "d.linear.less_or_equal_depth24_stencil8");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025307,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.2d.",
40f6603c60Sopenharmony_ci        "linear.greater_or_equal_depth_component16");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025308,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.2d.l",
44f6603c60Sopenharmony_ci        "inear.greater_or_equal_depth_component32f");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025309,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.2d.",
48f6603c60Sopenharmony_ci        "linear.greater_or_equal_depth24_stencil8");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025310,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shad",
52f6603c60Sopenharmony_ci        "ow.2d.linear.less_depth_component16");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025311,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
56f6603c60Sopenharmony_ci        "w.2d.linear.less_depth_component32f");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025312,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shad",
60f6603c60Sopenharmony_ci        "ow.2d.linear.less_depth24_stencil8");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025313,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow",
64f6603c60Sopenharmony_ci        ".2d.linear.greater_depth_component16");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025314,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow",
68f6603c60Sopenharmony_ci        ".2d.linear.greater_depth_component32f");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025315,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
72f6603c60Sopenharmony_ci        "w.2d.linear.greater_depth24_stencil8");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025316,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
76f6603c60Sopenharmony_ci        "w.2d.linear.equal_depth_component16");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025317,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
80f6603c60Sopenharmony_ci        "w.2d.linear.equal_depth_component32f");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025318,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shad",
84f6603c60Sopenharmony_ci        "ow.2d.linear.equal_depth24_stencil8");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025319,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.",
88f6603c60Sopenharmony_ci        "2d.linear.not_equal_depth_component16");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025320,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow.",
92f6603c60Sopenharmony_ci        "2d.linear.not_equal_depth_component32f");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025321,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow",
96f6603c60Sopenharmony_ci        ".2d.linear.not_equal_depth24_stencil8");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025322,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
100f6603c60Sopenharmony_ci        "w.2d.linear.always_depth_component16");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025323,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shadow",
104f6603c60Sopenharmony_ci        ".2d.linear.always_depth_component32f");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025324,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
108f6603c60Sopenharmony_ci        "w.2d.linear.always_depth24_stencil8");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025325,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
112f6603c60Sopenharmony_ci        "w.2d.linear.never_depth_component16");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025326,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shado",
116f6603c60Sopenharmony_ci        "w.2d.linear.never_depth_component32f");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025327,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.shad",
120f6603c60Sopenharmony_ci        "ow.2d.linear.never_depth24_stencil8");
121