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 "../ActsDeqpgles30005TestSuite.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(ActsDeqpgles30005TestSuite, TestCase_004153,
27         "dEQP-GLES3.functional.shaders.fu",
28         "nctions.declarations.basic_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004154,
31         "dEQP-GLES3.functional.shaders.fun",
32         "ctions.declarations.basic_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004155,
35         "dEQP-GLES3.functional.shaders.func",
36         "tions.declarations.basic_arg_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004156,
39         "dEQP-GLES3.functional.shaders.funct",
40         "ions.declarations.basic_arg_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004157,
43         "dEQP-GLES3.functional.shaders.function",
44         "s.declarations.define_after_use_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004158,
47         "dEQP-GLES3.functional.shaders.functions",
48         ".declarations.define_after_use_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004159,
51         "dEQP-GLES3.functional.shaders.functio",
52         "ns.declarations.double_declare_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004160,
55         "dEQP-GLES3.functional.shaders.function",
56         "s.declarations.double_declare_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004161,
59         "dEQP-GLES3.functional.shaders.functions.",
60         "declarations.declare_after_define_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004162,
63         "dEQP-GLES3.functional.shaders.functions.d",
64         "eclarations.declare_after_define_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004163,
67         "dEQP-GLES3.functional.shaders.functio",
68         "ns.declarations.void_vs_no_void_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004164,
71         "dEQP-GLES3.functional.shaders.function",
72         "s.declarations.void_vs_no_void_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004165,
75         "dEQP-GLES3.functional.shaders.funct",
76         "ions.declarations.in_vs_no_in_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004166,
79         "dEQP-GLES3.functional.shaders.functi",
80         "ons.declarations.in_vs_no_in_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004167,
83         "dEQP-GLES3.functional.shaders.functions.decl",
84         "arations.default_vs_explicit_precision_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004168,
87         "dEQP-GLES3.functional.shaders.functions.decla",
88         "rations.default_vs_explicit_precision_fragment");
89