diff options
author | Francisco Jerez <[email protected]> | 2013-11-22 19:58:10 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-01-15 16:42:08 +0100 |
commit | 647344bf3e739c537a97ae54046b6b55cd068721 (patch) | |
tree | df50c443507c3a296371ea015892550cd4e3394c /src/mesa/main/shaderimage.h | |
parent | ace31f4bc05ad35ef42626ecd667a4bbbe044ddc (diff) |
mesa: Validate image units when the texture state changes.
Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderimage.h')
-rw-r--r-- | src/mesa/main/shaderimage.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/shaderimage.h b/src/mesa/main/shaderimage.h index f9d550b02e7..aaecc5d2994 100644 --- a/src/mesa/main/shaderimage.h +++ b/src/mesa/main/shaderimage.h @@ -31,6 +31,15 @@ struct gl_context; +/** + * Recalculate the \c _Valid flag of a context's shader image units. + * + * To be called when the state of any texture bound to an image unit + * changes. + */ +void +_mesa_validate_image_units(struct gl_context *ctx); + void GLAPIENTRY _mesa_BindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, |