diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-15 14:54:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-15 18:40:07 +1000 |
commit | a0bc6d2fb21e47c5e659bc113c0c47b2288a9898 (patch) | |
tree | a8109add1ed35a28044cfe7b92f7744971d46dbe /src/mesa | |
parent | 73af48fff5502bc156160ce74896ffd156ee08ee (diff) |
r500: remove some debugging
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r500_fragprog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index e97ce9fce2..f65300a1bc 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.c +++ b/src/mesa/drivers/dri/r300/r500_fragprog.c @@ -371,7 +371,7 @@ static GLboolean parse_program(struct r500_fragment_program *fp) const struct prog_instruction *inst = mp->Base.Instructions; struct prog_instruction *fpi; GLuint src[3], dest, temp[2]; - int flags, pixel_mask, output_mask, counter = 0; + int flags, pixel_mask = 0, output_mask = 0, counter = 0; if (!inst || inst[0].Opcode == OPCODE_END) { ERROR("The program is empty!\n"); @@ -544,8 +544,6 @@ static GLboolean parse_program(struct r500_fragment_program *fp) case OPCODE_MOV: emit_mov(fp, counter, fpi->SrcReg[0], dest); fp->inst[counter].inst0 |= pixel_mask; - fprintf(stderr,"wm is %x\n", pixel_mask); - break; case OPCODE_MUL: src[0] = make_src(fp, fpi->SrcReg[0]); |