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 "../ActsDeqpgles30033TestSuite.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(ActsDeqpgles30033TestSuite, TestCase_032939,
27         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
28         "te.strides.byte.user_ptr_stride2_components2_quads1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032940,
31         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
32         "e.strides.byte.user_ptr_stride17_components2_quads1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032941,
35         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
36         "e.strides.byte.user_ptr_stride32_components2_quads1");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032942,
39         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
40         "e.strides.byte.user_ptr_stride2_components2_quads256");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032943,
43         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
44         ".strides.byte.user_ptr_stride17_components2_quads256");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032944,
47         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
48         ".strides.byte.user_ptr_stride32_components2_quads256");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032945,
51         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
52         "te.strides.byte.user_ptr_stride3_components3_quads1");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032946,
55         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
56         "e.strides.byte.user_ptr_stride17_components3_quads1");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032947,
59         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
60         "e.strides.byte.user_ptr_stride32_components3_quads1");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032948,
63         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
64         "e.strides.byte.user_ptr_stride3_components3_quads256");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032949,
67         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
68         ".strides.byte.user_ptr_stride17_components3_quads256");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032950,
71         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
72         ".strides.byte.user_ptr_stride32_components3_quads256");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032951,
75         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
76         "te.strides.byte.user_ptr_stride4_components4_quads1");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032952,
79         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
80         "e.strides.byte.user_ptr_stride17_components4_quads1");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032953,
83         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
84         "e.strides.byte.user_ptr_stride32_components4_quads1");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032954,
87         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
88         "e.strides.byte.user_ptr_stride4_components4_quads256");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032955,
91         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
92         ".strides.byte.user_ptr_stride17_components4_quads256");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032956,
95         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
96         ".strides.byte.user_ptr_stride32_components4_quads256");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032957,
99         "dEQP-GLES3.functional.vertex_arrays.single_attrib",
100         "ute.strides.byte.buffer_stride2_components2_quads1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032958,
103         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
104         "te.strides.byte.buffer_stride17_components2_quads1");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032959,
107         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
108         "te.strides.byte.buffer_stride32_components2_quads1");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032960,
111         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
112         "te.strides.byte.buffer_stride2_components2_quads256");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032961,
115         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
116         "e.strides.byte.buffer_stride17_components2_quads256");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032962,
119         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
120         "e.strides.byte.buffer_stride32_components2_quads256");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032963,
123         "dEQP-GLES3.functional.vertex_arrays.single_attrib",
124         "ute.strides.byte.buffer_stride3_components3_quads1");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032964,
127         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
128         "te.strides.byte.buffer_stride17_components3_quads1");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032965,
131         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
132         "te.strides.byte.buffer_stride32_components3_quads1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032966,
135         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
136         "te.strides.byte.buffer_stride3_components3_quads256");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032967,
139         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
140         "e.strides.byte.buffer_stride17_components3_quads256");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032968,
143         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
144         "e.strides.byte.buffer_stride32_components3_quads256");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032969,
147         "dEQP-GLES3.functional.vertex_arrays.single_attrib",
148         "ute.strides.byte.buffer_stride4_components4_quads1");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032970,
151         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
152         "te.strides.byte.buffer_stride17_components4_quads1");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032971,
155         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
156         "te.strides.byte.buffer_stride32_components4_quads1");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032972,
159         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
160         "te.strides.byte.buffer_stride4_components4_quads256");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032973,
163         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
164         "e.strides.byte.buffer_stride17_components4_quads256");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032974,
167         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
168         "e.strides.byte.buffer_stride32_components4_quads256");
169