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_011412,
27        "dEQP-GLES31.functional.image_load_st",
28        "ore.cube.atomic.exchange_r32f_result");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011413,
31        "dEQP-GLES31.functional.image_load_store",
32        ".cube.atomic.exchange_r32f_return_value");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011414,
35        "dEQP-GLES31.functional.image_load_",
36        "store.cube.atomic.add_r32ui_result");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011415,
39        "dEQP-GLES31.functional.image_load_sto",
40        "re.cube.atomic.add_r32ui_return_value");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011416,
43        "dEQP-GLES31.functional.image_load_",
44        "store.cube.atomic.min_r32ui_result");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011417,
47        "dEQP-GLES31.functional.image_load_sto",
48        "re.cube.atomic.min_r32ui_return_value");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011418,
51        "dEQP-GLES31.functional.image_load_",
52        "store.cube.atomic.max_r32ui_result");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011419,
55        "dEQP-GLES31.functional.image_load_sto",
56        "re.cube.atomic.max_r32ui_return_value");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011420,
59        "dEQP-GLES31.functional.image_load_",
60        "store.cube.atomic.and_r32ui_result");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011421,
63        "dEQP-GLES31.functional.image_load_sto",
64        "re.cube.atomic.and_r32ui_return_value");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011422,
67        "dEQP-GLES31.functional.image_load",
68        "_store.cube.atomic.or_r32ui_result");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011423,
71        "dEQP-GLES31.functional.image_load_st",
72        "ore.cube.atomic.or_r32ui_return_value");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011424,
75        "dEQP-GLES31.functional.image_load_",
76        "store.cube.atomic.xor_r32ui_result");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011425,
79        "dEQP-GLES31.functional.image_load_sto",
80        "re.cube.atomic.xor_r32ui_return_value");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011426,
83        "dEQP-GLES31.functional.image_load_st",
84        "ore.cube.atomic.exchange_r32ui_result");
85
86static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011427,
87        "dEQP-GLES31.functional.image_load_store",
88        ".cube.atomic.exchange_r32ui_return_value");
89
90static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011428,
91        "dEQP-GLES31.functional.image_load_sto",
92        "re.cube.atomic.comp_swap_r32ui_result");
93
94static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011429,
95        "dEQP-GLES31.functional.image_load",
96        "_store.cube.atomic.add_r32i_result");
97
98static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011430,
99        "dEQP-GLES31.functional.image_load_st",
100        "ore.cube.atomic.add_r32i_return_value");
101
102static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011431,
103        "dEQP-GLES31.functional.image_load",
104        "_store.cube.atomic.min_r32i_result");
105
106static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011432,
107        "dEQP-GLES31.functional.image_load_st",
108        "ore.cube.atomic.min_r32i_return_value");
109
110static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011433,
111        "dEQP-GLES31.functional.image_load",
112        "_store.cube.atomic.max_r32i_result");
113
114static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011434,
115        "dEQP-GLES31.functional.image_load_st",
116        "ore.cube.atomic.max_r32i_return_value");
117
118static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011435,
119        "dEQP-GLES31.functional.image_load",
120        "_store.cube.atomic.and_r32i_result");
121
122static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011436,
123        "dEQP-GLES31.functional.image_load_st",
124        "ore.cube.atomic.and_r32i_return_value");
125
126static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011437,
127        "dEQP-GLES31.functional.image_load",
128        "_store.cube.atomic.or_r32i_result");
129
130static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011438,
131        "dEQP-GLES31.functional.image_load_st",
132        "ore.cube.atomic.or_r32i_return_value");
133
134static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011439,
135        "dEQP-GLES31.functional.image_load",
136        "_store.cube.atomic.xor_r32i_result");
137
138static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011440,
139        "dEQP-GLES31.functional.image_load_st",
140        "ore.cube.atomic.xor_r32i_return_value");
141
142static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011441,
143        "dEQP-GLES31.functional.image_load_st",
144        "ore.cube.atomic.exchange_r32i_result");
145
146static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011442,
147        "dEQP-GLES31.functional.image_load_store",
148        ".cube.atomic.exchange_r32i_return_value");
149
150static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011443,
151        "dEQP-GLES31.functional.image_load_st",
152        "ore.cube.atomic.comp_swap_r32i_result");
153