diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2008-06-13 20:03:17 +0200 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2008-06-14 04:10:52 +0200 |
commit | defadd9c03c726d1e79bd911de07a2682bf78b01 (patch) | |
tree | 4b5360b23ff637a1403082ced05e836df7f19c06 /src | |
parent | b7669e4a8637a9680bcef0d0db82ae5e1984741c (diff) |
r300_fragprog: Remove dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c index df8ab47b0f..90fd9a7cfe 100644 --- a/src/mesa/drivers/dri/r300/r300_fragprog.c +++ b/src/mesa/drivers/dri/r300/r300_fragprog.c @@ -1738,19 +1738,9 @@ static GLboolean parse_program(struct r300_fragment_program *fp) /* src0.xyz1 -> temp * DP4 dest, temp, src1 */ -#if 0 - temp[0] = get_temp_reg(fp); - src[0].s_swz = SWIZZLE_ONE; - emit_arith(fp, PFS_OP_MAD, temp[0], mask, - src[0], pfs_one, pfs_zero, 0); - emit_arith(fp, PFS_OP_DP4, dest, mask, - temp[0], src[1], undef, flags); - free_temp(fp, temp[0]); -#else emit_arith(fp, PFS_OP_DP4, dest, mask, swizzle(src[0], X, Y, Z, ONE), src[1], undef, flags); -#endif break; case OPCODE_DST: src[0] = t_src(fp, fpi->SrcReg[0]); |