From: Corbin Simpson Date: Fri, 23 May 2008 09:05:24 +0000 (-0700) Subject: r5xx: Remove some debugging cruft. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f918a9fda91321b50ae327791787f21417226c8;p=mesa.git r5xx: Remove some debugging cruft. --- diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index ef4c6119b3a..657d6340bac 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);