summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRune Petersen <[email protected]>2006-11-20 19:57:10 +0000
committerRune Petersen <[email protected]>2006-11-20 19:57:10 +0000
commit25e495d6050d3fbf2745ba78a85b0a68b3734d91 (patch)
tree85858b9f49ed463426fa5a33eb6cf0d81366152b /src/mesa
parentb24320bb309ab8fde11160d4e0f281204ca84a61 (diff)
Disable fragment program debug messages.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c
index cab54512146..32c0128eaa2 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog.c
@@ -544,8 +544,6 @@ static pfs_reg_t t_scalar_src(struct r300_fragment_program *rp,
struct prog_src_register src = fpsrc;
int sc = GET_SWZ(fpsrc.Swizzle, 0); /* X */
- printf("sc %d\n",sc);
-
src.Swizzle = ((sc<<0)|(sc<<3)|(sc<<6)|(sc<<9));
return t_src(rp, src);
@@ -1670,7 +1668,7 @@ void r300_translate_fragment_shader(struct r300_fragment_program *rp)
assert(rp->alu_end >= 0);
rp->translated = GL_TRUE;
- if (1) dump_program(rp);
+ if (0) dump_program(rp);
}
update_params(rp);