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