From defadd9c03c726d1e79bd911de07a2682bf78b01 Mon Sep 17 00:00:00 2001 From: Nicolai Haehnle Date: Fri, 13 Jun 2008 20:03:17 +0200 Subject: [PATCH] r300_fragprog: Remove dead code --- src/mesa/drivers/dri/r300/r300_fragprog.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c index df8ab47b0f8..90fd9a7cfee 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]); -- 2.30.2