r5xx: Remove some debugging cruft.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 23 May 2008 09:05:24 +0000 (02:05 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 24 May 2008 17:25:22 +0000 (10:25 -0700)
src/mesa/drivers/dri/r300/r500_fragprog.c

index ef4c6119b3afbb1f6b15ec253faeaf70454f3564..657d6340bac1b45bc935992bb8259b4800342030 100644 (file)
@@ -1023,9 +1023,6 @@ static GLboolean parse_program(struct r500_fragment_program *fp)
        } else {
                /* We still need to put an output inst, right? */
                WARN_ONCE("Final FP instruction is not an OUT.\n");
-#if 0
-
-#endif
        }
 
        fp->cs->nrslots = counter;
@@ -1248,7 +1245,7 @@ void r500TranslateFragmentShader(r300ContextPtr r300,
                fp->inst_end = cs->nrslots - 1;
 
                fp->translated = GL_TRUE;
-               if (1 || RADEON_DEBUG & DEBUG_PIXEL) {
+               if (RADEON_DEBUG & DEBUG_PIXEL) {
                        fprintf(stderr, "Mesa program:\n");
                        fprintf(stderr, "-------------\n");
                        _mesa_print_program(&fp->mesa_program.Base);