From 16070716bca77da0d33ac2b5ae9f83c10993d912 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Fri, 22 Nov 2013 21:16:06 -0800 Subject: [PATCH] mesa: Add driver interface for ARB_shader_image_load_store. Reviewed-by: Chris Forbes Reviewed-by: Paul Berry --- 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..31dc651d 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); + /** @} */ }; -- 2.7.4