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 // validationGL45.cpp: Validation functions for OpenGL 4.5 entry point parameters
8
9 #include "libANGLE/validationGL45_autogen.h"
10
11 namespace gl
12 {
13
ValidateBindTextureUnit(const Context * context,GLuint unit,TextureID texture)14 bool ValidateBindTextureUnit(const Context *context, GLuint unit, TextureID texture)
15 {
16 return true;
17 }
18
ValidateBlitNamedFramebuffer(const Context * context,GLuint readFramebuffer,GLuint drawFramebuffer,GLint srcX0,GLint srcY0,GLint srcX1,GLint srcY1,GLint dstX0,GLint dstY0,GLint dstX1,GLint dstY1,GLbitfield mask,GLenum filter)19 bool ValidateBlitNamedFramebuffer(const Context *context,
20 GLuint readFramebuffer,
21 GLuint drawFramebuffer,
22 GLint srcX0,
23 GLint srcY0,
24 GLint srcX1,
25 GLint srcY1,
26 GLint dstX0,
27 GLint dstY0,
28 GLint dstX1,
29 GLint dstY1,
30 GLbitfield mask,
31 GLenum filter)
32 {
33 return true;
34 }
35
ValidateCheckNamedFramebufferStatus(const Context * context,FramebufferID framebuffer,GLenum target)36 bool ValidateCheckNamedFramebufferStatus(const Context *context,
37 FramebufferID framebuffer,
38 GLenum target)
39 {
40 return true;
41 }
42
ValidateClearNamedBufferData(const Context * context,BufferID buffer,GLenum internalformat,GLenum format,GLenum type,const void * data)43 bool ValidateClearNamedBufferData(const Context *context,
44 BufferID buffer,
45 GLenum internalformat,
46 GLenum format,
47 GLenum type,
48 const void *data)
49 {
50 return true;
51 }
52
ValidateClearNamedBufferSubData(const Context * context,BufferID buffer,GLenum internalformat,GLintptr offset,GLsizeiptr size,GLenum format,GLenum type,const void * data)53 bool ValidateClearNamedBufferSubData(const Context *context,
54 BufferID buffer,
55 GLenum internalformat,
56 GLintptr offset,
57 GLsizeiptr size,
58 GLenum format,
59 GLenum type,
60 const void *data)
61 {
62 return true;
63 }
64
ValidateClearNamedFramebufferfi(const Context * context,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,GLfloat depth,GLint stencil)65 bool ValidateClearNamedFramebufferfi(const Context *context,
66 FramebufferID framebuffer,
67 GLenum buffer,
68 GLint drawbuffer,
69 GLfloat depth,
70 GLint stencil)
71 {
72 return true;
73 }
74
ValidateClearNamedFramebufferfv(const Context * context,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,const GLfloat * value)75 bool ValidateClearNamedFramebufferfv(const Context *context,
76 FramebufferID framebuffer,
77 GLenum buffer,
78 GLint drawbuffer,
79 const GLfloat *value)
80 {
81 return true;
82 }
83
ValidateClearNamedFramebufferiv(const Context * context,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,const GLint * value)84 bool ValidateClearNamedFramebufferiv(const Context *context,
85 FramebufferID framebuffer,
86 GLenum buffer,
87 GLint drawbuffer,
88 const GLint *value)
89 {
90 return true;
91 }
92
ValidateClearNamedFramebufferuiv(const Context * context,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,const GLuint * value)93 bool ValidateClearNamedFramebufferuiv(const Context *context,
94 FramebufferID framebuffer,
95 GLenum buffer,
96 GLint drawbuffer,
97 const GLuint *value)
98 {
99 return true;
100 }
101
ValidateClipControl(const Context * context,GLenum origin,GLenum depth)102 bool ValidateClipControl(const Context *context, GLenum origin, GLenum depth)
103 {
104 return true;
105 }
106
ValidateCompressedTextureSubImage1D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLsizei width,GLenum format,GLsizei imageSize,const void * data)107 bool ValidateCompressedTextureSubImage1D(const Context *context,
108 TextureID texture,
109 GLint level,
110 GLint xoffset,
111 GLsizei width,
112 GLenum format,
113 GLsizei imageSize,
114 const void *data)
115 {
116 return true;
117 }
118
ValidateCompressedTextureSubImage2D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLsizei imageSize,const void * data)119 bool ValidateCompressedTextureSubImage2D(const Context *context,
120 TextureID texture,
121 GLint level,
122 GLint xoffset,
123 GLint yoffset,
124 GLsizei width,
125 GLsizei height,
126 GLenum format,
127 GLsizei imageSize,
128 const void *data)
129 {
130 return true;
131 }
132
ValidateCompressedTextureSubImage3D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const void * data)133 bool ValidateCompressedTextureSubImage3D(const Context *context,
134 TextureID texture,
135 GLint level,
136 GLint xoffset,
137 GLint yoffset,
138 GLint zoffset,
139 GLsizei width,
140 GLsizei height,
141 GLsizei depth,
142 GLenum format,
143 GLsizei imageSize,
144 const void *data)
145 {
146 return true;
147 }
148
ValidateCopyNamedBufferSubData(const Context * context,GLuint readBuffer,GLuint writeBuffer,GLintptr readOffset,GLintptr writeOffset,GLsizeiptr size)149 bool ValidateCopyNamedBufferSubData(const Context *context,
150 GLuint readBuffer,
151 GLuint writeBuffer,
152 GLintptr readOffset,
153 GLintptr writeOffset,
154 GLsizeiptr size)
155 {
156 return true;
157 }
158
ValidateCopyTextureSubImage1D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint x,GLint y,GLsizei width)159 bool ValidateCopyTextureSubImage1D(const Context *context,
160 TextureID texture,
161 GLint level,
162 GLint xoffset,
163 GLint x,
164 GLint y,
165 GLsizei width)
166 {
167 return true;
168 }
169
ValidateCopyTextureSubImage2D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint x,GLint y,GLsizei width,GLsizei height)170 bool ValidateCopyTextureSubImage2D(const Context *context,
171 TextureID texture,
172 GLint level,
173 GLint xoffset,
174 GLint yoffset,
175 GLint x,
176 GLint y,
177 GLsizei width,
178 GLsizei height)
179 {
180 return true;
181 }
182
ValidateCopyTextureSubImage3D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height)183 bool ValidateCopyTextureSubImage3D(const Context *context,
184 TextureID texture,
185 GLint level,
186 GLint xoffset,
187 GLint yoffset,
188 GLint zoffset,
189 GLint x,
190 GLint y,
191 GLsizei width,
192 GLsizei height)
193 {
194 return true;
195 }
196
ValidateCreateBuffers(const Context * context,GLsizei n,const BufferID * buffers)197 bool ValidateCreateBuffers(const Context *context, GLsizei n, const BufferID *buffers)
198 {
199 return true;
200 }
201
ValidateCreateFramebuffers(const Context * context,GLsizei n,const GLuint * framebuffers)202 bool ValidateCreateFramebuffers(const Context *context, GLsizei n, const GLuint *framebuffers)
203 {
204 return true;
205 }
206
ValidateCreateProgramPipelines(const Context * context,GLsizei n,const GLuint * pipelines)207 bool ValidateCreateProgramPipelines(const Context *context, GLsizei n, const GLuint *pipelines)
208 {
209 return true;
210 }
211
ValidateCreateQueries(const Context * context,GLenum target,GLsizei n,const GLuint * ids)212 bool ValidateCreateQueries(const Context *context, GLenum target, GLsizei n, const GLuint *ids)
213 {
214 return true;
215 }
216
ValidateCreateRenderbuffers(const Context * context,GLsizei n,const RenderbufferID * renderbuffers)217 bool ValidateCreateRenderbuffers(const Context *context,
218 GLsizei n,
219 const RenderbufferID *renderbuffers)
220 {
221 return true;
222 }
223
ValidateCreateSamplers(const Context * context,GLsizei n,const GLuint * samplers)224 bool ValidateCreateSamplers(const Context *context, GLsizei n, const GLuint *samplers)
225 {
226 return true;
227 }
228
ValidateCreateTextures(const Context * context,GLenum target,GLsizei n,const GLuint * textures)229 bool ValidateCreateTextures(const Context *context,
230 GLenum target,
231 GLsizei n,
232 const GLuint *textures)
233 {
234 return true;
235 }
236
ValidateCreateTransformFeedbacks(const Context * context,GLsizei n,const GLuint * ids)237 bool ValidateCreateTransformFeedbacks(const Context *context, GLsizei n, const GLuint *ids)
238 {
239 return true;
240 }
241
ValidateCreateVertexArrays(const Context * context,GLsizei n,const VertexArrayID * arrays)242 bool ValidateCreateVertexArrays(const Context *context, GLsizei n, const VertexArrayID *arrays)
243 {
244 return true;
245 }
246
ValidateDisableVertexArrayAttrib(const Context * context,VertexArrayID vaobj,GLuint index)247 bool ValidateDisableVertexArrayAttrib(const Context *context, VertexArrayID vaobj, GLuint index)
248 {
249 return true;
250 }
251
ValidateEnableVertexArrayAttrib(const Context * context,VertexArrayID vaobj,GLuint index)252 bool ValidateEnableVertexArrayAttrib(const Context *context, VertexArrayID vaobj, GLuint index)
253 {
254 return true;
255 }
256
ValidateFlushMappedNamedBufferRange(const Context * context,BufferID buffer,GLintptr offset,GLsizeiptr length)257 bool ValidateFlushMappedNamedBufferRange(const Context *context,
258 BufferID buffer,
259 GLintptr offset,
260 GLsizeiptr length)
261 {
262 return true;
263 }
264
ValidateGenerateTextureMipmap(const Context * context,TextureID texture)265 bool ValidateGenerateTextureMipmap(const Context *context, TextureID texture)
266 {
267 return true;
268 }
269
ValidateGetCompressedTextureImage(const Context * context,TextureID texture,GLint level,GLsizei bufSize,const void * pixels)270 bool ValidateGetCompressedTextureImage(const Context *context,
271 TextureID texture,
272 GLint level,
273 GLsizei bufSize,
274 const void *pixels)
275 {
276 return true;
277 }
278
ValidateGetCompressedTextureSubImage(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLsizei bufSize,const void * pixels)279 bool ValidateGetCompressedTextureSubImage(const Context *context,
280 TextureID texture,
281 GLint level,
282 GLint xoffset,
283 GLint yoffset,
284 GLint zoffset,
285 GLsizei width,
286 GLsizei height,
287 GLsizei depth,
288 GLsizei bufSize,
289 const void *pixels)
290 {
291 return true;
292 }
293
ValidateGetNamedBufferParameteri64v(const Context * context,BufferID buffer,GLenum pname,const GLint64 * params)294 bool ValidateGetNamedBufferParameteri64v(const Context *context,
295 BufferID buffer,
296 GLenum pname,
297 const GLint64 *params)
298 {
299 return true;
300 }
301
ValidateGetNamedBufferParameteriv(const Context * context,BufferID buffer,GLenum pname,const GLint * params)302 bool ValidateGetNamedBufferParameteriv(const Context *context,
303 BufferID buffer,
304 GLenum pname,
305 const GLint *params)
306 {
307 return true;
308 }
309
ValidateGetNamedBufferPointerv(const Context * context,BufferID buffer,GLenum pname,void * const * params)310 bool ValidateGetNamedBufferPointerv(const Context *context,
311 BufferID buffer,
312 GLenum pname,
313 void *const *params)
314 {
315 return true;
316 }
317
ValidateGetNamedBufferSubData(const Context * context,BufferID buffer,GLintptr offset,GLsizeiptr size,const void * data)318 bool ValidateGetNamedBufferSubData(const Context *context,
319 BufferID buffer,
320 GLintptr offset,
321 GLsizeiptr size,
322 const void *data)
323 {
324 return true;
325 }
326
ValidateGetNamedFramebufferAttachmentParameteriv(const Context * context,FramebufferID framebuffer,GLenum attachment,GLenum pname,const GLint * params)327 bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context,
328 FramebufferID framebuffer,
329 GLenum attachment,
330 GLenum pname,
331 const GLint *params)
332 {
333 return true;
334 }
335
ValidateGetNamedFramebufferParameteriv(const Context * context,FramebufferID framebuffer,GLenum pname,const GLint * param)336 bool ValidateGetNamedFramebufferParameteriv(const Context *context,
337 FramebufferID framebuffer,
338 GLenum pname,
339 const GLint *param)
340 {
341 return true;
342 }
343
ValidateGetNamedRenderbufferParameteriv(const Context * context,RenderbufferID renderbuffer,GLenum pname,const GLint * params)344 bool ValidateGetNamedRenderbufferParameteriv(const Context *context,
345 RenderbufferID renderbuffer,
346 GLenum pname,
347 const GLint *params)
348 {
349 return true;
350 }
351
ValidateGetQueryBufferObjecti64v(const Context * context,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)352 bool ValidateGetQueryBufferObjecti64v(const Context *context,
353 GLuint id,
354 BufferID buffer,
355 GLenum pname,
356 GLintptr offset)
357 {
358 return true;
359 }
360
ValidateGetQueryBufferObjectiv(const Context * context,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)361 bool ValidateGetQueryBufferObjectiv(const Context *context,
362 GLuint id,
363 BufferID buffer,
364 GLenum pname,
365 GLintptr offset)
366 {
367 return true;
368 }
369
ValidateGetQueryBufferObjectui64v(const Context * context,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)370 bool ValidateGetQueryBufferObjectui64v(const Context *context,
371 GLuint id,
372 BufferID buffer,
373 GLenum pname,
374 GLintptr offset)
375 {
376 return true;
377 }
378
ValidateGetQueryBufferObjectuiv(const Context * context,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)379 bool ValidateGetQueryBufferObjectuiv(const Context *context,
380 GLuint id,
381 BufferID buffer,
382 GLenum pname,
383 GLintptr offset)
384 {
385 return true;
386 }
387
ValidateGetTextureImage(const Context * context,TextureID texture,GLint level,GLenum format,GLenum type,GLsizei bufSize,const void * pixels)388 bool ValidateGetTextureImage(const Context *context,
389 TextureID texture,
390 GLint level,
391 GLenum format,
392 GLenum type,
393 GLsizei bufSize,
394 const void *pixels)
395 {
396 return true;
397 }
398
ValidateGetTextureLevelParameterfv(const Context * context,TextureID texture,GLint level,GLenum pname,const GLfloat * params)399 bool ValidateGetTextureLevelParameterfv(const Context *context,
400 TextureID texture,
401 GLint level,
402 GLenum pname,
403 const GLfloat *params)
404 {
405 return true;
406 }
407
ValidateGetTextureLevelParameteriv(const Context * context,TextureID texture,GLint level,GLenum pname,const GLint * params)408 bool ValidateGetTextureLevelParameteriv(const Context *context,
409 TextureID texture,
410 GLint level,
411 GLenum pname,
412 const GLint *params)
413 {
414 return true;
415 }
416
ValidateGetTextureParameterIiv(const Context * context,TextureID texture,GLenum pname,const GLint * params)417 bool ValidateGetTextureParameterIiv(const Context *context,
418 TextureID texture,
419 GLenum pname,
420 const GLint *params)
421 {
422 return true;
423 }
424
ValidateGetTextureParameterIuiv(const Context * context,TextureID texture,GLenum pname,const GLuint * params)425 bool ValidateGetTextureParameterIuiv(const Context *context,
426 TextureID texture,
427 GLenum pname,
428 const GLuint *params)
429 {
430 return true;
431 }
432
ValidateGetTextureParameterfv(const Context * context,TextureID texture,GLenum pname,const GLfloat * params)433 bool ValidateGetTextureParameterfv(const Context *context,
434 TextureID texture,
435 GLenum pname,
436 const GLfloat *params)
437 {
438 return true;
439 }
440
ValidateGetTextureParameteriv(const Context * context,TextureID texture,GLenum pname,const GLint * params)441 bool ValidateGetTextureParameteriv(const Context *context,
442 TextureID texture,
443 GLenum pname,
444 const GLint *params)
445 {
446 return true;
447 }
448
ValidateGetTextureSubImage(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLsizei bufSize,const void * pixels)449 bool ValidateGetTextureSubImage(const Context *context,
450 TextureID texture,
451 GLint level,
452 GLint xoffset,
453 GLint yoffset,
454 GLint zoffset,
455 GLsizei width,
456 GLsizei height,
457 GLsizei depth,
458 GLenum format,
459 GLenum type,
460 GLsizei bufSize,
461 const void *pixels)
462 {
463 return true;
464 }
465
ValidateGetTransformFeedbacki64_v(const Context * context,GLuint xfb,GLenum pname,GLuint index,const GLint64 * param)466 bool ValidateGetTransformFeedbacki64_v(const Context *context,
467 GLuint xfb,
468 GLenum pname,
469 GLuint index,
470 const GLint64 *param)
471 {
472 return true;
473 }
474
ValidateGetTransformFeedbacki_v(const Context * context,GLuint xfb,GLenum pname,GLuint index,const GLint * param)475 bool ValidateGetTransformFeedbacki_v(const Context *context,
476 GLuint xfb,
477 GLenum pname,
478 GLuint index,
479 const GLint *param)
480 {
481 return true;
482 }
483
ValidateGetTransformFeedbackiv(const Context * context,GLuint xfb,GLenum pname,const GLint * param)484 bool ValidateGetTransformFeedbackiv(const Context *context,
485 GLuint xfb,
486 GLenum pname,
487 const GLint *param)
488 {
489 return true;
490 }
491
ValidateGetVertexArrayIndexed64iv(const Context * context,VertexArrayID vaobj,GLuint index,GLenum pname,const GLint64 * param)492 bool ValidateGetVertexArrayIndexed64iv(const Context *context,
493 VertexArrayID vaobj,
494 GLuint index,
495 GLenum pname,
496 const GLint64 *param)
497 {
498 return true;
499 }
500
ValidateGetVertexArrayIndexediv(const Context * context,VertexArrayID vaobj,GLuint index,GLenum pname,const GLint * param)501 bool ValidateGetVertexArrayIndexediv(const Context *context,
502 VertexArrayID vaobj,
503 GLuint index,
504 GLenum pname,
505 const GLint *param)
506 {
507 return true;
508 }
509
ValidateGetVertexArrayiv(const Context * context,VertexArrayID vaobj,GLenum pname,const GLint * param)510 bool ValidateGetVertexArrayiv(const Context *context,
511 VertexArrayID vaobj,
512 GLenum pname,
513 const GLint *param)
514 {
515 return true;
516 }
517
ValidateGetnColorTable(const Context * context,GLenum target,GLenum format,GLenum type,GLsizei bufSize,const void * table)518 bool ValidateGetnColorTable(const Context *context,
519 GLenum target,
520 GLenum format,
521 GLenum type,
522 GLsizei bufSize,
523 const void *table)
524 {
525 return true;
526 }
527
ValidateGetnCompressedTexImage(const Context * context,GLenum target,GLint lod,GLsizei bufSize,const void * pixels)528 bool ValidateGetnCompressedTexImage(const Context *context,
529 GLenum target,
530 GLint lod,
531 GLsizei bufSize,
532 const void *pixels)
533 {
534 return true;
535 }
536
ValidateGetnConvolutionFilter(const Context * context,GLenum target,GLenum format,GLenum type,GLsizei bufSize,const void * image)537 bool ValidateGetnConvolutionFilter(const Context *context,
538 GLenum target,
539 GLenum format,
540 GLenum type,
541 GLsizei bufSize,
542 const void *image)
543 {
544 return true;
545 }
546
ValidateGetnHistogram(const Context * context,GLenum target,GLboolean reset,GLenum format,GLenum type,GLsizei bufSize,const void * values)547 bool ValidateGetnHistogram(const Context *context,
548 GLenum target,
549 GLboolean reset,
550 GLenum format,
551 GLenum type,
552 GLsizei bufSize,
553 const void *values)
554 {
555 return true;
556 }
557
ValidateGetnMapdv(const Context * context,GLenum target,GLenum query,GLsizei bufSize,const GLdouble * v)558 bool ValidateGetnMapdv(const Context *context,
559 GLenum target,
560 GLenum query,
561 GLsizei bufSize,
562 const GLdouble *v)
563 {
564 return true;
565 }
566
ValidateGetnMapfv(const Context * context,GLenum target,GLenum query,GLsizei bufSize,const GLfloat * v)567 bool ValidateGetnMapfv(const Context *context,
568 GLenum target,
569 GLenum query,
570 GLsizei bufSize,
571 const GLfloat *v)
572 {
573 return true;
574 }
575
ValidateGetnMapiv(const Context * context,GLenum target,GLenum query,GLsizei bufSize,const GLint * v)576 bool ValidateGetnMapiv(const Context *context,
577 GLenum target,
578 GLenum query,
579 GLsizei bufSize,
580 const GLint *v)
581 {
582 return true;
583 }
584
ValidateGetnMinmax(const Context * context,GLenum target,GLboolean reset,GLenum format,GLenum type,GLsizei bufSize,const void * values)585 bool ValidateGetnMinmax(const Context *context,
586 GLenum target,
587 GLboolean reset,
588 GLenum format,
589 GLenum type,
590 GLsizei bufSize,
591 const void *values)
592 {
593 return true;
594 }
595
ValidateGetnPixelMapfv(const Context * context,GLenum map,GLsizei bufSize,const GLfloat * values)596 bool ValidateGetnPixelMapfv(const Context *context,
597 GLenum map,
598 GLsizei bufSize,
599 const GLfloat *values)
600 {
601 return true;
602 }
603
ValidateGetnPixelMapuiv(const Context * context,GLenum map,GLsizei bufSize,const GLuint * values)604 bool ValidateGetnPixelMapuiv(const Context *context,
605 GLenum map,
606 GLsizei bufSize,
607 const GLuint *values)
608 {
609 return true;
610 }
611
ValidateGetnPixelMapusv(const Context * context,GLenum map,GLsizei bufSize,const GLushort * values)612 bool ValidateGetnPixelMapusv(const Context *context,
613 GLenum map,
614 GLsizei bufSize,
615 const GLushort *values)
616 {
617 return true;
618 }
619
ValidateGetnPolygonStipple(const Context * context,GLsizei bufSize,const GLubyte * pattern)620 bool ValidateGetnPolygonStipple(const Context *context, GLsizei bufSize, const GLubyte *pattern)
621 {
622 return true;
623 }
624
ValidateGetnSeparableFilter(const Context * context,GLenum target,GLenum format,GLenum type,GLsizei rowBufSize,const void * row,GLsizei columnBufSize,const void * column,const void * span)625 bool ValidateGetnSeparableFilter(const Context *context,
626 GLenum target,
627 GLenum format,
628 GLenum type,
629 GLsizei rowBufSize,
630 const void *row,
631 GLsizei columnBufSize,
632 const void *column,
633 const void *span)
634 {
635 return true;
636 }
637
ValidateGetnTexImage(const Context * context,GLenum target,GLint level,GLenum format,GLenum type,GLsizei bufSize,const void * pixels)638 bool ValidateGetnTexImage(const Context *context,
639 GLenum target,
640 GLint level,
641 GLenum format,
642 GLenum type,
643 GLsizei bufSize,
644 const void *pixels)
645 {
646 return true;
647 }
648
ValidateGetnUniformdv(const Context * context,ShaderProgramID program,UniformLocation location,GLsizei bufSize,const GLdouble * params)649 bool ValidateGetnUniformdv(const Context *context,
650 ShaderProgramID program,
651 UniformLocation location,
652 GLsizei bufSize,
653 const GLdouble *params)
654 {
655 return true;
656 }
657
ValidateInvalidateNamedFramebufferData(const Context * context,FramebufferID framebuffer,GLsizei numAttachments,const GLenum * attachments)658 bool ValidateInvalidateNamedFramebufferData(const Context *context,
659 FramebufferID framebuffer,
660 GLsizei numAttachments,
661 const GLenum *attachments)
662 {
663 return true;
664 }
665
ValidateInvalidateNamedFramebufferSubData(const Context * context,FramebufferID framebuffer,GLsizei numAttachments,const GLenum * attachments,GLint x,GLint y,GLsizei width,GLsizei height)666 bool ValidateInvalidateNamedFramebufferSubData(const Context *context,
667 FramebufferID framebuffer,
668 GLsizei numAttachments,
669 const GLenum *attachments,
670 GLint x,
671 GLint y,
672 GLsizei width,
673 GLsizei height)
674 {
675 return true;
676 }
677
ValidateMapNamedBuffer(const Context * context,BufferID buffer,GLenum access)678 bool ValidateMapNamedBuffer(const Context *context, BufferID buffer, GLenum access)
679 {
680 return true;
681 }
682
ValidateMapNamedBufferRange(const Context * context,BufferID buffer,GLintptr offset,GLsizeiptr length,GLbitfield access)683 bool ValidateMapNamedBufferRange(const Context *context,
684 BufferID buffer,
685 GLintptr offset,
686 GLsizeiptr length,
687 GLbitfield access)
688 {
689 return true;
690 }
691
ValidateNamedBufferData(const Context * context,BufferID buffer,GLsizeiptr size,const void * data,GLenum usage)692 bool ValidateNamedBufferData(const Context *context,
693 BufferID buffer,
694 GLsizeiptr size,
695 const void *data,
696 GLenum usage)
697 {
698 return true;
699 }
700
ValidateNamedBufferStorage(const Context * context,BufferID buffer,GLsizeiptr size,const void * data,GLbitfield flags)701 bool ValidateNamedBufferStorage(const Context *context,
702 BufferID buffer,
703 GLsizeiptr size,
704 const void *data,
705 GLbitfield flags)
706 {
707 return true;
708 }
709
ValidateNamedBufferSubData(const Context * context,BufferID buffer,GLintptr offset,GLsizeiptr size,const void * data)710 bool ValidateNamedBufferSubData(const Context *context,
711 BufferID buffer,
712 GLintptr offset,
713 GLsizeiptr size,
714 const void *data)
715 {
716 return true;
717 }
718
ValidateNamedFramebufferDrawBuffer(const Context * context,FramebufferID framebuffer,GLenum buf)719 bool ValidateNamedFramebufferDrawBuffer(const Context *context,
720 FramebufferID framebuffer,
721 GLenum buf)
722 {
723 return true;
724 }
725
ValidateNamedFramebufferDrawBuffers(const Context * context,FramebufferID framebuffer,GLsizei n,const GLenum * bufs)726 bool ValidateNamedFramebufferDrawBuffers(const Context *context,
727 FramebufferID framebuffer,
728 GLsizei n,
729 const GLenum *bufs)
730 {
731 return true;
732 }
733
ValidateNamedFramebufferParameteri(const Context * context,FramebufferID framebuffer,GLenum pname,GLint param)734 bool ValidateNamedFramebufferParameteri(const Context *context,
735 FramebufferID framebuffer,
736 GLenum pname,
737 GLint param)
738 {
739 return true;
740 }
741
ValidateNamedFramebufferReadBuffer(const Context * context,FramebufferID framebuffer,GLenum src)742 bool ValidateNamedFramebufferReadBuffer(const Context *context,
743 FramebufferID framebuffer,
744 GLenum src)
745 {
746 return true;
747 }
748
ValidateNamedFramebufferRenderbuffer(const Context * context,FramebufferID framebuffer,GLenum attachment,GLenum renderbuffertarget,RenderbufferID renderbuffer)749 bool ValidateNamedFramebufferRenderbuffer(const Context *context,
750 FramebufferID framebuffer,
751 GLenum attachment,
752 GLenum renderbuffertarget,
753 RenderbufferID renderbuffer)
754 {
755 return true;
756 }
757
ValidateNamedFramebufferTexture(const Context * context,FramebufferID framebuffer,GLenum attachment,TextureID texture,GLint level)758 bool ValidateNamedFramebufferTexture(const Context *context,
759 FramebufferID framebuffer,
760 GLenum attachment,
761 TextureID texture,
762 GLint level)
763 {
764 return true;
765 }
766
ValidateNamedFramebufferTextureLayer(const Context * context,FramebufferID framebuffer,GLenum attachment,TextureID texture,GLint level,GLint layer)767 bool ValidateNamedFramebufferTextureLayer(const Context *context,
768 FramebufferID framebuffer,
769 GLenum attachment,
770 TextureID texture,
771 GLint level,
772 GLint layer)
773 {
774 return true;
775 }
776
ValidateNamedRenderbufferStorage(const Context * context,RenderbufferID renderbuffer,GLenum internalformat,GLsizei width,GLsizei height)777 bool ValidateNamedRenderbufferStorage(const Context *context,
778 RenderbufferID renderbuffer,
779 GLenum internalformat,
780 GLsizei width,
781 GLsizei height)
782 {
783 return true;
784 }
785
ValidateNamedRenderbufferStorageMultisample(const Context * context,RenderbufferID renderbuffer,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height)786 bool ValidateNamedRenderbufferStorageMultisample(const Context *context,
787 RenderbufferID renderbuffer,
788 GLsizei samples,
789 GLenum internalformat,
790 GLsizei width,
791 GLsizei height)
792 {
793 return true;
794 }
795
ValidateTextureBarrier(const Context * context)796 bool ValidateTextureBarrier(const Context *context)
797 {
798 return true;
799 }
800
ValidateTextureBuffer(const Context * context,TextureID texture,GLenum internalformat,BufferID buffer)801 bool ValidateTextureBuffer(const Context *context,
802 TextureID texture,
803 GLenum internalformat,
804 BufferID buffer)
805 {
806 return true;
807 }
808
ValidateTextureBufferRange(const Context * context,TextureID texture,GLenum internalformat,BufferID buffer,GLintptr offset,GLsizeiptr size)809 bool ValidateTextureBufferRange(const Context *context,
810 TextureID texture,
811 GLenum internalformat,
812 BufferID buffer,
813 GLintptr offset,
814 GLsizeiptr size)
815 {
816 return true;
817 }
818
ValidateTextureParameterIiv(const Context * context,TextureID texture,GLenum pname,const GLint * params)819 bool ValidateTextureParameterIiv(const Context *context,
820 TextureID texture,
821 GLenum pname,
822 const GLint *params)
823 {
824 return true;
825 }
826
ValidateTextureParameterIuiv(const Context * context,TextureID texture,GLenum pname,const GLuint * params)827 bool ValidateTextureParameterIuiv(const Context *context,
828 TextureID texture,
829 GLenum pname,
830 const GLuint *params)
831 {
832 return true;
833 }
834
ValidateTextureParameterf(const Context * context,TextureID texture,GLenum pname,GLfloat param)835 bool ValidateTextureParameterf(const Context *context,
836 TextureID texture,
837 GLenum pname,
838 GLfloat param)
839 {
840 return true;
841 }
842
ValidateTextureParameterfv(const Context * context,TextureID texture,GLenum pname,const GLfloat * param)843 bool ValidateTextureParameterfv(const Context *context,
844 TextureID texture,
845 GLenum pname,
846 const GLfloat *param)
847 {
848 return true;
849 }
850
ValidateTextureParameteri(const Context * context,TextureID texture,GLenum pname,GLint param)851 bool ValidateTextureParameteri(const Context *context, TextureID texture, GLenum pname, GLint param)
852 {
853 return true;
854 }
855
ValidateTextureParameteriv(const Context * context,TextureID texture,GLenum pname,const GLint * param)856 bool ValidateTextureParameteriv(const Context *context,
857 TextureID texture,
858 GLenum pname,
859 const GLint *param)
860 {
861 return true;
862 }
863
ValidateTextureStorage1D(const Context * context,TextureID texture,GLsizei levels,GLenum internalformat,GLsizei width)864 bool ValidateTextureStorage1D(const Context *context,
865 TextureID texture,
866 GLsizei levels,
867 GLenum internalformat,
868 GLsizei width)
869 {
870 return true;
871 }
872
ValidateTextureStorage2D(const Context * context,TextureID texture,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height)873 bool ValidateTextureStorage2D(const Context *context,
874 TextureID texture,
875 GLsizei levels,
876 GLenum internalformat,
877 GLsizei width,
878 GLsizei height)
879 {
880 return true;
881 }
882
ValidateTextureStorage2DMultisample(const Context * context,TextureID texture,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)883 bool ValidateTextureStorage2DMultisample(const Context *context,
884 TextureID texture,
885 GLsizei samples,
886 GLenum internalformat,
887 GLsizei width,
888 GLsizei height,
889 GLboolean fixedsamplelocations)
890 {
891 return true;
892 }
893
ValidateTextureStorage3D(const Context * context,TextureID texture,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth)894 bool ValidateTextureStorage3D(const Context *context,
895 TextureID texture,
896 GLsizei levels,
897 GLenum internalformat,
898 GLsizei width,
899 GLsizei height,
900 GLsizei depth)
901 {
902 return true;
903 }
904
ValidateTextureStorage3DMultisample(const Context * context,TextureID texture,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations)905 bool ValidateTextureStorage3DMultisample(const Context *context,
906 TextureID texture,
907 GLsizei samples,
908 GLenum internalformat,
909 GLsizei width,
910 GLsizei height,
911 GLsizei depth,
912 GLboolean fixedsamplelocations)
913 {
914 return true;
915 }
916
ValidateTextureSubImage1D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const void * pixels)917 bool ValidateTextureSubImage1D(const Context *context,
918 TextureID texture,
919 GLint level,
920 GLint xoffset,
921 GLsizei width,
922 GLenum format,
923 GLenum type,
924 const void *pixels)
925 {
926 return true;
927 }
928
ValidateTextureSubImage2D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,const void * pixels)929 bool ValidateTextureSubImage2D(const Context *context,
930 TextureID texture,
931 GLint level,
932 GLint xoffset,
933 GLint yoffset,
934 GLsizei width,
935 GLsizei height,
936 GLenum format,
937 GLenum type,
938 const void *pixels)
939 {
940 return true;
941 }
942
ValidateTextureSubImage3D(const Context * context,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * pixels)943 bool ValidateTextureSubImage3D(const Context *context,
944 TextureID texture,
945 GLint level,
946 GLint xoffset,
947 GLint yoffset,
948 GLint zoffset,
949 GLsizei width,
950 GLsizei height,
951 GLsizei depth,
952 GLenum format,
953 GLenum type,
954 const void *pixels)
955 {
956 return true;
957 }
958
ValidateTransformFeedbackBufferBase(const Context * context,GLuint xfb,GLuint index,BufferID buffer)959 bool ValidateTransformFeedbackBufferBase(const Context *context,
960 GLuint xfb,
961 GLuint index,
962 BufferID buffer)
963 {
964 return true;
965 }
966
ValidateTransformFeedbackBufferRange(const Context * context,GLuint xfb,GLuint index,BufferID buffer,GLintptr offset,GLsizeiptr size)967 bool ValidateTransformFeedbackBufferRange(const Context *context,
968 GLuint xfb,
969 GLuint index,
970 BufferID buffer,
971 GLintptr offset,
972 GLsizeiptr size)
973 {
974 return true;
975 }
976
ValidateUnmapNamedBuffer(const Context * context,BufferID buffer)977 bool ValidateUnmapNamedBuffer(const Context *context, BufferID buffer)
978 {
979 return true;
980 }
981
ValidateVertexArrayAttribBinding(const Context * context,VertexArrayID vaobj,GLuint attribindex,GLuint bindingindex)982 bool ValidateVertexArrayAttribBinding(const Context *context,
983 VertexArrayID vaobj,
984 GLuint attribindex,
985 GLuint bindingindex)
986 {
987 return true;
988 }
989
ValidateVertexArrayAttribFormat(const Context * context,VertexArrayID vaobj,GLuint attribindex,GLint size,GLenum type,GLboolean normalized,GLuint relativeoffset)990 bool ValidateVertexArrayAttribFormat(const Context *context,
991 VertexArrayID vaobj,
992 GLuint attribindex,
993 GLint size,
994 GLenum type,
995 GLboolean normalized,
996 GLuint relativeoffset)
997 {
998 return true;
999 }
1000
ValidateVertexArrayAttribIFormat(const Context * context,VertexArrayID vaobj,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)1001 bool ValidateVertexArrayAttribIFormat(const Context *context,
1002 VertexArrayID vaobj,
1003 GLuint attribindex,
1004 GLint size,
1005 GLenum type,
1006 GLuint relativeoffset)
1007 {
1008 return true;
1009 }
1010
ValidateVertexArrayAttribLFormat(const Context * context,VertexArrayID vaobj,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)1011 bool ValidateVertexArrayAttribLFormat(const Context *context,
1012 VertexArrayID vaobj,
1013 GLuint attribindex,
1014 GLint size,
1015 GLenum type,
1016 GLuint relativeoffset)
1017 {
1018 return true;
1019 }
1020
ValidateVertexArrayBindingDivisor(const Context * context,VertexArrayID vaobj,GLuint bindingindex,GLuint divisor)1021 bool ValidateVertexArrayBindingDivisor(const Context *context,
1022 VertexArrayID vaobj,
1023 GLuint bindingindex,
1024 GLuint divisor)
1025 {
1026 return true;
1027 }
1028
ValidateVertexArrayElementBuffer(const Context * context,VertexArrayID vaobj,BufferID buffer)1029 bool ValidateVertexArrayElementBuffer(const Context *context, VertexArrayID vaobj, BufferID buffer)
1030 {
1031 return true;
1032 }
1033
ValidateVertexArrayVertexBuffer(const Context * context,VertexArrayID vaobj,GLuint bindingindex,BufferID buffer,GLintptr offset,GLsizei stride)1034 bool ValidateVertexArrayVertexBuffer(const Context *context,
1035 VertexArrayID vaobj,
1036 GLuint bindingindex,
1037 BufferID buffer,
1038 GLintptr offset,
1039 GLsizei stride)
1040 {
1041 return true;
1042 }
1043
ValidateVertexArrayVertexBuffers(const Context * context,VertexArrayID vaobj,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizei * strides)1044 bool ValidateVertexArrayVertexBuffers(const Context *context,
1045 VertexArrayID vaobj,
1046 GLuint first,
1047 GLsizei count,
1048 const BufferID *buffers,
1049 const GLintptr *offsets,
1050 const GLsizei *strides)
1051 {
1052 return true;
1053 }
1054
1055 } // namespace gl
1056