1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6
7 // validationGL33.cpp: Validation functions for OpenGL 3.3 entry point parameters
8
9 #include "libANGLE/validationGL33_autogen.h"
10
11 namespace gl
12 {
13
ValidateBindFragDataLocationIndexed(const Context * context,ShaderProgramID program,GLuint colorNumber,GLuint index,const GLchar * name)14 bool ValidateBindFragDataLocationIndexed(const Context *context,
15 ShaderProgramID program,
16 GLuint colorNumber,
17 GLuint index,
18 const GLchar *name)
19 {
20 return true;
21 }
22
ValidateColorP3ui(const Context * context,GLenum type,GLuint color)23 bool ValidateColorP3ui(const Context *context, GLenum type, GLuint color)
24 {
25 return true;
26 }
27
ValidateColorP3uiv(const Context * context,GLenum type,const GLuint * color)28 bool ValidateColorP3uiv(const Context *context, GLenum type, const GLuint *color)
29 {
30 return true;
31 }
32
ValidateColorP4ui(const Context * context,GLenum type,GLuint color)33 bool ValidateColorP4ui(const Context *context, GLenum type, GLuint color)
34 {
35 return true;
36 }
37
ValidateColorP4uiv(const Context * context,GLenum type,const GLuint * color)38 bool ValidateColorP4uiv(const Context *context, GLenum type, const GLuint *color)
39 {
40 return true;
41 }
42
ValidateGetFragDataIndex(const Context * context,ShaderProgramID program,const GLchar * name)43 bool ValidateGetFragDataIndex(const Context *context, ShaderProgramID program, const GLchar *name)
44 {
45 return true;
46 }
47
ValidateGetQueryObjecti64v(const Context * context,QueryID id,GLenum pname,const GLint64 * params)48 bool ValidateGetQueryObjecti64v(const Context *context,
49 QueryID id,
50 GLenum pname,
51 const GLint64 *params)
52 {
53 return true;
54 }
55
ValidateGetQueryObjectui64v(const Context * context,QueryID id,GLenum pname,const GLuint64 * params)56 bool ValidateGetQueryObjectui64v(const Context *context,
57 QueryID id,
58 GLenum pname,
59 const GLuint64 *params)
60 {
61 return true;
62 }
63
ValidateMultiTexCoordP1ui(const Context * context,GLenum texture,GLenum type,GLuint coords)64 bool ValidateMultiTexCoordP1ui(const Context *context, GLenum texture, GLenum type, GLuint coords)
65 {
66 return true;
67 }
68
ValidateMultiTexCoordP1uiv(const Context * context,GLenum texture,GLenum type,const GLuint * coords)69 bool ValidateMultiTexCoordP1uiv(const Context *context,
70 GLenum texture,
71 GLenum type,
72 const GLuint *coords)
73 {
74 return true;
75 }
76
ValidateMultiTexCoordP2ui(const Context * context,GLenum texture,GLenum type,GLuint coords)77 bool ValidateMultiTexCoordP2ui(const Context *context, GLenum texture, GLenum type, GLuint coords)
78 {
79 return true;
80 }
81
ValidateMultiTexCoordP2uiv(const Context * context,GLenum texture,GLenum type,const GLuint * coords)82 bool ValidateMultiTexCoordP2uiv(const Context *context,
83 GLenum texture,
84 GLenum type,
85 const GLuint *coords)
86 {
87 return true;
88 }
89
ValidateMultiTexCoordP3ui(const Context * context,GLenum texture,GLenum type,GLuint coords)90 bool ValidateMultiTexCoordP3ui(const Context *context, GLenum texture, GLenum type, GLuint coords)
91 {
92 return true;
93 }
94
ValidateMultiTexCoordP3uiv(const Context * context,GLenum texture,GLenum type,const GLuint * coords)95 bool ValidateMultiTexCoordP3uiv(const Context *context,
96 GLenum texture,
97 GLenum type,
98 const GLuint *coords)
99 {
100 return true;
101 }
102
ValidateMultiTexCoordP4ui(const Context * context,GLenum texture,GLenum type,GLuint coords)103 bool ValidateMultiTexCoordP4ui(const Context *context, GLenum texture, GLenum type, GLuint coords)
104 {
105 return true;
106 }
107
ValidateMultiTexCoordP4uiv(const Context * context,GLenum texture,GLenum type,const GLuint * coords)108 bool ValidateMultiTexCoordP4uiv(const Context *context,
109 GLenum texture,
110 GLenum type,
111 const GLuint *coords)
112 {
113 return true;
114 }
115
ValidateNormalP3ui(const Context * context,GLenum type,GLuint coords)116 bool ValidateNormalP3ui(const Context *context, GLenum type, GLuint coords)
117 {
118 return true;
119 }
120
ValidateNormalP3uiv(const Context * context,GLenum type,const GLuint * coords)121 bool ValidateNormalP3uiv(const Context *context, GLenum type, const GLuint *coords)
122 {
123 return true;
124 }
125
ValidateQueryCounter(const Context * context,QueryID id,QueryType targetPacked)126 bool ValidateQueryCounter(const Context *context, QueryID id, QueryType targetPacked)
127 {
128 return true;
129 }
130
ValidateSecondaryColorP3ui(const Context * context,GLenum type,GLuint color)131 bool ValidateSecondaryColorP3ui(const Context *context, GLenum type, GLuint color)
132 {
133 return true;
134 }
135
ValidateSecondaryColorP3uiv(const Context * context,GLenum type,const GLuint * color)136 bool ValidateSecondaryColorP3uiv(const Context *context, GLenum type, const GLuint *color)
137 {
138 return true;
139 }
140
ValidateTexCoordP1ui(const Context * context,GLenum type,GLuint coords)141 bool ValidateTexCoordP1ui(const Context *context, GLenum type, GLuint coords)
142 {
143 return true;
144 }
145
ValidateTexCoordP1uiv(const Context * context,GLenum type,const GLuint * coords)146 bool ValidateTexCoordP1uiv(const Context *context, GLenum type, const GLuint *coords)
147 {
148 return true;
149 }
150
ValidateTexCoordP2ui(const Context * context,GLenum type,GLuint coords)151 bool ValidateTexCoordP2ui(const Context *context, GLenum type, GLuint coords)
152 {
153 return true;
154 }
155
ValidateTexCoordP2uiv(const Context * context,GLenum type,const GLuint * coords)156 bool ValidateTexCoordP2uiv(const Context *context, GLenum type, const GLuint *coords)
157 {
158 return true;
159 }
160
ValidateTexCoordP3ui(const Context * context,GLenum type,GLuint coords)161 bool ValidateTexCoordP3ui(const Context *context, GLenum type, GLuint coords)
162 {
163 return true;
164 }
165
ValidateTexCoordP3uiv(const Context * context,GLenum type,const GLuint * coords)166 bool ValidateTexCoordP3uiv(const Context *context, GLenum type, const GLuint *coords)
167 {
168 return true;
169 }
170
ValidateTexCoordP4ui(const Context * context,GLenum type,GLuint coords)171 bool ValidateTexCoordP4ui(const Context *context, GLenum type, GLuint coords)
172 {
173 return true;
174 }
175
ValidateTexCoordP4uiv(const Context * context,GLenum type,const GLuint * coords)176 bool ValidateTexCoordP4uiv(const Context *context, GLenum type, const GLuint *coords)
177 {
178 return true;
179 }
180
ValidateVertexAttribP1ui(const Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)181 bool ValidateVertexAttribP1ui(const Context *context,
182 GLuint index,
183 GLenum type,
184 GLboolean normalized,
185 GLuint value)
186 {
187 return true;
188 }
189
ValidateVertexAttribP1uiv(const Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)190 bool ValidateVertexAttribP1uiv(const Context *context,
191 GLuint index,
192 GLenum type,
193 GLboolean normalized,
194 const GLuint *value)
195 {
196 return true;
197 }
198
ValidateVertexAttribP2ui(const Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)199 bool ValidateVertexAttribP2ui(const Context *context,
200 GLuint index,
201 GLenum type,
202 GLboolean normalized,
203 GLuint value)
204 {
205 return true;
206 }
207
ValidateVertexAttribP2uiv(const Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)208 bool ValidateVertexAttribP2uiv(const Context *context,
209 GLuint index,
210 GLenum type,
211 GLboolean normalized,
212 const GLuint *value)
213 {
214 return true;
215 }
216
ValidateVertexAttribP3ui(const Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)217 bool ValidateVertexAttribP3ui(const Context *context,
218 GLuint index,
219 GLenum type,
220 GLboolean normalized,
221 GLuint value)
222 {
223 return true;
224 }
225
ValidateVertexAttribP3uiv(const Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)226 bool ValidateVertexAttribP3uiv(const Context *context,
227 GLuint index,
228 GLenum type,
229 GLboolean normalized,
230 const GLuint *value)
231 {
232 return true;
233 }
234
ValidateVertexAttribP4ui(const Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)235 bool ValidateVertexAttribP4ui(const Context *context,
236 GLuint index,
237 GLenum type,
238 GLboolean normalized,
239 GLuint value)
240 {
241 return true;
242 }
243
ValidateVertexAttribP4uiv(const Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)244 bool ValidateVertexAttribP4uiv(const Context *context,
245 GLuint index,
246 GLenum type,
247 GLboolean normalized,
248 const GLuint *value)
249 {
250 return true;
251 }
252
ValidateVertexP2ui(const Context * context,GLenum type,GLuint value)253 bool ValidateVertexP2ui(const Context *context, GLenum type, GLuint value)
254 {
255 return true;
256 }
257
ValidateVertexP2uiv(const Context * context,GLenum type,const GLuint * value)258 bool ValidateVertexP2uiv(const Context *context, GLenum type, const GLuint *value)
259 {
260 return true;
261 }
262
ValidateVertexP3ui(const Context * context,GLenum type,GLuint value)263 bool ValidateVertexP3ui(const Context *context, GLenum type, GLuint value)
264 {
265 return true;
266 }
267
ValidateVertexP3uiv(const Context * context,GLenum type,const GLuint * value)268 bool ValidateVertexP3uiv(const Context *context, GLenum type, const GLuint *value)
269 {
270 return true;
271 }
272
ValidateVertexP4ui(const Context * context,GLenum type,GLuint value)273 bool ValidateVertexP4ui(const Context *context, GLenum type, GLuint value)
274 {
275 return true;
276 }
277
ValidateVertexP4uiv(const Context * context,GLenum type,const GLuint * value)278 bool ValidateVertexP4uiv(const Context *context, GLenum type, const GLuint *value)
279 {
280 return true;
281 }
282
283 } // namespace gl
284