summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-04 18:18:28 -0600
committerBrian Paul <[email protected]>2010-04-04 19:05:38 -0600
commitcf3193ad1cd75b847c5d626def701a4bb012d080 (patch)
tree1c60ddd6eaea6ad95e0d6a292ce3d6abb6d4475d /src/mesa/main/api_validate.h
parent3258dfbbbda69b46003362e94e75129c277c7a61 (diff)
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/api_validate.h b/src/mesa/main/api_validate.h
index 6064d15fe6c..cd27d58aa7d 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