summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2008-05-23 02:05:24 -0700
committerCorbin Simpson <[email protected]>2008-05-24 10:25:22 -0700
commit6f918a9fda91321b50ae327791787f21417226c8 (patch)
tree128bf9c281a3e1f26e974cf33cbf6709c24de591 /src/mesa/drivers/dri
parentaf77de66d9e97a1f37849a51f7b48ae36a0c8127 (diff)
r5xx: Remove some debugging cruft.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog.c5
1 files changed, 1 insertions, 4 deletions
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);