summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_print.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-04 15:36:13 -0600
committerBrian Paul <[email protected]>2009-08-04 15:36:29 -0600
commita746ef28df9e6e594be7eb292d2dcad3546f739a (patch)
tree743868594c88dd5e16d6faa2a9dd3b6fb4fa50db /src/mesa/shader/prog_print.c
parentf7783badb55bd2ff9bc544b2f8cc0c4ad7b86ea7 (diff)
mesa: log the shader checksum
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r--src/mesa/shader/prog_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index cef0288a9c9..20d3fdec477 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -933,7 +933,7 @@ _mesa_write_shader_to_file(const struct gl_shader *shader)
return;
}
- fprintf(f, "/* Shader %u source */\n", shader->Name);
+ fprintf(f, "/* Shader %u source, checksum %u */\n", shader->Name, shader->SourceChecksum);
fputs(shader->Source, f);
fprintf(f, "\n");