1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml.
3 //
4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // validationGL46_autogen.h:
9 //   Validation functions for the OpenGL 4.6 entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_GL46_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_GL46_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 
16 namespace gl
17 {
18 class Context;
19 
20 bool ValidateMultiDrawArraysIndirectCount(const Context *context,
21                                           GLenum mode,
22                                           const void *indirect,
23                                           GLintptr drawcount,
24                                           GLsizei maxdrawcount,
25                                           GLsizei stride);
26 bool ValidateMultiDrawElementsIndirectCount(const Context *context,
27                                             GLenum mode,
28                                             GLenum type,
29                                             const void *indirect,
30                                             GLintptr drawcount,
31                                             GLsizei maxdrawcount,
32                                             GLsizei stride);
33 bool ValidatePolygonOffsetClamp(const Context *context,
34                                 GLfloat factor,
35                                 GLfloat units,
36                                 GLfloat clamp);
37 bool ValidateSpecializeShader(const Context *context,
38                               GLuint shader,
39                               const GLchar *pEntryPoint,
40                               GLuint numSpecializationConstants,
41                               const GLuint *pConstantIndex,
42                               const GLuint *pConstantValue);
43 }  // namespace gl
44 
45 #endif  // LIBANGLE_VALIDATION_GL46_AUTOGEN_H_
46