i965/eu: Drop redundant brw_set_src0/brw_set_dest from gen6_CONT.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Aug 2014 21:07:27 +0000 (14:07 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Aug 2014 07:51:34 +0000 (00:51 -0700)
We shouldn't need to set them, then set them differently.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c

index 446d1495ac3bf69510e468553f2649f4d4684823..845bcd4847467ac4f882998c093f3b14a317f952 100644 (file)
@@ -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));