Module: Mesa
Branch: master
Commit: 16070716bca77da0d33ac2b5ae9f83c10993d912
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=16070716bca77da0d33ac2b5ae9f83c10993d912

Author: Francisco Jerez <[email protected]>
Date:   Fri Nov 22 21:16:06 2013 -0800

mesa: Add driver interface for ARB_shader_image_load_store.

Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>

---

 src/mesa/main/dd.h |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index f8237c9..31dc651 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -911,6 +911,19 @@ struct dd_function_table {
     * non-zero status should be returned for the duration of the reset.
     */
    GLenum (*GetGraphicsResetStatus)(struct gl_context *ctx);
+
+   /**
+    * \name GL_ARB_shader_image_load_store interface.
+    */
+   /** @{ */
+   void (*BindImageTexture)(struct gl_context *ctx,
+                            struct gl_image_unit *unit,
+                            struct gl_texture_object *texObj,
+                            GLint level, GLboolean layered, GLint layer,
+                            GLenum access, GLenum format);
+
+   void (*MemoryBarrier)(struct gl_context *ctx, GLbitfield barriers);
+   /** @} */
 };
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to