From: Francisco Jerez Date: Sat, 23 Nov 2013 05:16:06 +0000 (-0800) Subject: mesa: Add driver interface for ARB_shader_image_load_store. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16070716bca77da0d33ac2b5ae9f83c10993d912;p=mesa.git mesa: Add driver interface for ARB_shader_image_load_store. Reviewed-by: Chris Forbes Reviewed-by: Paul Berry --- diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index f8237c91edb..31dc651d0ef 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); + /** @} */ };