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_040485,
27         "dEQP-GLES3.functional.rasterizer",
28         "_discard.basic.write_depth_points");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040486,
31         "dEQP-GLES3.functional.rasterizer",
32         "_discard.basic.write_depth_lines");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040487,
35         "dEQP-GLES3.functional.rasterizer_d",
36         "iscard.basic.write_depth_line_strip");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040488,
39         "dEQP-GLES3.functional.rasterizer_d",
40         "iscard.basic.write_depth_line_loop");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040489,
43         "dEQP-GLES3.functional.rasterizer_d",
44         "iscard.basic.write_depth_triangles");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040490,
47         "dEQP-GLES3.functional.rasterizer_dis",
48         "card.basic.write_depth_triangle_strip");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040491,
51         "dEQP-GLES3.functional.rasterizer_di",
52         "scard.basic.write_depth_triangle_fan");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040492,
55         "dEQP-GLES3.functional.rasterizer_",
56         "discard.basic.write_stencil_points");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040493,
59         "dEQP-GLES3.functional.rasterizer_",
60         "discard.basic.write_stencil_lines");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040494,
63         "dEQP-GLES3.functional.rasterizer_di",
64         "scard.basic.write_stencil_line_strip");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040495,
67         "dEQP-GLES3.functional.rasterizer_di",
68         "scard.basic.write_stencil_line_loop");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040496,
71         "dEQP-GLES3.functional.rasterizer_di",
72         "scard.basic.write_stencil_triangles");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040497,
75         "dEQP-GLES3.functional.rasterizer_disc",
76         "ard.basic.write_stencil_triangle_strip");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040498,
79         "dEQP-GLES3.functional.rasterizer_dis",
80         "card.basic.write_stencil_triangle_fan");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040499,
83         "dEQP-GLES3.functional.rasteri",
84         "zer_discard.basic.clear_color");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040500,
87         "dEQP-GLES3.functional.rasteri",
88         "zer_discard.basic.clear_depth");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30041TestSuite, TestCase_040501,
91         "dEQP-GLES3.functional.rasteriz",
92         "er_discard.basic.clear_stencil");
93