[Mesa-dev] [PATCH 04/11] mesa: Add driver interface for ARB_shader_image_load_store.

Francisco Jerez currojerez at riseup.net
Sun Nov 24 21:00:41 PST 2013


---
 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 648062f..7a4c0a7 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -900,6 +900,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);
+   /** @} */
 };
 
 
-- 
1.8.3.4



More information about the mesa-dev mailing list