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_032879,
27         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
28         "e.strides.float.user_ptr_stride8_components2_quads1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032880,
31         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
32         "e.strides.float.user_ptr_stride17_components2_quads1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032881,
35         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
36         "e.strides.float.user_ptr_stride32_components2_quads1");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032882,
39         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
40         ".strides.float.user_ptr_stride8_components2_quads256");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032883,
43         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
44         ".strides.float.user_ptr_stride17_components2_quads256");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032884,
47         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
48         ".strides.float.user_ptr_stride32_components2_quads256");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032885,
51         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
52         "e.strides.float.user_ptr_stride12_components3_quads1");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032886,
55         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
56         "e.strides.float.user_ptr_stride17_components3_quads1");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032887,
59         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
60         "e.strides.float.user_ptr_stride32_components3_quads1");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032888,
63         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
64         ".strides.float.user_ptr_stride12_components3_quads256");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032889,
67         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
68         ".strides.float.user_ptr_stride17_components3_quads256");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032890,
71         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
72         ".strides.float.user_ptr_stride32_components3_quads256");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032891,
75         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
76         "e.strides.float.user_ptr_stride16_components4_quads1");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032892,
79         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
80         "e.strides.float.user_ptr_stride17_components4_quads1");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032893,
83         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
84         "e.strides.float.user_ptr_stride32_components4_quads1");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032894,
87         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
88         ".strides.float.user_ptr_stride16_components4_quads256");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032895,
91         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
92         ".strides.float.user_ptr_stride17_components4_quads256");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032896,
95         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
96         ".strides.float.user_ptr_stride32_components4_quads256");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032897,
99         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
100         "te.strides.float.buffer_stride8_components2_quads1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032898,
103         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
104         "te.strides.float.buffer_stride32_components2_quads1");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032899,
107         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
108         "e.strides.float.buffer_stride8_components2_quads256");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032900,
111         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
112         "e.strides.float.buffer_stride32_components2_quads256");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032901,
115         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
116         "te.strides.float.buffer_stride12_components3_quads1");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032902,
119         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
120         "te.strides.float.buffer_stride32_components3_quads1");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032903,
123         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
124         "e.strides.float.buffer_stride12_components3_quads256");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032904,
127         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
128         "e.strides.float.buffer_stride32_components3_quads256");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032905,
131         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
132         "te.strides.float.buffer_stride16_components4_quads1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032906,
135         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
136         "te.strides.float.buffer_stride32_components4_quads1");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032907,
139         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
140         "e.strides.float.buffer_stride16_components4_quads256");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032908,
143         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
144         "e.strides.float.buffer_stride32_components4_quads256");
145