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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20003TestSuite.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(ActsDeqpgles20003TestSuite, TestCase_002137,
27         "dEQP-GLES2.functional.shaders.functi",
28         "ons.control_flow.simple_return_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002138,
31         "dEQP-GLES2.functional.shaders.functio",
32         "ns.control_flow.simple_return_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002139,
35         "dEQP-GLES2.functional.shaders.functi",
36         "ons.control_flow.return_in_if_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002140,
39         "dEQP-GLES2.functional.shaders.functio",
40         "ns.control_flow.return_in_if_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002141,
43         "dEQP-GLES2.functional.shaders.functio",
44         "ns.control_flow.return_in_else_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002142,
47         "dEQP-GLES2.functional.shaders.function",
48         "s.control_flow.return_in_else_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002143,
51         "dEQP-GLES2.functional.shaders.functio",
52         "ns.control_flow.return_in_loop_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002144,
55         "dEQP-GLES2.functional.shaders.function",
56         "s.control_flow.return_in_loop_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002145,
59         "dEQP-GLES2.functional.shaders.function",
60         "s.control_flow.return_in_loop_if_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002146,
63         "dEQP-GLES2.functional.shaders.functions",
64         ".control_flow.return_in_loop_if_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002147,
67         "dEQP-GLES2.functional.shaders.function",
68         "s.control_flow.return_after_loop_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002148,
71         "dEQP-GLES2.functional.shaders.functions",
72         ".control_flow.return_after_loop_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002149,
75         "dEQP-GLES2.functional.shaders.functions",
76         ".control_flow.return_after_break_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002150,
79         "dEQP-GLES2.functional.shaders.functions.",
80         "control_flow.return_after_break_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002151,
83         "dEQP-GLES2.functional.shaders.functions.",
84         "control_flow.return_after_continue_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002152,
87         "dEQP-GLES2.functional.shaders.functions.c",
88         "ontrol_flow.return_after_continue_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002153,
91         "dEQP-GLES2.functional.shaders.functions.",
92         "control_flow.return_in_nested_loop_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002154,
95         "dEQP-GLES2.functional.shaders.functions.c",
96         "ontrol_flow.return_in_nested_loop_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002155,
99         "dEQP-GLES2.functional.shaders.functions.con",
100         "trol_flow.return_after_loop_sequence_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002156,
103         "dEQP-GLES2.functional.shaders.functions.cont",
104         "rol_flow.return_after_loop_sequence_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002157,
107         "dEQP-GLES2.functional.shaders.functions.con",
108         "trol_flow.mixed_return_break_continue_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002158,
111         "dEQP-GLES2.functional.shaders.functions.cont",
112         "rol_flow.mixed_return_break_continue_fragment");
113