projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24320b
)
Disable fragment program debug messages.
author
Rune Petersen
<rune@megahurts.dk>
Mon, 20 Nov 2006 19:57:10 +0000
(19:57 +0000)
committer
Rune Petersen
<rune@megahurts.dk>
Mon, 20 Nov 2006 19:57:10 +0000
(19:57 +0000)
src/mesa/drivers/dri/r300/r300_fragprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_fragprog.c
b/src/mesa/drivers/dri/r300/r300_fragprog.c
index cab545121462102bfe3d493e7e7f064c9113b931..32c0128eaa2626612ada28228344ebf777c1acc0 100644
(file)
--- 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);