summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/uniforms.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-10-11 17:02:06 -0700
committerIan Romanick <ian.d.romanick@intel.com>2011-11-07 13:33:15 -0800
commit4ad41af616fed7ad0b6980f7181c9db9b95a6732 (patch)
tree7c3bb7a73e8ecd8383c8a67577f732ebab25c948 /src/mesa/main/uniforms.h
parentfa7eccb8c0c590535856a54e3697982af6a630ed (diff)
downloadexternal_mesa3d-4ad41af616fed7ad0b6980f7181c9db9b95a6732.zip
external_mesa3d-4ad41af616fed7ad0b6980f7181c9db9b95a6732.tar.gz
external_mesa3d-4ad41af616fed7ad0b6980f7181c9db9b95a6732.tar.bz2
mesa: Make get_uniform available outside compilation unit
Also rename to _mesa_get_uniform. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/uniforms.h b/src/mesa/main/uniforms.h
index 77f55d4..5c1dded 100644
--- a/src/mesa/main/uniforms.h
+++ b/src/mesa/main/uniforms.h
@@ -184,6 +184,10 @@ _mesa_uniform_matrix(struct gl_context *ctx, struct gl_shader_program *shProg,
GLint location, GLsizei count,
GLboolean transpose, const GLfloat *values);
+void
+_mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location,
+ GLsizei bufSize, GLenum returnType, GLvoid *paramsOut);
+
extern void
_mesa_update_shader_textures_used(struct gl_program *prog);