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 "../ActsDeqpgles30039TestSuite.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(ActsDeqpgles30039TestSuite, TestCase_038494,
27         "dEQP-GLES3.functional.attrib",
28         "ute_location.bind_hole.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038495,
31         "dEQP-GLES3.functional.attri",
32         "bute_location.bind_hole.vec2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038496,
35         "dEQP-GLES3.functional.attri",
36         "bute_location.bind_hole.vec3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038497,
39         "dEQP-GLES3.functional.attri",
40         "bute_location.bind_hole.vec4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038498,
43         "dEQP-GLES3.functional.attri",
44         "bute_location.bind_hole.mat2");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038499,
47         "dEQP-GLES3.functional.attri",
48         "bute_location.bind_hole.mat3");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038500,
51         "dEQP-GLES3.functional.attri",
52         "bute_location.bind_hole.mat4");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038501,
55         "dEQP-GLES3.functional.attri",
56         "bute_location.bind_hole.int");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038502,
59         "dEQP-GLES3.functional.attrib",
60         "ute_location.bind_hole.ivec2");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038503,
63         "dEQP-GLES3.functional.attrib",
64         "ute_location.bind_hole.ivec3");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038504,
67         "dEQP-GLES3.functional.attrib",
68         "ute_location.bind_hole.ivec4");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038505,
71         "dEQP-GLES3.functional.attri",
72         "bute_location.bind_hole.uint");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038506,
75         "dEQP-GLES3.functional.attrib",
76         "ute_location.bind_hole.uvec2");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038507,
79         "dEQP-GLES3.functional.attrib",
80         "ute_location.bind_hole.uvec3");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038508,
83         "dEQP-GLES3.functional.attrib",
84         "ute_location.bind_hole.uvec4");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038509,
87         "dEQP-GLES3.functional.attrib",
88         "ute_location.bind_hole.mat2x2");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038510,
91         "dEQP-GLES3.functional.attrib",
92         "ute_location.bind_hole.mat2x3");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038511,
95         "dEQP-GLES3.functional.attrib",
96         "ute_location.bind_hole.mat2x4");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038512,
99         "dEQP-GLES3.functional.attrib",
100         "ute_location.bind_hole.mat3x2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038513,
103         "dEQP-GLES3.functional.attrib",
104         "ute_location.bind_hole.mat3x3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038514,
107         "dEQP-GLES3.functional.attrib",
108         "ute_location.bind_hole.mat3x4");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038515,
111         "dEQP-GLES3.functional.attrib",
112         "ute_location.bind_hole.mat4x2");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038516,
115         "dEQP-GLES3.functional.attrib",
116         "ute_location.bind_hole.mat4x3");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038517,
119         "dEQP-GLES3.functional.attrib",
120         "ute_location.bind_hole.mat4x4");
121