diff options
author | Timothy Arceri <[email protected]> | 2018-06-25 10:31:34 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-06-30 08:38:33 +1000 |
commit | 103b8f11d660457c8b1c0041bb85a2f0e8d2ec95 (patch) | |
tree | 7ab59eac9d08a97bd40581c6cecfa6f273851bbc /src/mesa/main/draw_validate.h | |
parent | 5f90fb4007d6f2bb763b1cc63aef98fd38f65d0b (diff) |
mesa: make valid_draw_indirect_multi() accessible externally
We will use this to add compat support to ARB_multi_draw_indirect
in the following patch.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/draw_validate.h')
-rw-r--r-- | src/mesa/main/draw_validate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/draw_validate.h b/src/mesa/main/draw_validate.h index 7a181153fb7..d015c7e830e 100644 --- a/src/mesa/main/draw_validate.h +++ b/src/mesa/main/draw_validate.h @@ -44,6 +44,9 @@ _mesa_is_valid_prim_mode(const struct gl_context *ctx, GLenum mode); extern GLboolean _mesa_valid_prim_mode(struct gl_context *ctx, GLenum mode, const char *name); +extern GLboolean +_mesa_valid_draw_indirect_multi(struct gl_context *ctx, GLsizei primcount, + GLsizei stride, const char *name); extern GLboolean _mesa_validate_DrawArrays(struct gl_context *ctx, GLenum mode, GLsizei count); |