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_000011,
27        "KHR-GLES3.shaders.fra",
28        "gdepth.write.no_write");
29
30static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000012,
31        "KHR-GLES3.shaders.f",
32        "ragdepth.write.const");
33
34static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000013,
35        "KHR-GLES3.shaders.fr",
36        "agdepth.write.uniform");
37
38static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000014,
39        "KHR-GLES3.shaders.fr",
40        "agdepth.write.dynamic");
41
42static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000015,
43        "KHR-GLES3.shaders.frag",
44        "depth.write.fragcoord_z");
45
46static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000016,
47        "KHR-GLES3.shaders.fragdepth.w",
48        "rite.uniform_conditional_write");
49
50static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000017,
51        "KHR-GLES3.shaders.fragdepth.w",
52        "rite.dynamic_conditional_write");
53
54static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000018,
55        "KHR-GLES3.shaders.fragdept",
56        "h.write.uniform_loop_write");
57
58static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000019,
59        "KHR-GLES3.shaders.fragdep",
60        "th.write.write_in_function");
61