From e7a7b3317c5992d230cf55752ef0b6bc25928ff9 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 4 Aug 2014 14:07:27 -0700 Subject: i965/eu: Drop redundant brw_set_src0/brw_set_dest from gen6_CONT. We shouldn't need to set them, then set them differently. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 446d1495ac3..845bcd48474 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -1538,8 +1538,6 @@ gen6_CONT(struct brw_compile *p) brw_inst *insn; insn = next_insn(p, BRW_OPCODE_CONTINUE); - brw_set_dest(p, insn, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); - brw_set_src0(p, insn, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); brw_set_dest(p, insn, brw_ip_reg()); brw_set_src0(p, insn, brw_ip_reg()); brw_set_src1(p, insn, brw_imm_d(0x0)); -- cgit v1.2.3