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 "../ActsDeqpgles30019TestSuite.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(ActsDeqpgles30019TestSuite, TestCase_018279,
27         "dEQP-GLES3.functional.shaders.builtin_funct",
28         "ions.common.floatbitstoint.float_lowp_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018280,
31         "dEQP-GLES3.functional.shaders.builtin_functi",
32         "ons.common.floatbitstoint.float_lowp_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018281,
35         "dEQP-GLES3.functional.shaders.builtin_functio",
36         "ns.common.floatbitstoint.float_mediump_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018282,
39         "dEQP-GLES3.functional.shaders.builtin_function",
40         "s.common.floatbitstoint.float_mediump_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018283,
43         "dEQP-GLES3.functional.shaders.builtin_functi",
44         "ons.common.floatbitstoint.float_highp_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018284,
47         "dEQP-GLES3.functional.shaders.builtin_functio",
48         "ns.common.floatbitstoint.float_highp_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018285,
51         "dEQP-GLES3.functional.shaders.builtin_funct",
52         "ions.common.floatbitstoint.vec2_lowp_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018286,
55         "dEQP-GLES3.functional.shaders.builtin_functi",
56         "ons.common.floatbitstoint.vec2_lowp_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018287,
59         "dEQP-GLES3.functional.shaders.builtin_functi",
60         "ons.common.floatbitstoint.vec2_mediump_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018288,
63         "dEQP-GLES3.functional.shaders.builtin_functio",
64         "ns.common.floatbitstoint.vec2_mediump_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018289,
67         "dEQP-GLES3.functional.shaders.builtin_funct",
68         "ions.common.floatbitstoint.vec2_highp_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018290,
71         "dEQP-GLES3.functional.shaders.builtin_functi",
72         "ons.common.floatbitstoint.vec2_highp_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018291,
75         "dEQP-GLES3.functional.shaders.builtin_funct",
76         "ions.common.floatbitstoint.vec3_lowp_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018292,
79         "dEQP-GLES3.functional.shaders.builtin_functi",
80         "ons.common.floatbitstoint.vec3_lowp_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018293,
83         "dEQP-GLES3.functional.shaders.builtin_functi",
84         "ons.common.floatbitstoint.vec3_mediump_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018294,
87         "dEQP-GLES3.functional.shaders.builtin_functio",
88         "ns.common.floatbitstoint.vec3_mediump_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018295,
91         "dEQP-GLES3.functional.shaders.builtin_funct",
92         "ions.common.floatbitstoint.vec3_highp_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018296,
95         "dEQP-GLES3.functional.shaders.builtin_functi",
96         "ons.common.floatbitstoint.vec3_highp_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018297,
99         "dEQP-GLES3.functional.shaders.builtin_funct",
100         "ions.common.floatbitstoint.vec4_lowp_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018298,
103         "dEQP-GLES3.functional.shaders.builtin_functi",
104         "ons.common.floatbitstoint.vec4_lowp_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018299,
107         "dEQP-GLES3.functional.shaders.builtin_functi",
108         "ons.common.floatbitstoint.vec4_mediump_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018300,
111         "dEQP-GLES3.functional.shaders.builtin_functio",
112         "ns.common.floatbitstoint.vec4_mediump_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018301,
115         "dEQP-GLES3.functional.shaders.builtin_funct",
116         "ions.common.floatbitstoint.vec4_highp_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018302,
119         "dEQP-GLES3.functional.shaders.builtin_functi",
120         "ons.common.floatbitstoint.vec4_highp_fragment");
121