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 // validationGL32.cpp: Validation functions for OpenGL 3.2 entry point parameters
8
9 #include "libANGLE/validationGL32_autogen.h"
10
11 namespace gl
12 {
13
ValidateMultiDrawElementsBaseVertex(const Context * context,PrimitiveMode mode,const GLsizei * count,DrawElementsType type,const void * const * indices,GLsizei drawcount,const GLint * basevertex)14 bool ValidateMultiDrawElementsBaseVertex(const Context *context,
15 PrimitiveMode mode,
16 const GLsizei *count,
17 DrawElementsType type,
18 const void *const *indices,
19 GLsizei drawcount,
20 const GLint *basevertex)
21 {
22 return true;
23 }
24
ValidateProvokingVertex(const Context * context,ProvokingVertexConvention modePacked)25 bool ValidateProvokingVertex(const Context *context, ProvokingVertexConvention modePacked)
26 {
27 return true;
28 }
29
ValidateTexImage2DMultisample(const Context * context,GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)30 bool ValidateTexImage2DMultisample(const Context *context,
31 GLenum target,
32 GLsizei samples,
33 GLenum internalformat,
34 GLsizei width,
35 GLsizei height,
36 GLboolean fixedsamplelocations)
37 {
38 return true;
39 }
40
ValidateTexImage3DMultisample(const Context * context,GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations)41 bool ValidateTexImage3DMultisample(const Context *context,
42 GLenum target,
43 GLsizei samples,
44 GLenum internalformat,
45 GLsizei width,
46 GLsizei height,
47 GLsizei depth,
48 GLboolean fixedsamplelocations)
49 {
50 return true;
51 }
52
53 } // namespace gl
54