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_003484,
27         "dEQP-GLES31.functional.shaders.opaque_type_indexing.s",
28         "ampler.const_expression.tessellation_control.sampler2d");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003485,
31         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sa",
32         "mpler.const_expression.tessellation_control.samplercube");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003486,
35         "dEQP-GLES31.functional.shaders.opaque_type_indexing.samp",
36         "ler.const_expression.tessellation_control.sampler2darray");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003487,
39         "dEQP-GLES31.functional.shaders.opaque_type_indexing.s",
40         "ampler.const_expression.tessellation_control.sampler3d");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003488,
43         "dEQP-GLES31.functional.shaders.opaque_type_indexing.samp",
44         "ler.const_expression.tessellation_control.sampler2dshadow");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003489,
47         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sampl",
48         "er.const_expression.tessellation_control.samplercubeshadow");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003490,
51         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler",
52         ".const_expression.tessellation_control.sampler2darrayshadow");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003491,
55         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sa",
56         "mpler.const_expression.tessellation_control.isampler2d");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003492,
59         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sam",
60         "pler.const_expression.tessellation_control.isamplercube");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003493,
63         "dEQP-GLES31.functional.shaders.opaque_type_indexing.samp",
64         "ler.const_expression.tessellation_control.isampler2darray");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003494,
67         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sa",
68         "mpler.const_expression.tessellation_control.isampler3d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003495,
71         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sa",
72         "mpler.const_expression.tessellation_control.usampler2d");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003496,
75         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sam",
76         "pler.const_expression.tessellation_control.usamplercube");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003497,
79         "dEQP-GLES31.functional.shaders.opaque_type_indexing.samp",
80         "ler.const_expression.tessellation_control.usampler2darray");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003498,
83         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sa",
84         "mpler.const_expression.tessellation_control.usampler3d");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003499,
87         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sampl",
88         "er.const_expression.tessellation_control.samplercubearray");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003500,
91         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.",
92         "const_expression.tessellation_control.samplercubearrayshadow");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003501,
95         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sampl",
96         "er.const_expression.tessellation_control.isamplercubearray");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310004TestSuite, TestCase_003502,
99         "dEQP-GLES31.functional.shaders.opaque_type_indexing.sampl",
100         "er.const_expression.tessellation_control.usamplercubearray");
101