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_011386,
27         "dEQP-GLES31.functional.image_lo",
28         "ad_store.cube.load_store.rgba32f");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011387,
31         "dEQP-GLES31.functional.image_load_stor",
32         "e.cube.load_store.rgba32f_single_layer");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011388,
35         "dEQP-GLES31.functional.image_lo",
36         "ad_store.cube.load_store.rgba16f");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011389,
39         "dEQP-GLES31.functional.image_load_stor",
40         "e.cube.load_store.rgba16f_single_layer");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011390,
43         "dEQP-GLES31.functional.image_l",
44         "oad_store.cube.load_store.r32f");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011391,
47         "dEQP-GLES31.functional.image_load_st",
48         "ore.cube.load_store.r32f_single_layer");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011392,
51         "dEQP-GLES31.functional.image_loa",
52         "d_store.cube.load_store.rgba32ui");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011393,
55         "dEQP-GLES31.functional.image_load_stor",
56         "e.cube.load_store.rgba32ui_single_layer");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011394,
59         "dEQP-GLES31.functional.image_loa",
60         "d_store.cube.load_store.rgba16ui");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011395,
63         "dEQP-GLES31.functional.image_load_stor",
64         "e.cube.load_store.rgba16ui_single_layer");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011396,
67         "dEQP-GLES31.functional.image_lo",
68         "ad_store.cube.load_store.rgba8ui");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011397,
71         "dEQP-GLES31.functional.image_load_stor",
72         "e.cube.load_store.rgba8ui_single_layer");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011398,
75         "dEQP-GLES31.functional.image_l",
76         "oad_store.cube.load_store.r32ui");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011399,
79         "dEQP-GLES31.functional.image_load_sto",
80         "re.cube.load_store.r32ui_single_layer");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011400,
83         "dEQP-GLES31.functional.image_lo",
84         "ad_store.cube.load_store.rgba32i");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011401,
87         "dEQP-GLES31.functional.image_load_stor",
88         "e.cube.load_store.rgba32i_single_layer");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011402,
91         "dEQP-GLES31.functional.image_lo",
92         "ad_store.cube.load_store.rgba16i");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011403,
95         "dEQP-GLES31.functional.image_load_stor",
96         "e.cube.load_store.rgba16i_single_layer");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011404,
99         "dEQP-GLES31.functional.image_lo",
100         "ad_store.cube.load_store.rgba8i");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011405,
103         "dEQP-GLES31.functional.image_load_sto",
104         "re.cube.load_store.rgba8i_single_layer");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011406,
107         "dEQP-GLES31.functional.image_l",
108         "oad_store.cube.load_store.r32i");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011407,
111         "dEQP-GLES31.functional.image_load_st",
112         "ore.cube.load_store.r32i_single_layer");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011408,
115         "dEQP-GLES31.functional.image_l",
116         "oad_store.cube.load_store.rgba8");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011409,
119         "dEQP-GLES31.functional.image_load_sto",
120         "re.cube.load_store.rgba8_single_layer");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011410,
123         "dEQP-GLES31.functional.image_load",
124         "_store.cube.load_store.rgba8_snorm");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011411,
127         "dEQP-GLES31.functional.image_load_store.",
128         "cube.load_store.rgba8_snorm_single_layer");
129