[Mesa-dev] [PATCH 2/7] mesa/cs: Add DispatchCompute() to driver function table.

Jordan Justen jordan.l.justen at intel.com
Fri Apr 24 16:33:39 PDT 2015


From: Paul Berry <stereotype441 at gmail.com>

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
---
 src/mesa/main/dd.h | 7 +++++++
 1 file changed, 7 insertions(+)

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);
+   /*@}*/
 };
 
 
-- 
2.1.4



More information about the mesa-dev mailing list