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_017550,
27         "dEQP-GLES3.functional.shaders.deriv",
28         "ate.dfdx.texture.msaa4.float_mediump");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017551,
31         "dEQP-GLES3.functional.shaders.deri",
32         "vate.dfdx.texture.msaa4.float_highp");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017552,
35         "dEQP-GLES3.functional.shaders.deriv",
36         "ate.dfdx.texture.msaa4.vec2_mediump");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017553,
39         "dEQP-GLES3.functional.shaders.deri",
40         "vate.dfdx.texture.msaa4.vec2_highp");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017554,
43         "dEQP-GLES3.functional.shaders.deriv",
44         "ate.dfdx.texture.msaa4.vec3_mediump");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017555,
47         "dEQP-GLES3.functional.shaders.deri",
48         "vate.dfdx.texture.msaa4.vec3_highp");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017556,
51         "dEQP-GLES3.functional.shaders.deriv",
52         "ate.dfdx.texture.msaa4.vec4_mediump");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017557,
55         "dEQP-GLES3.functional.shaders.deri",
56         "vate.dfdx.texture.msaa4.vec4_highp");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017731,
59         "dEQP-GLES3.functional.shaders.deriv",
60         "ate.dfdy.texture.msaa4.float_mediump");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017732,
63         "dEQP-GLES3.functional.shaders.deri",
64         "vate.dfdy.texture.msaa4.float_highp");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017733,
67         "dEQP-GLES3.functional.shaders.deriv",
68         "ate.dfdy.texture.msaa4.vec2_mediump");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017734,
71         "dEQP-GLES3.functional.shaders.deri",
72         "vate.dfdy.texture.msaa4.vec2_highp");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017735,
75         "dEQP-GLES3.functional.shaders.deriv",
76         "ate.dfdy.texture.msaa4.vec3_mediump");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017736,
79         "dEQP-GLES3.functional.shaders.deri",
80         "vate.dfdy.texture.msaa4.vec3_highp");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017737,
83         "dEQP-GLES3.functional.shaders.deriv",
84         "ate.dfdy.texture.msaa4.vec4_mediump");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017738,
87         "dEQP-GLES3.functional.shaders.deri",
88         "vate.dfdy.texture.msaa4.vec4_highp");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017935,
91         "dEQP-GLES3.functional.shaders.deriva",
92         "te.fwidth.texture.msaa4.float_mediump");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017936,
95         "dEQP-GLES3.functional.shaders.deriv",
96         "ate.fwidth.texture.msaa4.float_highp");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017937,
99         "dEQP-GLES3.functional.shaders.deriva",
100         "te.fwidth.texture.msaa4.vec2_mediump");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017938,
103         "dEQP-GLES3.functional.shaders.deriv",
104         "ate.fwidth.texture.msaa4.vec2_highp");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017939,
107         "dEQP-GLES3.functional.shaders.deriva",
108         "te.fwidth.texture.msaa4.vec3_mediump");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017940,
111         "dEQP-GLES3.functional.shaders.deriv",
112         "ate.fwidth.texture.msaa4.vec3_highp");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017941,
115         "dEQP-GLES3.functional.shaders.deriva",
116         "te.fwidth.texture.msaa4.vec4_mediump");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017942,
119         "dEQP-GLES3.functional.shaders.deriv",
120         "ate.fwidth.texture.msaa4.vec4_highp");
121