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 // validationGL44.cpp: Validation functions for OpenGL 4.4 entry point parameters
8
9 #include "libANGLE/validationGL44_autogen.h"
10
11 namespace gl
12 {
13
ValidateBindBuffersBase(const Context * context,GLenum target,GLuint first,GLsizei count,const BufferID * buffers)14 bool ValidateBindBuffersBase(const Context *context,
15 GLenum target,
16 GLuint first,
17 GLsizei count,
18 const BufferID *buffers)
19 {
20 return true;
21 }
22
ValidateBindBuffersRange(const Context * context,GLenum target,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizeiptr * sizes)23 bool ValidateBindBuffersRange(const Context *context,
24 GLenum target,
25 GLuint first,
26 GLsizei count,
27 const BufferID *buffers,
28 const GLintptr *offsets,
29 const GLsizeiptr *sizes)
30 {
31 return true;
32 }
33
ValidateBindImageTextures(const Context * context,GLuint first,GLsizei count,const GLuint * textures)34 bool ValidateBindImageTextures(const Context *context,
35 GLuint first,
36 GLsizei count,
37 const GLuint *textures)
38 {
39 return true;
40 }
41
ValidateBindSamplers(const Context * context,GLuint first,GLsizei count,const GLuint * samplers)42 bool ValidateBindSamplers(const Context *context,
43 GLuint first,
44 GLsizei count,
45 const GLuint *samplers)
46 {
47 return true;
48 }
49
ValidateBindTextures(const Context * context,GLuint first,GLsizei count,const GLuint * textures)50 bool ValidateBindTextures(const Context *context,
51 GLuint first,
52 GLsizei count,
53 const GLuint *textures)
54 {
55 return true;
56 }
57
ValidateBindVertexBuffers(const Context * context,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizei * strides)58 bool ValidateBindVertexBuffers(const Context *context,
59 GLuint first,
60 GLsizei count,
61 const BufferID *buffers,
62 const GLintptr *offsets,
63 const GLsizei *strides)
64 {
65 return true;
66 }
67
ValidateBufferStorage(const Context * context,GLenum target,GLsizeiptr size,const void * data,GLbitfield flags)68 bool ValidateBufferStorage(const Context *context,
69 GLenum target,
70 GLsizeiptr size,
71 const void *data,
72 GLbitfield flags)
73 {
74 return true;
75 }
76
ValidateClearTexImage(const Context * context,TextureID texture,GLint level,GLenum format,GLenum type,const void * data)77 bool ValidateClearTexImage(const Context *context,
78 TextureID texture,
79 GLint level,
80 GLenum format,
81 GLenum type,
82 const void *data)
83 {
84 return true;
85 }
86
ValidateClearTexSubImage(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 * data)87 bool ValidateClearTexSubImage(const Context *context,
88 TextureID texture,
89 GLint level,
90 GLint xoffset,
91 GLint yoffset,
92 GLint zoffset,
93 GLsizei width,
94 GLsizei height,
95 GLsizei depth,
96 GLenum format,
97 GLenum type,
98 const void *data)
99 {
100 return true;
101 }
102
103 } // namespace gl
104