From: Kenneth Graunke Date: Mon, 4 Aug 2014 21:07:27 +0000 (-0700) Subject: i965/eu: Drop redundant brw_set_src0/brw_set_dest from gen6_CONT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7a7b3317c5992d230cf55752ef0b6bc25928ff9;p=mesa.git 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 --- 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));