From 6f918a9fda91321b50ae327791787f21417226c8 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Fri, 23 May 2008 02:05:24 -0700 Subject: r5xx: Remove some debugging cruft. --- src/mesa/drivers/dri/r300/r500_fragprog.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index ef4c6119b3..657d6340ba 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.c +++ b/src/mesa/drivers/dri/r300/r500_fragprog.c @@ -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); -- cgit v1.2.3