summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2014-01-09 18:54:35 -0800
committerJordan Justen <jordan.l.justen@intel.com>2015-05-02 00:50:00 -0700
commit4d0f3d2319169aca112f9387ef7509290713dc75 (patch)
tree97be2cbaf6454e7ff642de0b91adc64ee00513cd /src/mesa/main/dd.h
parent5f70b49d4bffaaa073d6cc2a958ec655c201fd10 (diff)
downloadexternal_mesa3d-4d0f3d2319169aca112f9387ef7509290713dc75.zip
external_mesa3d-4d0f3d2319169aca112f9387ef7509290713dc75.tar.gz
external_mesa3d-4d0f3d2319169aca112f9387ef7509290713dc75.tar.bz2
mesa/cs: Add DispatchCompute() to driver function table.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/dd.h')
-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 0c1a13f..a329d9c 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);
+ /*@}*/
};