diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-04 18:18:28 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-04 19:05:38 -0600 |
commit | cf3193ad1cd75b847c5d626def701a4bb012d080 (patch) | |
tree | 1c60ddd6eaea6ad95e0d6a292ce3d6abb6d4475d /src/mesa/main/api_validate.h | |
parent | 3258dfbbbda69b46003362e94e75129c277c7a61 (diff) | |
download | external_mesa3d-cf3193ad1cd75b847c5d626def701a4bb012d080.zip external_mesa3d-cf3193ad1cd75b847c5d626def701a4bb012d080.tar.gz external_mesa3d-cf3193ad1cd75b847c5d626def701a4bb012d080.tar.bz2 |
mesa: new validation functions for GL_ARB_draw_instanced
Diffstat (limited to 'src/mesa/main/api_validate.h')
-rw-r--r-- | src/mesa/main/api_validate.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/api_validate.h b/src/mesa/main/api_validate.h index 6064d15..cd27d58 100644 --- a/src/mesa/main/api_validate.h +++ b/src/mesa/main/api_validate.h @@ -52,4 +52,14 @@ _mesa_validate_DrawRangeElements(GLcontext *ctx, GLenum mode, const GLvoid *indices, GLint basevertex); +extern GLboolean +_mesa_validate_DrawArraysInstanced(GLcontext *ctx, GLenum mode, GLint first, + GLsizei count, GLsizei primcount); + +extern GLboolean +_mesa_validate_DrawElementsInstanced(GLcontext *ctx, + GLenum mode, GLsizei count, GLenum type, + const GLvoid *indices, GLsizei primcount); + + #endif |