From: Corbin Simpson Date: Thu, 22 May 2008 06:33:13 +0000 (-0700) Subject: r5xx: Change debug info for readability. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0dfbe9cdd7e076fb23d90e99e225fd0e19b63dfb;p=mesa.git r5xx: Change debug info for readability. It's weird seeing the compiled program before the assembly, that's all. --- 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); }