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 "../ActsDeqpgles30005TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004417,
27        "dEQP-GLES3.functional.shaders.arrays.",
28        "declaration.implicit_size_float_vertex");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004418,
31        "dEQP-GLES3.functional.shaders.arrays.d",
32        "eclaration.implicit_size_float_fragment");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004419,
35        "dEQP-GLES3.functional.shaders.arrays",
36        ".declaration.implicit_size_int_vertex");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004420,
39        "dEQP-GLES3.functional.shaders.arrays.",
40        "declaration.implicit_size_int_fragment");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004421,
43        "dEQP-GLES3.functional.shaders.arrays.",
44        "declaration.implicit_size_bool_vertex");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004422,
47        "dEQP-GLES3.functional.shaders.arrays.d",
48        "eclaration.implicit_size_bool_fragment");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004423,
51        "dEQP-GLES3.functional.shaders.arrays.d",
52        "eclaration.implicit_size_struct_vertex");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004424,
55        "dEQP-GLES3.functional.shaders.arrays.de",
56        "claration.implicit_size_struct_fragment");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004425,
59        "dEQP-GLES3.functional.shaders.arrays.dec",
60        "laration.implicit_size_float_vec3_vertex");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004426,
63        "dEQP-GLES3.functional.shaders.arrays.decl",
64        "aration.implicit_size_float_vec3_fragment");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004427,
67        "dEQP-GLES3.functional.shaders.arrays.de",
68        "claration.implicit_size_int_ivec3_vertex");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004428,
71        "dEQP-GLES3.functional.shaders.arrays.dec",
72        "laration.implicit_size_int_ivec3_fragment");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004429,
75        "dEQP-GLES3.functional.shaders.arrays.dec",
76        "laration.implicit_size_bool_bvec3_vertex");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004430,
79        "dEQP-GLES3.functional.shaders.arrays.decl",
80        "aration.implicit_size_bool_bvec3_fragment");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004431,
83        "dEQP-GLES3.functional.shaders.arrays.dec",
84        "laration.implicit_size_float_mat3_vertex");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004432,
87        "dEQP-GLES3.functional.shaders.arrays.decl",
88        "aration.implicit_size_float_mat3_fragment");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004433,
91        "dEQP-GLES3.functional.shaders.arrays.de",
92        "claration.implicit_size_int_mat3_vertex");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004434,
95        "dEQP-GLES3.functional.shaders.arrays.dec",
96        "laration.implicit_size_int_mat3_fragment");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004435,
99        "dEQP-GLES3.functional.shaders.arrays.de",
100        "claration.implicit_size_bool_mat3_vertex");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004436,
103        "dEQP-GLES3.functional.shaders.arrays.dec",
104        "laration.implicit_size_bool_mat3_fragment");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004437,
107        "dEQP-GLES3.functional.shaders.arrays.declar",
108        "ation.constant_expression_array_size_vertex");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004438,
111        "dEQP-GLES3.functional.shaders.arrays.declara",
112        "tion.constant_expression_array_size_fragment");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004439,
115        "dEQP-GLES3.functional.shaders.arrays.declara",
116        "tion.constant_expression_array_access_vertex");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004440,
119        "dEQP-GLES3.functional.shaders.arrays.declarat",
120        "ion.constant_expression_array_access_fragment");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004441,
123        "dEQP-GLES3.functional.shaders.arrays.declar",
124        "ation.dynamic_expression_array_access_vertex");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004442,
127        "dEQP-GLES3.functional.shaders.arrays.declara",
128        "tion.dynamic_expression_array_access_fragment");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004443,
131        "dEQP-GLES3.functional.shaders.arrays.declaration.mu",
132        "ltiple_declarations_single_statement_explicit_vertex");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004444,
135        "dEQP-GLES3.functional.shaders.arrays.declaration.mul",
136        "tiple_declarations_single_statement_explicit_fragment");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004445,
139        "dEQP-GLES3.functional.shaders.arrays.declaration.mu",
140        "ltiple_declarations_single_statement_implicit_vertex");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004446,
143        "dEQP-GLES3.functional.shaders.arrays.declaration.mul",
144        "tiple_declarations_single_statement_implicit_fragment");
145