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 "../ActsDeqpgles310012TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011569,
27        "dEQP-GLES31.functional.image_load_s",
28        "tore.3d.atomic.exchange_r32f_result");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011570,
31        "dEQP-GLES31.functional.image_load_stor",
32        "e.3d.atomic.exchange_r32f_return_value");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011571,
35        "dEQP-GLES31.functional.image_load",
36        "_store.3d.atomic.add_r32ui_result");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011572,
39        "dEQP-GLES31.functional.image_load_st",
40        "ore.3d.atomic.add_r32ui_return_value");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011573,
43        "dEQP-GLES31.functional.image_load",
44        "_store.3d.atomic.min_r32ui_result");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011574,
47        "dEQP-GLES31.functional.image_load_st",
48        "ore.3d.atomic.min_r32ui_return_value");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011575,
51        "dEQP-GLES31.functional.image_load",
52        "_store.3d.atomic.max_r32ui_result");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011576,
55        "dEQP-GLES31.functional.image_load_st",
56        "ore.3d.atomic.max_r32ui_return_value");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011577,
59        "dEQP-GLES31.functional.image_load",
60        "_store.3d.atomic.and_r32ui_result");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011578,
63        "dEQP-GLES31.functional.image_load_st",
64        "ore.3d.atomic.and_r32ui_return_value");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011579,
67        "dEQP-GLES31.functional.image_loa",
68        "d_store.3d.atomic.or_r32ui_result");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011580,
71        "dEQP-GLES31.functional.image_load_s",
72        "tore.3d.atomic.or_r32ui_return_value");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011581,
75        "dEQP-GLES31.functional.image_load",
76        "_store.3d.atomic.xor_r32ui_result");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011582,
79        "dEQP-GLES31.functional.image_load_st",
80        "ore.3d.atomic.xor_r32ui_return_value");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011583,
83        "dEQP-GLES31.functional.image_load_s",
84        "tore.3d.atomic.exchange_r32ui_result");
85
86static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011584,
87        "dEQP-GLES31.functional.image_load_stor",
88        "e.3d.atomic.exchange_r32ui_return_value");
89
90static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011585,
91        "dEQP-GLES31.functional.image_load_st",
92        "ore.3d.atomic.comp_swap_r32ui_result");
93
94static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011586,
95        "dEQP-GLES31.functional.image_loa",
96        "d_store.3d.atomic.add_r32i_result");
97
98static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011587,
99        "dEQP-GLES31.functional.image_load_s",
100        "tore.3d.atomic.add_r32i_return_value");
101
102static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011588,
103        "dEQP-GLES31.functional.image_loa",
104        "d_store.3d.atomic.min_r32i_result");
105
106static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011589,
107        "dEQP-GLES31.functional.image_load_s",
108        "tore.3d.atomic.min_r32i_return_value");
109
110static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011590,
111        "dEQP-GLES31.functional.image_loa",
112        "d_store.3d.atomic.max_r32i_result");
113
114static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011591,
115        "dEQP-GLES31.functional.image_load_s",
116        "tore.3d.atomic.max_r32i_return_value");
117
118static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011592,
119        "dEQP-GLES31.functional.image_loa",
120        "d_store.3d.atomic.and_r32i_result");
121
122static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011593,
123        "dEQP-GLES31.functional.image_load_s",
124        "tore.3d.atomic.and_r32i_return_value");
125
126static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011594,
127        "dEQP-GLES31.functional.image_loa",
128        "d_store.3d.atomic.or_r32i_result");
129
130static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011595,
131        "dEQP-GLES31.functional.image_load_s",
132        "tore.3d.atomic.or_r32i_return_value");
133
134static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011596,
135        "dEQP-GLES31.functional.image_loa",
136        "d_store.3d.atomic.xor_r32i_result");
137
138static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011597,
139        "dEQP-GLES31.functional.image_load_s",
140        "tore.3d.atomic.xor_r32i_return_value");
141
142static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011598,
143        "dEQP-GLES31.functional.image_load_s",
144        "tore.3d.atomic.exchange_r32i_result");
145
146static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011599,
147        "dEQP-GLES31.functional.image_load_stor",
148        "e.3d.atomic.exchange_r32i_return_value");
149
150static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011600,
151        "dEQP-GLES31.functional.image_load_s",
152        "tore.3d.atomic.comp_swap_r32i_result");
153