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 "../Khrgles3BaseFunc.h"
19#include "../ActsKhrgles30001TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000020,
27        "KHR-GLES3.shaders.frag",
28        "depth.compare.no_write");
29
30static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000021,
31        "KHR-GLES3.shaders.fr",
32        "agdepth.compare.const");
33
34static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000022,
35        "KHR-GLES3.shaders.fra",
36        "gdepth.compare.uniform");
37
38static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000023,
39        "KHR-GLES3.shaders.fra",
40        "gdepth.compare.dynamic");
41
42static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000024,
43        "KHR-GLES3.shaders.fragd",
44        "epth.compare.fragcoord_z");
45
46static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000025,
47        "KHR-GLES3.shaders.fragdepth.co",
48        "mpare.uniform_conditional_write");
49
50static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000026,
51        "KHR-GLES3.shaders.fragdepth.co",
52        "mpare.dynamic_conditional_write");
53
54static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000027,
55        "KHR-GLES3.shaders.fragdepth",
56        ".compare.uniform_loop_write");
57
58static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000028,
59        "KHR-GLES3.shaders.fragdept",
60        "h.compare.write_in_function");
61