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
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017542,
27        "dEQP-GLES3.functional.shaders.deriv",
28        "ate.dfdx.texture.basic.float_mediump");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017543,
31        "dEQP-GLES3.functional.shaders.deri",
32        "vate.dfdx.texture.basic.float_highp");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017544,
35        "dEQP-GLES3.functional.shaders.deriv",
36        "ate.dfdx.texture.basic.vec2_mediump");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017545,
39        "dEQP-GLES3.functional.shaders.deri",
40        "vate.dfdx.texture.basic.vec2_highp");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017546,
43        "dEQP-GLES3.functional.shaders.deriv",
44        "ate.dfdx.texture.basic.vec3_mediump");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017547,
47        "dEQP-GLES3.functional.shaders.deri",
48        "vate.dfdx.texture.basic.vec3_highp");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017548,
51        "dEQP-GLES3.functional.shaders.deriv",
52        "ate.dfdx.texture.basic.vec4_mediump");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017549,
55        "dEQP-GLES3.functional.shaders.deri",
56        "vate.dfdx.texture.basic.vec4_highp");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017723,
59        "dEQP-GLES3.functional.shaders.deriv",
60        "ate.dfdy.texture.basic.float_mediump");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017724,
63        "dEQP-GLES3.functional.shaders.deri",
64        "vate.dfdy.texture.basic.float_highp");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017725,
67        "dEQP-GLES3.functional.shaders.deriv",
68        "ate.dfdy.texture.basic.vec2_mediump");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017726,
71        "dEQP-GLES3.functional.shaders.deri",
72        "vate.dfdy.texture.basic.vec2_highp");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017727,
75        "dEQP-GLES3.functional.shaders.deriv",
76        "ate.dfdy.texture.basic.vec3_mediump");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017728,
79        "dEQP-GLES3.functional.shaders.deri",
80        "vate.dfdy.texture.basic.vec3_highp");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017729,
83        "dEQP-GLES3.functional.shaders.deriv",
84        "ate.dfdy.texture.basic.vec4_mediump");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017730,
87        "dEQP-GLES3.functional.shaders.deri",
88        "vate.dfdy.texture.basic.vec4_highp");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017927,
91        "dEQP-GLES3.functional.shaders.deriva",
92        "te.fwidth.texture.basic.float_mediump");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017928,
95        "dEQP-GLES3.functional.shaders.deriv",
96        "ate.fwidth.texture.basic.float_highp");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017929,
99        "dEQP-GLES3.functional.shaders.deriva",
100        "te.fwidth.texture.basic.vec2_mediump");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017930,
103        "dEQP-GLES3.functional.shaders.deriv",
104        "ate.fwidth.texture.basic.vec2_highp");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017931,
107        "dEQP-GLES3.functional.shaders.deriva",
108        "te.fwidth.texture.basic.vec3_mediump");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017932,
111        "dEQP-GLES3.functional.shaders.deriv",
112        "ate.fwidth.texture.basic.vec3_highp");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017933,
115        "dEQP-GLES3.functional.shaders.deriva",
116        "te.fwidth.texture.basic.vec4_mediump");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017934,
119        "dEQP-GLES3.functional.shaders.deriv",
120        "ate.fwidth.texture.basic.vec4_highp");
121