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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30041TestSuite.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(ActsDeqpgles30041TestSuite, TestCase_040519,
27         "dEQP-GLES3.functional.rasterize",
28         "r_discard.fbo.write_depth_points");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040520,
31         "dEQP-GLES3.functional.rasterize",
32         "r_discard.fbo.write_depth_lines");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040521,
35         "dEQP-GLES3.functional.rasterizer_",
36         "discard.fbo.write_depth_line_strip");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040522,
39         "dEQP-GLES3.functional.rasterizer_",
40         "discard.fbo.write_depth_line_loop");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040523,
43         "dEQP-GLES3.functional.rasterizer_",
44         "discard.fbo.write_depth_triangles");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040524,
47         "dEQP-GLES3.functional.rasterizer_di",
48         "scard.fbo.write_depth_triangle_strip");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040525,
51         "dEQP-GLES3.functional.rasterizer_d",
52         "iscard.fbo.write_depth_triangle_fan");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040526,
55         "dEQP-GLES3.functional.rasterizer",
56         "_discard.fbo.write_stencil_points");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040527,
59         "dEQP-GLES3.functional.rasterizer",
60         "_discard.fbo.write_stencil_lines");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040528,
63         "dEQP-GLES3.functional.rasterizer_d",
64         "iscard.fbo.write_stencil_line_strip");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040529,
67         "dEQP-GLES3.functional.rasterizer_d",
68         "iscard.fbo.write_stencil_line_loop");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040530,
71         "dEQP-GLES3.functional.rasterizer_d",
72         "iscard.fbo.write_stencil_triangles");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040531,
75         "dEQP-GLES3.functional.rasterizer_dis",
76         "card.fbo.write_stencil_triangle_strip");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040532,
79         "dEQP-GLES3.functional.rasterizer_di",
80         "scard.fbo.write_stencil_triangle_fan");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040533,
83         "dEQP-GLES3.functional.raster",
84         "izer_discard.fbo.clear_color");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040534,
87         "dEQP-GLES3.functional.raster",
88         "izer_discard.fbo.clear_depth");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040535,
91         "dEQP-GLES3.functional.rasteri",
92         "zer_discard.fbo.clear_stencil");
93