projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5348d4
)
mesa: print program Id when printing
author
Brian Paul
<brianp@vmware.com>
Fri, 9 Oct 2009 14:29:28 +0000
(08:29 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 13 Oct 2009 00:05:23 +0000
(18:05 -0600)
src/mesa/shader/prog_print.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_print.c
b/src/mesa/shader/prog_print.c
index b71735aa80e88a971152f1aba1f81672746fe9ed..a2bed079004d94074c1e21bbd9913621c1924808 100644
(file)
--- 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;
}