• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "../KhrglesextBaseFunc.h"
19 #include "../ActsKhrglesext0001TestSuite.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(ActsKhrglesext0001TestSuite, TestCase_000112,
27         "KHR-GLESEXT.geometry_shade",
28         "r.api.createShaderProgramv");
29 
30 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000113,
31         "KHR-GLESEXT.geometry_",
32         "shader.api.shader_type");
33 
34 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000114,
35         "KHR-GLESEXT.geometry_s",
36         "hader.api.getProgramiv");
37 
38 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000115,
39         "KHR-GLESEXT.geometry_s",
40         "hader.api.getProgramiv2");
41 
42 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000116,
43         "KHR-GLESEXT.geometry_s",
44         "hader.api.getProgramiv3");
45 
46 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000117,
47         "KHR-GLESEXT.geometry_sh",
48         "ader.api.fs_gs_draw_call");
49 
50 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000118,
51         "KHR-GLESEXT.geometry_shad",
52         "er.api.max_image_uniforms");
53 
54 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000119,
55         "KHR-GLESEXT.geometry_shader.",
56         "api.max_shader_storage_blocks");
57 
58 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000120,
59         "KHR-GLESEXT.geometry_shad",
60         "er.api.max_atomic_counters");
61 
62 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000121,
63         "KHR-GLESEXT.geometry_shader.a",
64         "pi.max_atomic_counter_buffers");
65 
66 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000122,
67         "KHR-GLESEXT.geometry_shader.api.p",
68         "ipeline_program_without_active_vs");
69 
70 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000123,
71         "KHR-GLESEXT.geometry_shader.a",
72         "pi.incompatible_draw_call_mode");
73 
74 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000124,
75         "KHR-GLESEXT.geometry_shader.ap",
76         "i.insufficient_emitted_vertices");
77 
78 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000125,
79         "KHR-GLESEXT.geometry_shader.api",
80         ".program_pipeline_vs_gs_capture");
81 
82 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000126,
83         "KHR-GLESEXT.geometry_shader.api.draw_pr",
84         "imitives_do_not_match_output_primitives");
85 
86 static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000127,
87         "KHR-GLESEXT.geometry_shader.ap",
88         "i.draw_calls_while_tf_is_paused");
89