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_032975,
27         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
28         "e.strides.fixed.user_ptr_stride8_components2_quads1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032976,
31         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
32         "e.strides.fixed.user_ptr_stride17_components2_quads1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032977,
35         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
36         "e.strides.fixed.user_ptr_stride32_components2_quads1");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032978,
39         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
40         ".strides.fixed.user_ptr_stride8_components2_quads256");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032979,
43         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
44         ".strides.fixed.user_ptr_stride17_components2_quads256");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032980,
47         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
48         ".strides.fixed.user_ptr_stride32_components2_quads256");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032981,
51         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
52         "e.strides.fixed.user_ptr_stride12_components3_quads1");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032982,
55         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
56         "e.strides.fixed.user_ptr_stride17_components3_quads1");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032983,
59         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
60         "e.strides.fixed.user_ptr_stride32_components3_quads1");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032984,
63         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
64         ".strides.fixed.user_ptr_stride12_components3_quads256");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032985,
67         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
68         ".strides.fixed.user_ptr_stride17_components3_quads256");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032986,
71         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
72         ".strides.fixed.user_ptr_stride32_components3_quads256");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032987,
75         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
76         "e.strides.fixed.user_ptr_stride16_components4_quads1");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032988,
79         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
80         "e.strides.fixed.user_ptr_stride17_components4_quads1");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032989,
83         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
84         "e.strides.fixed.user_ptr_stride32_components4_quads1");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032990,
87         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
88         ".strides.fixed.user_ptr_stride16_components4_quads256");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032991,
91         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
92         ".strides.fixed.user_ptr_stride17_components4_quads256");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032992,
95         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
96         ".strides.fixed.user_ptr_stride32_components4_quads256");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032993,
99         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
100         "te.strides.fixed.buffer_stride8_components2_quads1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032994,
103         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
104         "te.strides.fixed.buffer_stride32_components2_quads1");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032995,
107         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
108         "e.strides.fixed.buffer_stride8_components2_quads256");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032996,
111         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
112         "e.strides.fixed.buffer_stride32_components2_quads256");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032997,
115         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
116         "te.strides.fixed.buffer_stride12_components3_quads1");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032998,
119         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
120         "te.strides.fixed.buffer_stride32_components3_quads1");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032999,
123         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
124         "e.strides.fixed.buffer_stride12_components3_quads256");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_033000,
127         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
128         "e.strides.fixed.buffer_stride32_components3_quads256");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_033001,
131         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
132         "te.strides.fixed.buffer_stride16_components4_quads1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_033002,
135         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
136         "te.strides.fixed.buffer_stride32_components4_quads1");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_033003,
139         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
140         "e.strides.fixed.buffer_stride16_components4_quads256");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_033004,
143         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
144         "e.strides.fixed.buffer_stride32_components4_quads256");
145