diff options
author | Francisco Jerez <[email protected]> | 2013-11-22 21:16:06 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-01-15 16:42:07 +0100 |
commit | 16070716bca77da0d33ac2b5ae9f83c10993d912 (patch) | |
tree | 5d6951435ce6f1a3a643f588d1ad68bd7e4710c3 /src/mesa | |
parent | 7a98741ef2bde20c33522ca4960253fa06cae2e2 (diff) |
mesa: Add driver interface for ARB_shader_image_load_store.
Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/dd.h | 13 |
1 files changed, 13 insertions, 0 deletions
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); + /** @} */ }; |