summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2014-01-09 18:54:35 -0800
committerJordan Justen <[email protected]>2015-05-02 00:50:00 -0700
commit4d0f3d2319169aca112f9387ef7509290713dc75 (patch)
tree97be2cbaf6454e7ff642de0b91adc64ee00513cd /src/mesa/main
parent5f70b49d4bffaaa073d6cc2a958ec655c201fd10 (diff)
mesa/cs: Add DispatchCompute() to driver function table.
Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 0c1a13fa4bf..a329d9c5340 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1005,6 +1005,13 @@ struct dd_function_table {
void (*MemoryBarrier)(struct gl_context *ctx, GLbitfield barriers);
/** @} */
+
+ /**
+ * \name GL_ARB_compute_shader interface
+ */
+ /*@{*/
+ void (*DispatchCompute)(struct gl_context *ctx, const GLuint *num_groups);
+ /*@}*/
};