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 "../ActsDeqpgles30002TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001524,
27        "dEQP-GLES3.functional.shaders",
28        ".linkage.varying.struct.float");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001525,
31        "dEQP-GLES3.functional.shader",
32        "s.linkage.varying.struct.vec2");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001526,
35        "dEQP-GLES3.functional.shader",
36        "s.linkage.varying.struct.vec3");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001527,
39        "dEQP-GLES3.functional.shader",
40        "s.linkage.varying.struct.vec4");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001528,
43        "dEQP-GLES3.functional.shader",
44        "s.linkage.varying.struct.mat2");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001529,
47        "dEQP-GLES3.functional.shaders",
48        ".linkage.varying.struct.mat2x3");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001530,
51        "dEQP-GLES3.functional.shaders",
52        ".linkage.varying.struct.mat2x4");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001531,
55        "dEQP-GLES3.functional.shaders",
56        ".linkage.varying.struct.mat3x2");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001532,
59        "dEQP-GLES3.functional.shader",
60        "s.linkage.varying.struct.mat3");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001533,
63        "dEQP-GLES3.functional.shaders",
64        ".linkage.varying.struct.mat3x4");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001534,
67        "dEQP-GLES3.functional.shaders",
68        ".linkage.varying.struct.mat4x2");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001535,
71        "dEQP-GLES3.functional.shaders",
72        ".linkage.varying.struct.mat4x3");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001536,
75        "dEQP-GLES3.functional.shader",
76        "s.linkage.varying.struct.mat4");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001537,
79        "dEQP-GLES3.functional.shader",
80        "s.linkage.varying.struct.int");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001538,
83        "dEQP-GLES3.functional.shaders",
84        ".linkage.varying.struct.ivec2");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001539,
87        "dEQP-GLES3.functional.shaders",
88        ".linkage.varying.struct.ivec3");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001540,
91        "dEQP-GLES3.functional.shaders",
92        ".linkage.varying.struct.ivec4");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001541,
95        "dEQP-GLES3.functional.shader",
96        "s.linkage.varying.struct.uint");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001542,
99        "dEQP-GLES3.functional.shaders",
100        ".linkage.varying.struct.uvec2");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001543,
103        "dEQP-GLES3.functional.shaders",
104        ".linkage.varying.struct.uvec3");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001544,
107        "dEQP-GLES3.functional.shaders",
108        ".linkage.varying.struct.uvec4");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001545,
111        "dEQP-GLES3.functional.shaders.l",
112        "inkage.varying.struct.float_vec3");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001546,
115        "dEQP-GLES3.functional.shaders.link",
116        "age.varying.struct.float_uvec2_vec3");
117