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_011726,
27         "dEQP-GLES31.functional.image_load_stor",
28         "e.2d_array.atomic.exchange_r32f_result");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011727,
31         "dEQP-GLES31.functional.image_load_store.2",
32         "d_array.atomic.exchange_r32f_return_value");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011728,
35         "dEQP-GLES31.functional.image_load_st",
36         "ore.2d_array.atomic.add_r32ui_result");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011729,
39         "dEQP-GLES31.functional.image_load_store",
40         ".2d_array.atomic.add_r32ui_return_value");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011730,
43         "dEQP-GLES31.functional.image_load_st",
44         "ore.2d_array.atomic.min_r32ui_result");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011731,
47         "dEQP-GLES31.functional.image_load_store",
48         ".2d_array.atomic.min_r32ui_return_value");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011732,
51         "dEQP-GLES31.functional.image_load_st",
52         "ore.2d_array.atomic.max_r32ui_result");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011733,
55         "dEQP-GLES31.functional.image_load_store",
56         ".2d_array.atomic.max_r32ui_return_value");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011734,
59         "dEQP-GLES31.functional.image_load_st",
60         "ore.2d_array.atomic.and_r32ui_result");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011735,
63         "dEQP-GLES31.functional.image_load_store",
64         ".2d_array.atomic.and_r32ui_return_value");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011736,
67         "dEQP-GLES31.functional.image_load_s",
68         "tore.2d_array.atomic.or_r32ui_result");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011737,
71         "dEQP-GLES31.functional.image_load_stor",
72         "e.2d_array.atomic.or_r32ui_return_value");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011738,
75         "dEQP-GLES31.functional.image_load_st",
76         "ore.2d_array.atomic.xor_r32ui_result");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011739,
79         "dEQP-GLES31.functional.image_load_store",
80         ".2d_array.atomic.xor_r32ui_return_value");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011740,
83         "dEQP-GLES31.functional.image_load_stor",
84         "e.2d_array.atomic.exchange_r32ui_result");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011741,
87         "dEQP-GLES31.functional.image_load_store.2",
88         "d_array.atomic.exchange_r32ui_return_value");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011742,
91         "dEQP-GLES31.functional.image_load_store",
92         ".2d_array.atomic.comp_swap_r32ui_result");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011743,
95         "dEQP-GLES31.functional.image_load_s",
96         "tore.2d_array.atomic.add_r32i_result");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011744,
99         "dEQP-GLES31.functional.image_load_stor",
100         "e.2d_array.atomic.add_r32i_return_value");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011745,
103         "dEQP-GLES31.functional.image_load_s",
104         "tore.2d_array.atomic.min_r32i_result");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011746,
107         "dEQP-GLES31.functional.image_load_stor",
108         "e.2d_array.atomic.min_r32i_return_value");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011747,
111         "dEQP-GLES31.functional.image_load_s",
112         "tore.2d_array.atomic.max_r32i_result");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011748,
115         "dEQP-GLES31.functional.image_load_stor",
116         "e.2d_array.atomic.max_r32i_return_value");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011749,
119         "dEQP-GLES31.functional.image_load_s",
120         "tore.2d_array.atomic.and_r32i_result");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011750,
123         "dEQP-GLES31.functional.image_load_stor",
124         "e.2d_array.atomic.and_r32i_return_value");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011751,
127         "dEQP-GLES31.functional.image_load_s",
128         "tore.2d_array.atomic.or_r32i_result");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011752,
131         "dEQP-GLES31.functional.image_load_stor",
132         "e.2d_array.atomic.or_r32i_return_value");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011753,
135         "dEQP-GLES31.functional.image_load_s",
136         "tore.2d_array.atomic.xor_r32i_result");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011754,
139         "dEQP-GLES31.functional.image_load_stor",
140         "e.2d_array.atomic.xor_r32i_return_value");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011755,
143         "dEQP-GLES31.functional.image_load_stor",
144         "e.2d_array.atomic.exchange_r32i_result");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011756,
147         "dEQP-GLES31.functional.image_load_store.2",
148         "d_array.atomic.exchange_r32i_return_value");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011757,
151         "dEQP-GLES31.functional.image_load_stor",
152         "e.2d_array.atomic.comp_swap_r32i_result");
153