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 "../ActsDeqpgles30013TestSuite.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(ActsDeqpgles30013TestSuite, TestCase_012622,
27         "dEQP-GLES3.functional.shaders.operator.",
28         "common_functions.trunc.lowp_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012623,
31         "dEQP-GLES3.functional.shaders.operator.c",
32         "ommon_functions.trunc.lowp_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012624,
35         "dEQP-GLES3.functional.shaders.operator.co",
36         "mmon_functions.trunc.mediump_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012625,
39         "dEQP-GLES3.functional.shaders.operator.com",
40         "mon_functions.trunc.mediump_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012626,
43         "dEQP-GLES3.functional.shaders.operator.c",
44         "ommon_functions.trunc.highp_float_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012627,
47         "dEQP-GLES3.functional.shaders.operator.co",
48         "mmon_functions.trunc.highp_float_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012628,
51         "dEQP-GLES3.functional.shaders.operator.",
52         "common_functions.trunc.lowp_vec2_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012629,
55         "dEQP-GLES3.functional.shaders.operator.c",
56         "ommon_functions.trunc.lowp_vec2_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012630,
59         "dEQP-GLES3.functional.shaders.operator.c",
60         "ommon_functions.trunc.mediump_vec2_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012631,
63         "dEQP-GLES3.functional.shaders.operator.co",
64         "mmon_functions.trunc.mediump_vec2_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012632,
67         "dEQP-GLES3.functional.shaders.operator.",
68         "common_functions.trunc.highp_vec2_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012633,
71         "dEQP-GLES3.functional.shaders.operator.c",
72         "ommon_functions.trunc.highp_vec2_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012634,
75         "dEQP-GLES3.functional.shaders.operator.",
76         "common_functions.trunc.lowp_vec3_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012635,
79         "dEQP-GLES3.functional.shaders.operator.c",
80         "ommon_functions.trunc.lowp_vec3_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012636,
83         "dEQP-GLES3.functional.shaders.operator.c",
84         "ommon_functions.trunc.mediump_vec3_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012637,
87         "dEQP-GLES3.functional.shaders.operator.co",
88         "mmon_functions.trunc.mediump_vec3_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012638,
91         "dEQP-GLES3.functional.shaders.operator.",
92         "common_functions.trunc.highp_vec3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012639,
95         "dEQP-GLES3.functional.shaders.operator.c",
96         "ommon_functions.trunc.highp_vec3_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012640,
99         "dEQP-GLES3.functional.shaders.operator.",
100         "common_functions.trunc.lowp_vec4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012641,
103         "dEQP-GLES3.functional.shaders.operator.c",
104         "ommon_functions.trunc.lowp_vec4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012642,
107         "dEQP-GLES3.functional.shaders.operator.c",
108         "ommon_functions.trunc.mediump_vec4_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012643,
111         "dEQP-GLES3.functional.shaders.operator.co",
112         "mmon_functions.trunc.mediump_vec4_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012644,
115         "dEQP-GLES3.functional.shaders.operator.",
116         "common_functions.trunc.highp_vec4_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30013TestSuite, TestCase_012645,
119         "dEQP-GLES3.functional.shaders.operator.c",
120         "ommon_functions.trunc.highp_vec4_fragment");
121