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 "../ActsDeqpgles30018TestSuite.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(ActsDeqpgles30018TestSuite, TestCase_017529,
27         "dEQP-GLES3.functional.shaders.derivat",
28         "e.dfdx.nicest.fbo_msaa4.float_mediump");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017530,
31         "dEQP-GLES3.functional.shaders.deriva",
32         "te.dfdx.nicest.fbo_msaa4.float_highp");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017531,
35         "dEQP-GLES3.functional.shaders.deriva",
36         "te.dfdx.nicest.fbo_msaa4.vec2_mediump");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017532,
39         "dEQP-GLES3.functional.shaders.deriv",
40         "ate.dfdx.nicest.fbo_msaa4.vec2_highp");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017533,
43         "dEQP-GLES3.functional.shaders.deriva",
44         "te.dfdx.nicest.fbo_msaa4.vec3_mediump");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017534,
47         "dEQP-GLES3.functional.shaders.deriv",
48         "ate.dfdx.nicest.fbo_msaa4.vec3_highp");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017535,
51         "dEQP-GLES3.functional.shaders.deriva",
52         "te.dfdx.nicest.fbo_msaa4.vec4_mediump");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017536,
55         "dEQP-GLES3.functional.shaders.deriv",
56         "ate.dfdx.nicest.fbo_msaa4.vec4_highp");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017707,
59         "dEQP-GLES3.functional.shaders.derivat",
60         "e.dfdy.nicest.fbo_msaa4.float_mediump");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017708,
63         "dEQP-GLES3.functional.shaders.deriva",
64         "te.dfdy.nicest.fbo_msaa4.float_highp");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017709,
67         "dEQP-GLES3.functional.shaders.deriva",
68         "te.dfdy.nicest.fbo_msaa4.vec2_mediump");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017710,
71         "dEQP-GLES3.functional.shaders.deriv",
72         "ate.dfdy.nicest.fbo_msaa4.vec2_highp");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017711,
75         "dEQP-GLES3.functional.shaders.deriva",
76         "te.dfdy.nicest.fbo_msaa4.vec3_mediump");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017712,
79         "dEQP-GLES3.functional.shaders.deriv",
80         "ate.dfdy.nicest.fbo_msaa4.vec3_highp");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017713,
83         "dEQP-GLES3.functional.shaders.deriva",
84         "te.dfdy.nicest.fbo_msaa4.vec4_mediump");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017714,
87         "dEQP-GLES3.functional.shaders.deriv",
88         "ate.dfdy.nicest.fbo_msaa4.vec4_highp");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017907,
91         "dEQP-GLES3.functional.shaders.derivate",
92         ".fwidth.nicest.fbo_msaa4.float_mediump");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017908,
95         "dEQP-GLES3.functional.shaders.derivat",
96         "e.fwidth.nicest.fbo_msaa4.float_highp");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017909,
99         "dEQP-GLES3.functional.shaders.derivat",
100         "e.fwidth.nicest.fbo_msaa4.vec2_mediump");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017910,
103         "dEQP-GLES3.functional.shaders.deriva",
104         "te.fwidth.nicest.fbo_msaa4.vec2_highp");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017911,
107         "dEQP-GLES3.functional.shaders.derivat",
108         "e.fwidth.nicest.fbo_msaa4.vec3_mediump");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017912,
111         "dEQP-GLES3.functional.shaders.deriva",
112         "te.fwidth.nicest.fbo_msaa4.vec3_highp");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017913,
115         "dEQP-GLES3.functional.shaders.derivat",
116         "e.fwidth.nicest.fbo_msaa4.vec4_mediump");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017914,
119         "dEQP-GLES3.functional.shaders.deriva",
120         "te.fwidth.nicest.fbo_msaa4.vec4_highp");
121