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_038422,
27         "dEQP-GLES3.functional.att",
28         "ribute_location.bind.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038423,
31         "dEQP-GLES3.functional.att",
32         "ribute_location.bind.vec2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038424,
35         "dEQP-GLES3.functional.att",
36         "ribute_location.bind.vec3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038425,
39         "dEQP-GLES3.functional.att",
40         "ribute_location.bind.vec4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038426,
43         "dEQP-GLES3.functional.att",
44         "ribute_location.bind.mat2");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038427,
47         "dEQP-GLES3.functional.att",
48         "ribute_location.bind.mat3");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038428,
51         "dEQP-GLES3.functional.att",
52         "ribute_location.bind.mat4");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038429,
55         "dEQP-GLES3.functional.at",
56         "tribute_location.bind.int");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038430,
59         "dEQP-GLES3.functional.att",
60         "ribute_location.bind.ivec2");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038431,
63         "dEQP-GLES3.functional.att",
64         "ribute_location.bind.ivec3");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038432,
67         "dEQP-GLES3.functional.att",
68         "ribute_location.bind.ivec4");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038433,
71         "dEQP-GLES3.functional.att",
72         "ribute_location.bind.uint");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038434,
75         "dEQP-GLES3.functional.att",
76         "ribute_location.bind.uvec2");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038435,
79         "dEQP-GLES3.functional.att",
80         "ribute_location.bind.uvec3");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038436,
83         "dEQP-GLES3.functional.att",
84         "ribute_location.bind.uvec4");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038437,
87         "dEQP-GLES3.functional.attr",
88         "ibute_location.bind.mat2x2");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038438,
91         "dEQP-GLES3.functional.attr",
92         "ibute_location.bind.mat2x3");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038439,
95         "dEQP-GLES3.functional.attr",
96         "ibute_location.bind.mat2x4");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038440,
99         "dEQP-GLES3.functional.attr",
100         "ibute_location.bind.mat3x2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038441,
103         "dEQP-GLES3.functional.attr",
104         "ibute_location.bind.mat3x3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038442,
107         "dEQP-GLES3.functional.attr",
108         "ibute_location.bind.mat3x4");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038443,
111         "dEQP-GLES3.functional.attr",
112         "ibute_location.bind.mat4x2");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038444,
115         "dEQP-GLES3.functional.attr",
116         "ibute_location.bind.mat4x3");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038445,
119         "dEQP-GLES3.functional.attr",
120         "ibute_location.bind.mat4x4");
121