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 "../ActsDeqpgles30025TestSuite.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(ActsDeqpgles30025TestSuite, TestCase_024609,
27         "dEQP-GLES3.functional.texture.f",
28         "iltering.3d.sizes.4x8x8_nearest");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024610,
31         "dEQP-GLES3.functional.texture.",
32         "filtering.3d.sizes.4x8x8_linear");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024611,
35         "dEQP-GLES3.functional.texture.filterin",
36         "g.3d.sizes.4x8x8_nearest_mipmap_nearest");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024612,
39         "dEQP-GLES3.functional.texture.filterin",
40         "g.3d.sizes.4x8x8_linear_mipmap_nearest");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024613,
43         "dEQP-GLES3.functional.texture.filterin",
44         "g.3d.sizes.4x8x8_nearest_mipmap_linear");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024614,
47         "dEQP-GLES3.functional.texture.filteri",
48         "ng.3d.sizes.4x8x8_linear_mipmap_linear");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024615,
51         "dEQP-GLES3.functional.texture.fi",
52         "ltering.3d.sizes.32x64x16_nearest");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024616,
55         "dEQP-GLES3.functional.texture.fi",
56         "ltering.3d.sizes.32x64x16_linear");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024617,
59         "dEQP-GLES3.functional.texture.filtering.",
60         "3d.sizes.32x64x16_nearest_mipmap_nearest");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024618,
63         "dEQP-GLES3.functional.texture.filtering",
64         ".3d.sizes.32x64x16_linear_mipmap_nearest");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024619,
67         "dEQP-GLES3.functional.texture.filtering",
68         ".3d.sizes.32x64x16_nearest_mipmap_linear");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024620,
71         "dEQP-GLES3.functional.texture.filtering",
72         ".3d.sizes.32x64x16_linear_mipmap_linear");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024621,
75         "dEQP-GLES3.functional.texture.fil",
76         "tering.3d.sizes.128x32x64_nearest");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024622,
79         "dEQP-GLES3.functional.texture.fi",
80         "ltering.3d.sizes.128x32x64_linear");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024623,
83         "dEQP-GLES3.functional.texture.filtering.",
84         "3d.sizes.128x32x64_nearest_mipmap_nearest");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024624,
87         "dEQP-GLES3.functional.texture.filtering.",
88         "3d.sizes.128x32x64_linear_mipmap_nearest");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024625,
91         "dEQP-GLES3.functional.texture.filtering.",
92         "3d.sizes.128x32x64_nearest_mipmap_linear");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024626,
95         "dEQP-GLES3.functional.texture.filtering",
96         ".3d.sizes.128x32x64_linear_mipmap_linear");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024627,
99         "dEQP-GLES3.functional.texture.f",
100         "iltering.3d.sizes.3x7x5_nearest");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024628,
103         "dEQP-GLES3.functional.texture.",
104         "filtering.3d.sizes.3x7x5_linear");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024629,
107         "dEQP-GLES3.functional.texture.filterin",
108         "g.3d.sizes.3x7x5_nearest_mipmap_nearest");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024630,
111         "dEQP-GLES3.functional.texture.filterin",
112         "g.3d.sizes.3x7x5_linear_mipmap_nearest");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024631,
115         "dEQP-GLES3.functional.texture.filterin",
116         "g.3d.sizes.3x7x5_nearest_mipmap_linear");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024632,
119         "dEQP-GLES3.functional.texture.filteri",
120         "ng.3d.sizes.3x7x5_linear_mipmap_linear");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024633,
123         "dEQP-GLES3.functional.texture.fi",
124         "ltering.3d.sizes.63x63x63_nearest");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024634,
127         "dEQP-GLES3.functional.texture.fi",
128         "ltering.3d.sizes.63x63x63_linear");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024635,
131         "dEQP-GLES3.functional.texture.filtering.",
132         "3d.sizes.63x63x63_nearest_mipmap_nearest");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024636,
135         "dEQP-GLES3.functional.texture.filtering",
136         ".3d.sizes.63x63x63_linear_mipmap_nearest");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024637,
139         "dEQP-GLES3.functional.texture.filtering",
140         ".3d.sizes.63x63x63_nearest_mipmap_linear");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024638,
143         "dEQP-GLES3.functional.texture.filtering",
144         ".3d.sizes.63x63x63_linear_mipmap_linear");
145