diff options
author | Ian Romanick <[email protected]> | 2011-10-04 16:58:21 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-10-18 17:26:37 -0700 |
commit | 118fd08b586970175af9ae269c81c0f501acba25 (patch) | |
tree | d5cca82c71500ec61c2cd7d769c487d8f3992f7c /src/mesa/program/prog_print.c | |
parent | 188f0742558196367df24086c4dc9865ebd86f7e (diff) |
mesa: Simplify uniform debug logging logic
This simplificiation was enabled by the earlier refactors that
eliminated the references to the assembly shaders stored in the
gl_shader_program structure.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_print.c')
-rw-r--r-- | src/mesa/program/prog_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index 70412b1fa6a..dfccc60f694 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -1068,9 +1068,9 @@ _mesa_write_shader_to_file(const struct gl_shader *shader) * _mesa_write_shader_to_file function. */ void -_mesa_append_uniforms_to_file(const struct gl_shader *shader, - const struct gl_program *prog) +_mesa_append_uniforms_to_file(const struct gl_shader *shader) { + const struct gl_program *const prog = shader->Program; const char *type; char filename[100]; FILE *f; |