mesa: Add driver interface for ARB_shader_image_load_store.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 23 Nov 2013 05:16:06 +0000 (21:16 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 15 Jan 2014 15:42:07 +0000 (16:42 +0100)
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/main/dd.h

index f8237c91edb53a029d44f18dbfa6d17e63bf8cf9..31dc651d0ef818a5dbe58cebba84c7825147ece6 100644 (file)
@@ -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);
+   /** @} */
 };