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 "../ActsDeqpgles30017TestSuite.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(ActsDeqpgles30017TestSuite, TestCase_016984,
27         "dEQP-GLES3.functional.shaders.texture_fu",
28         "nctions.texturelod.sampler2d_fixed_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016985,
31         "dEQP-GLES3.functional.shaders.texture_fun",
32         "ctions.texturelod.sampler2d_fixed_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016986,
35         "dEQP-GLES3.functional.shaders.texture_fu",
36         "nctions.texturelod.sampler2d_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016987,
39         "dEQP-GLES3.functional.shaders.texture_fun",
40         "ctions.texturelod.sampler2d_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016988,
43         "dEQP-GLES3.functional.shaders.texture_",
44         "functions.texturelod.isampler2d_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016989,
47         "dEQP-GLES3.functional.shaders.texture_f",
48         "unctions.texturelod.isampler2d_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016990,
51         "dEQP-GLES3.functional.shaders.texture_",
52         "functions.texturelod.usampler2d_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016991,
55         "dEQP-GLES3.functional.shaders.texture_f",
56         "unctions.texturelod.usampler2d_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016992,
59         "dEQP-GLES3.functional.shaders.texture_fun",
60         "ctions.texturelod.samplercube_fixed_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016993,
63         "dEQP-GLES3.functional.shaders.texture_func",
64         "tions.texturelod.samplercube_fixed_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016994,
67         "dEQP-GLES3.functional.shaders.texture_fun",
68         "ctions.texturelod.samplercube_float_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016995,
71         "dEQP-GLES3.functional.shaders.texture_func",
72         "tions.texturelod.samplercube_float_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016996,
75         "dEQP-GLES3.functional.shaders.texture_f",
76         "unctions.texturelod.isamplercube_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016997,
79         "dEQP-GLES3.functional.shaders.texture_fu",
80         "nctions.texturelod.isamplercube_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016998,
83         "dEQP-GLES3.functional.shaders.texture_f",
84         "unctions.texturelod.usamplercube_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016999,
87         "dEQP-GLES3.functional.shaders.texture_fu",
88         "nctions.texturelod.usamplercube_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017000,
91         "dEQP-GLES3.functional.shaders.texture_funct",
92         "ions.texturelod.sampler2darray_fixed_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017001,
95         "dEQP-GLES3.functional.shaders.texture_functi",
96         "ons.texturelod.sampler2darray_fixed_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017002,
99         "dEQP-GLES3.functional.shaders.texture_funct",
100         "ions.texturelod.sampler2darray_float_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017003,
103         "dEQP-GLES3.functional.shaders.texture_functi",
104         "ons.texturelod.sampler2darray_float_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017004,
107         "dEQP-GLES3.functional.shaders.texture_fu",
108         "nctions.texturelod.isampler2darray_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017005,
111         "dEQP-GLES3.functional.shaders.texture_fun",
112         "ctions.texturelod.isampler2darray_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017006,
115         "dEQP-GLES3.functional.shaders.texture_fu",
116         "nctions.texturelod.usampler2darray_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017007,
119         "dEQP-GLES3.functional.shaders.texture_fun",
120         "ctions.texturelod.usampler2darray_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017008,
123         "dEQP-GLES3.functional.shaders.texture_fu",
124         "nctions.texturelod.sampler3d_fixed_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017009,
127         "dEQP-GLES3.functional.shaders.texture_fun",
128         "ctions.texturelod.sampler3d_fixed_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017010,
131         "dEQP-GLES3.functional.shaders.texture_fu",
132         "nctions.texturelod.sampler3d_float_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017011,
135         "dEQP-GLES3.functional.shaders.texture_fun",
136         "ctions.texturelod.sampler3d_float_fragment");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017012,
139         "dEQP-GLES3.functional.shaders.texture_",
140         "functions.texturelod.isampler3d_vertex");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017013,
143         "dEQP-GLES3.functional.shaders.texture_f",
144         "unctions.texturelod.isampler3d_fragment");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017014,
147         "dEQP-GLES3.functional.shaders.texture_",
148         "functions.texturelod.usampler3d_vertex");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017015,
151         "dEQP-GLES3.functional.shaders.texture_f",
152         "unctions.texturelod.usampler3d_fragment");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017016,
155         "dEQP-GLES3.functional.shaders.texture_fu",
156         "nctions.texturelod.sampler2dshadow_vertex");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_017017,
159         "dEQP-GLES3.functional.shaders.texture_fun",
160         "ctions.texturelod.sampler2dshadow_fragment");
161