diff options
author | Ian Romanick <[email protected]> | 2011-10-18 14:29:43 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-11-07 13:33:16 -0800 |
commit | 9516182e80d5a21ab402c9b2cbe9e6c46e5bb1d8 (patch) | |
tree | 6384710a940594a5ce54f47383c68ff0c29688a7 /src/mesa/main/uniforms.h | |
parent | 07731ed1692eb5d72110b3c5b693f37e581e3809 (diff) |
mesa: Add _mesa_propagate_uniforms_to_driver_storage
This function propagates the values from the backing storage of a
gl_uniform_storage structure to the driver supplied data locations.
Signed-off-by: Ian Romanick <[email protected]>
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/mesa/main/uniforms.h')
-rw-r--r-- | src/mesa/main/uniforms.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/uniforms.h b/src/mesa/main/uniforms.h index 3630ad0eeb7..4698ffce4f5 100644 --- a/src/mesa/main/uniforms.h +++ b/src/mesa/main/uniforms.h @@ -189,6 +189,11 @@ _mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location, GLsizei bufSize, GLenum returnType, GLvoid *paramsOut); extern void +_mesa_propagate_uniforms_to_driver_storage(struct gl_uniform_storage *uni, + unsigned array_index, + unsigned count); + +extern void _mesa_update_shader_textures_used(struct gl_program *prog); |