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 "../Deqpgles31BaseFunc.h"
19#include "../ActsDeqpgles310008TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007681,
27        "dEQP-GLES31.functional.compute.sh",
28        "ared_var.atomic.compswap.lowp_uint");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007682,
31        "dEQP-GLES31.functional.compute.sh",
32        "ared_var.atomic.compswap.lowp_int");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007683,
35        "dEQP-GLES31.functional.compute.shar",
36        "ed_var.atomic.compswap.mediump_uint");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007684,
39        "dEQP-GLES31.functional.compute.sha",
40        "red_var.atomic.compswap.mediump_int");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007685,
43        "dEQP-GLES31.functional.compute.sha",
44        "red_var.atomic.compswap.highp_uint");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007686,
47        "dEQP-GLES31.functional.compute.sh",
48        "ared_var.atomic.compswap.highp_int");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_010381,
51        "dEQP-GLES31.functional.ssb",
52        "o.atomic.compswap.lowp_uint");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_010382,
55        "dEQP-GLES31.functional.ssb",
56        "o.atomic.compswap.lowp_int");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_010383,
59        "dEQP-GLES31.functional.ssbo.",
60        "atomic.compswap.mediump_uint");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_010384,
63        "dEQP-GLES31.functional.ssbo",
64        ".atomic.compswap.mediump_int");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_010385,
67        "dEQP-GLES31.functional.ssbo",
68        ".atomic.compswap.highp_uint");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_010386,
71        "dEQP-GLES31.functional.ssb",
72        "o.atomic.compswap.highp_int");
73