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 "../ActsDeqpgles310022TestSuite.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(ActsDeqpgles310022TestSuite, TestCase_021087,
27         "dEQP-GLES31.functional.program_interface_query.uniform.re",
28         "ferenced_by_shader.separable_geometry.default_block.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021088,
31         "dEQP-GLES31.functional.program_interface_query.uniform.refer",
32         "enced_by_shader.separable_geometry.default_block.float_array");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021089,
35         "dEQP-GLES31.functional.program_interface_query.uniform.refer",
36         "enced_by_shader.separable_geometry.default_block.float_struct");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021090,
39         "dEQP-GLES31.functional.program_interface_query.uniform.ref",
40         "erenced_by_shader.separable_geometry.default_block.sampler");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021091,
43         "dEQP-GLES31.functional.program_interface_query.uniform.refere",
44         "nced_by_shader.separable_geometry.default_block.sampler_array");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021092,
47         "dEQP-GLES31.functional.program_interface_query.uniform.refere",
48         "nced_by_shader.separable_geometry.default_block.sampler_struct");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021093,
51         "dEQP-GLES31.functional.program_interface_query.uniform.refer",
52         "enced_by_shader.separable_geometry.default_block.atomic_uint");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021094,
55         "dEQP-GLES31.functional.program_interface_query.uniform.referenc",
56         "ed_by_shader.separable_geometry.default_block.atomic_uint_array");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021095,
59         "dEQP-GLES31.functional.program_interface_query.uniform.referenc",
60         "ed_by_shader.separable_geometry.default_block.float_array_struct");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021096,
63         "dEQP-GLES31.functional.program_interface_query.uniform.referenc",
64         "ed_by_shader.separable_geometry.default_block.float_struct_array");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021097,
67         "dEQP-GLES31.functional.program_interface_query.uniform.referenc",
68         "ed_by_shader.separable_geometry.default_block.float_array_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021098,
71         "dEQP-GLES31.functional.program_interface_query.uniform.reference",
72         "d_by_shader.separable_geometry.default_block.float_struct_struct");
73