mesa/cs: Add DispatchCompute() to driver function table.
authorPaul Berry <stereotype441@gmail.com>
Fri, 10 Jan 2014 02:54:35 +0000 (18:54 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 May 2015 07:50:00 +0000 (00:50 -0700)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/dd.h

index 0c1a13fa4bf908abbb3b0df8ba75a4da907ff072..a329d9c5340f192882f68ee5fa05eae997a639c6 100644 (file)
@@ -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);
+   /*@}*/
 };