From 0dfbe9cdd7e076fb23d90e99e225fd0e19b63dfb Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Wed, 21 May 2008 23:33:13 -0700 Subject: r5xx: Change debug info for readability. It's weird seeing the compiled program before the assembly, that's all. --- src/mesa/drivers/dri/r300/r500_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/r300') 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); } -- cgit v1.2.3