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 "../ActsDeqpgles310020TestSuite.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(ActsDeqpgles310020TestSuite, TestCase_019825,
27         "dEQP-GLES31.functional.debug.negative_cov",
28         "erage.get_error.compute.program_not_active");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019826,
31         "dEQP-GLES31.functional.debug.negative_cover",
32         "age.get_error.compute.invalid_program_query");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019827,
35         "dEQP-GLES31.functional.debug.negative_coverage.ge",
36         "t_error.compute.invalid_dispatch_compute_indirect");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019828,
39         "dEQP-GLES31.functional.debug.negative_coverage.ge",
40         "t_error.compute.invalid_maximum_work_group_counts");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019829,
43         "dEQP-GLES31.functional.debug.negative_coverage.g",
44         "et_error.compute.invalid_maximum_work_group_sizes");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019830,
47         "dEQP-GLES31.functional.debug.negative_coverag",
48         "e.get_error.compute.invalid_layout_qualifiers");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019831,
51         "dEQP-GLES31.functional.debug.negative_coverage.g",
52         "et_error.compute.invalid_write_built_in_constants");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019832,
55         "dEQP-GLES31.functional.debug.negative_coverag",
56         "e.get_error.compute.exceed_uniform_block_limit");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019833,
59         "dEQP-GLES31.functional.debug.negative_coverage.ge",
60         "t_error.compute.exceed_shader_storage_block_limit");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019834,
63         "dEQP-GLES31.functional.debug.negative_coverage.g",
64         "et_error.compute.exceed_texture_image_units_limit");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019835,
67         "dEQP-GLES31.functional.debug.negative_coverage",
68         ".get_error.compute.exceed_image_uniforms_limit");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019836,
71         "dEQP-GLES31.functional.debug.negative_coverage.g",
72         "et_error.compute.exceed_shared_memory_size_limit");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019837,
75         "dEQP-GLES31.functional.debug.negative_coverage.g",
76         "et_error.compute.exceed_uniform_components_limit");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019838,
79         "dEQP-GLES31.functional.debug.negative_coverage.ge",
80         "t_error.compute.exceed_atomic_counter_buffer_limit");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019839,
83         "dEQP-GLES31.functional.debug.negative_coverage",
84         ".get_error.compute.exceed_atomic_counters_limit");
85