summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-09-17 10:05:22 -0700
committerJordan Justen <[email protected]>2015-09-24 19:15:13 -0700
commit4a1ba7e6bd3ddcab4647a1382d14165a08c0d3b0 (patch)
tree796a311e1d620c680189375727407d3500acf35c /src/mesa/main/api_validate.h
parent19604d30e1351868f7f54847c91ffec7b3fcd27e (diff)
mesa/cs: Add _mesa_validate_DispatchCompute
Move API validation to _mesa_validate_DispatchCompute in api_validate.c. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/main/api_validate.h')
-rw-r--r--src/mesa/main/api_validate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/api_validate.h b/src/mesa/main/api_validate.h
index 0ce7b69d5de..ef2c7949a42 100644
--- a/src/mesa/main/api_validate.h
+++ b/src/mesa/main/api_validate.h
@@ -105,5 +105,9 @@ _mesa_validate_MultiDrawElementsIndirect(struct gl_context *ctx,
GLsizei primcount,
GLsizei stride);
+extern GLboolean
+_mesa_validate_DispatchCompute(struct gl_context *ctx,
+ const GLuint *num_groups);
+
#endif