OSDN Git Service

r5xx: Change debug info for readability.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 22 May 2008 06:33:13 +0000 (23:33 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 22 May 2008 06:33:13 +0000 (23:33 -0700)
It's weird seeing the compiled program before the assembly, that's all.

src/mesa/drivers/dri/r300/r500_fragprog.c

index e67ff98..f0c7fed 100644 (file)
@@ -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);
                }