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 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011855,
27         "dEQP-GLES31.functional.image_load_sto",
28         "re.buffer.atomic.exchange_r32f_result");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011856,
31         "dEQP-GLES31.functional.image_load_store.",
32         "buffer.atomic.exchange_r32f_return_value");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011857,
35         "dEQP-GLES31.functional.image_load_s",
36         "tore.buffer.atomic.add_r32ui_result");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011858,
39         "dEQP-GLES31.functional.image_load_stor",
40         "e.buffer.atomic.add_r32ui_return_value");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011859,
43         "dEQP-GLES31.functional.image_load_s",
44         "tore.buffer.atomic.min_r32ui_result");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011860,
47         "dEQP-GLES31.functional.image_load_stor",
48         "e.buffer.atomic.min_r32ui_return_value");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011861,
51         "dEQP-GLES31.functional.image_load_s",
52         "tore.buffer.atomic.max_r32ui_result");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011862,
55         "dEQP-GLES31.functional.image_load_stor",
56         "e.buffer.atomic.max_r32ui_return_value");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011863,
59         "dEQP-GLES31.functional.image_load_s",
60         "tore.buffer.atomic.and_r32ui_result");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011864,
63         "dEQP-GLES31.functional.image_load_stor",
64         "e.buffer.atomic.and_r32ui_return_value");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011865,
67         "dEQP-GLES31.functional.image_load_",
68         "store.buffer.atomic.or_r32ui_result");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011866,
71         "dEQP-GLES31.functional.image_load_sto",
72         "re.buffer.atomic.or_r32ui_return_value");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011867,
75         "dEQP-GLES31.functional.image_load_s",
76         "tore.buffer.atomic.xor_r32ui_result");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011868,
79         "dEQP-GLES31.functional.image_load_stor",
80         "e.buffer.atomic.xor_r32ui_return_value");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011869,
83         "dEQP-GLES31.functional.image_load_sto",
84         "re.buffer.atomic.exchange_r32ui_result");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011870,
87         "dEQP-GLES31.functional.image_load_store.",
88         "buffer.atomic.exchange_r32ui_return_value");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011871,
91         "dEQP-GLES31.functional.image_load_stor",
92         "e.buffer.atomic.comp_swap_r32ui_result");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011872,
95         "dEQP-GLES31.functional.image_load_",
96         "store.buffer.atomic.add_r32i_result");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011873,
99         "dEQP-GLES31.functional.image_load_sto",
100         "re.buffer.atomic.add_r32i_return_value");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011874,
103         "dEQP-GLES31.functional.image_load_",
104         "store.buffer.atomic.min_r32i_result");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011875,
107         "dEQP-GLES31.functional.image_load_sto",
108         "re.buffer.atomic.min_r32i_return_value");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011876,
111         "dEQP-GLES31.functional.image_load_",
112         "store.buffer.atomic.max_r32i_result");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011877,
115         "dEQP-GLES31.functional.image_load_sto",
116         "re.buffer.atomic.max_r32i_return_value");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011878,
119         "dEQP-GLES31.functional.image_load_",
120         "store.buffer.atomic.and_r32i_result");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011879,
123         "dEQP-GLES31.functional.image_load_sto",
124         "re.buffer.atomic.and_r32i_return_value");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011880,
127         "dEQP-GLES31.functional.image_load_",
128         "store.buffer.atomic.or_r32i_result");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011881,
131         "dEQP-GLES31.functional.image_load_sto",
132         "re.buffer.atomic.or_r32i_return_value");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011882,
135         "dEQP-GLES31.functional.image_load_",
136         "store.buffer.atomic.xor_r32i_result");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011883,
139         "dEQP-GLES31.functional.image_load_sto",
140         "re.buffer.atomic.xor_r32i_return_value");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011884,
143         "dEQP-GLES31.functional.image_load_sto",
144         "re.buffer.atomic.exchange_r32i_result");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011885,
147         "dEQP-GLES31.functional.image_load_store.",
148         "buffer.atomic.exchange_r32i_return_value");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011886,
151         "dEQP-GLES31.functional.image_load_sto",
152         "re.buffer.atomic.comp_swap_r32i_result");
153