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_038523,
27         "dEQP-GLES3.functional.attr",
28         "ibute_location.layout.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038524,
31         "dEQP-GLES3.functional.attr",
32         "ibute_location.layout.vec2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038525,
35         "dEQP-GLES3.functional.attr",
36         "ibute_location.layout.vec3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038526,
39         "dEQP-GLES3.functional.attr",
40         "ibute_location.layout.vec4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038527,
43         "dEQP-GLES3.functional.attr",
44         "ibute_location.layout.mat2");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038528,
47         "dEQP-GLES3.functional.attr",
48         "ibute_location.layout.mat3");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038529,
51         "dEQP-GLES3.functional.attr",
52         "ibute_location.layout.mat4");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038530,
55         "dEQP-GLES3.functional.att",
56         "ribute_location.layout.int");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038531,
59         "dEQP-GLES3.functional.attr",
60         "ibute_location.layout.ivec2");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038532,
63         "dEQP-GLES3.functional.attr",
64         "ibute_location.layout.ivec3");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038533,
67         "dEQP-GLES3.functional.attr",
68         "ibute_location.layout.ivec4");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038534,
71         "dEQP-GLES3.functional.attr",
72         "ibute_location.layout.uint");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038535,
75         "dEQP-GLES3.functional.attr",
76         "ibute_location.layout.uvec2");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038536,
79         "dEQP-GLES3.functional.attr",
80         "ibute_location.layout.uvec3");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038537,
83         "dEQP-GLES3.functional.attr",
84         "ibute_location.layout.uvec4");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038538,
87         "dEQP-GLES3.functional.attri",
88         "bute_location.layout.mat2x2");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038539,
91         "dEQP-GLES3.functional.attri",
92         "bute_location.layout.mat2x3");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038540,
95         "dEQP-GLES3.functional.attri",
96         "bute_location.layout.mat2x4");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038541,
99         "dEQP-GLES3.functional.attri",
100         "bute_location.layout.mat3x2");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038542,
103         "dEQP-GLES3.functional.attri",
104         "bute_location.layout.mat3x3");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038543,
107         "dEQP-GLES3.functional.attri",
108         "bute_location.layout.mat3x4");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038544,
111         "dEQP-GLES3.functional.attri",
112         "bute_location.layout.mat4x2");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038545,
115         "dEQP-GLES3.functional.attri",
116         "bute_location.layout.mat4x3");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30039TestSuite, TestCase_038546,
119         "dEQP-GLES3.functional.attri",
120         "bute_location.layout.mat4x4");
121