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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310004TestSuite.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(ActsDeqpgles310004TestSuite, TestCase_003674,
27         "dEQP-GLES31.functional.shaders.opaque_type_index",
28         "ing.sampler.dynamically_uniform.compute.sampler2d");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003675,
31         "dEQP-GLES31.functional.shaders.opaque_type_indexi",
32         "ng.sampler.dynamically_uniform.compute.samplercube");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003676,
35         "dEQP-GLES31.functional.shaders.opaque_type_indexing",
36         ".sampler.dynamically_uniform.compute.sampler2darray");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003677,
39         "dEQP-GLES31.functional.shaders.opaque_type_index",
40         "ing.sampler.dynamically_uniform.compute.sampler3d");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003678,
43         "dEQP-GLES31.functional.shaders.opaque_type_indexing",
44         ".sampler.dynamically_uniform.compute.sampler2dshadow");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003679,
47         "dEQP-GLES31.functional.shaders.opaque_type_indexing.",
48         "sampler.dynamically_uniform.compute.samplercubeshadow");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003680,
51         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sa",
52         "mpler.dynamically_uniform.compute.sampler2darrayshadow");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003681,
55         "dEQP-GLES31.functional.shaders.opaque_type_indexi",
56         "ng.sampler.dynamically_uniform.compute.isampler2d");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003682,
59         "dEQP-GLES31.functional.shaders.opaque_type_indexin",
60         "g.sampler.dynamically_uniform.compute.isamplercube");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003683,
63         "dEQP-GLES31.functional.shaders.opaque_type_indexing",
64         ".sampler.dynamically_uniform.compute.isampler2darray");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003684,
67         "dEQP-GLES31.functional.shaders.opaque_type_indexi",
68         "ng.sampler.dynamically_uniform.compute.isampler3d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003685,
71         "dEQP-GLES31.functional.shaders.opaque_type_indexi",
72         "ng.sampler.dynamically_uniform.compute.usampler2d");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003686,
75         "dEQP-GLES31.functional.shaders.opaque_type_indexin",
76         "g.sampler.dynamically_uniform.compute.usamplercube");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003687,
79         "dEQP-GLES31.functional.shaders.opaque_type_indexing",
80         ".sampler.dynamically_uniform.compute.usampler2darray");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003688,
83         "dEQP-GLES31.functional.shaders.opaque_type_indexi",
84         "ng.sampler.dynamically_uniform.compute.usampler3d");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003689,
87         "dEQP-GLES31.functional.shaders.opaque_type_indexing.",
88         "sampler.dynamically_uniform.compute.samplercubearray");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003690,
91         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sam",
92         "pler.dynamically_uniform.compute.samplercubearrayshadow");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003691,
95         "dEQP-GLES31.functional.shaders.opaque_type_indexing.",
96         "sampler.dynamically_uniform.compute.isamplercubearray");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003692,
99         "dEQP-GLES31.functional.shaders.opaque_type_indexing.",
100         "sampler.dynamically_uniform.compute.usamplercubearray");
101