summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2008-05-21 23:33:13 -0700
committerCorbin Simpson <[email protected]>2008-05-21 23:33:13 -0700
commit0dfbe9cdd7e076fb23d90e99e225fd0e19b63dfb (patch)
tree5b031119f5b339166fea78f6b2db49cd08c20e3d /src/mesa
parentd06f4edb146cfb42fa2a3f654db141f88dcfe074 (diff)
r5xx: Change debug info for readability.
It's weird seeing the compiled program before the assembly, that's all.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c
index e67ff98a9ab..f0c7fed7cbf 100644
--- a/src/mesa/drivers/dri/r300/r500_fragprog.c
+++ b/src/mesa/drivers/dri/r300/r500_fragprog.c
@@ -1141,11 +1141,11 @@ void r500TranslateFragmentShader(r300ContextPtr r300,
fp->translated = GL_TRUE;
if (RADEON_DEBUG & DEBUG_PIXEL) {
- dump_program(fp);
fprintf(stderr, "Mesa program:\n");
fprintf(stderr, "-------------\n");
_mesa_print_program(&fp->mesa_program.Base);
fflush(stdout);
+ dump_program(fp);
}