summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/uniforms.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-10-18 14:29:43 -0700
committerIan Romanick <ian.d.romanick@intel.com>2011-11-07 13:33:16 -0800
commit9516182e80d5a21ab402c9b2cbe9e6c46e5bb1d8 (patch)
tree6384710a940594a5ce54f47383c68ff0c29688a7 /src/mesa/main/uniforms.h
parent07731ed1692eb5d72110b3c5b693f37e581e3809 (diff)
downloadexternal_mesa3d-9516182e80d5a21ab402c9b2cbe9e6c46e5bb1d8.zip
external_mesa3d-9516182e80d5a21ab402c9b2cbe9e6c46e5bb1d8.tar.gz
external_mesa3d-9516182e80d5a21ab402c9b2cbe9e6c46e5bb1d8.tar.bz2
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 <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/mesa/main/uniforms.h')
-rw-r--r--src/mesa/main/uniforms.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/uniforms.h b/src/mesa/main/uniforms.h
index 3630ad0..4698ffc 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);