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 "../ActsDeqpgles310008TestSuite.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(ActsDeqpgles310008TestSuite, TestCase_007687,
27         "dEQP-GLES31.functional.compute.indirect_",
28         "dispatch.upload_buffer.single_invocation");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007688,
31         "dEQP-GLES31.functional.compute.indirect",
32         "_dispatch.upload_buffer.multiple_groups");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007689,
35         "dEQP-GLES31.functional.compute.indirect_dispatch.",
36         "upload_buffer.multiple_groups_multiple_invocations");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007690,
39         "dEQP-GLES31.functional.compute.indire",
40         "ct_dispatch.upload_buffer.small_offset");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007691,
43         "dEQP-GLES31.functional.compute.indire",
44         "ct_dispatch.upload_buffer.large_offset");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007692,
47         "dEQP-GLES31.functional.compute.indirect_dispatch",
48         ".upload_buffer.large_offset_multiple_invocations");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007693,
51         "dEQP-GLES31.functional.compute.indirec",
52         "t_dispatch.upload_buffer.empty_command");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007694,
55         "dEQP-GLES31.functional.compute.indirec",
56         "t_dispatch.upload_buffer.multi_dispatch");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007695,
59         "dEQP-GLES31.functional.compute.indirect_dispa",
60         "tch.upload_buffer.multi_dispatch_reuse_command");
61