diff options
author | Brian Paul <[email protected]> | 2009-10-09 08:29:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-12 18:05:23 -0600 |
commit | 6c1cd4c55856dc7d36406de21a0fb5f567fcd36f (patch) | |
tree | 0df16ad2ac1e4f03f1957d9dab0861522e05b9a3 /src | |
parent | a5348d435da7d06478adc003a07e388915a8b346 (diff) |
mesa: print program Id when printing
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/prog_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index b71735aa80e..a2bed079004 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -788,7 +788,7 @@ _mesa_fprint_program_opt(FILE *f, else if (mode == PROG_PRINT_NV) _mesa_fprintf(f, "!!VP1.0\n"); else - _mesa_fprintf(f, "# Vertex Program/Shader\n"); + _mesa_fprintf(f, "# Vertex Program/Shader %u\n", prog->Id); break; case GL_FRAGMENT_PROGRAM_ARB: case GL_FRAGMENT_PROGRAM_NV: @@ -797,7 +797,7 @@ _mesa_fprint_program_opt(FILE *f, else if (mode == PROG_PRINT_NV) _mesa_fprintf(f, "!!FP1.0\n"); else - _mesa_fprintf(f, "# Fragment Program/Shader\n"); + _mesa_fprintf(f, "# Fragment Program/Shader %u\n", prog->Id); break; } |