From: Eric Anholt Date: Tue, 4 Aug 2009 23:09:30 +0000 (-0700) Subject: i965: Don't set pop_count in the reserved MBZ area of IF statements. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=011244853b538a1a5adf602c8ed2de5c0f047548;p=mesa.git i965: Don't set pop_count in the reserved MBZ area of IF statements. --- diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 842f849b838..241cdc33f86 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -679,7 +679,7 @@ struct brw_instruction *brw_ELSE(struct brw_compile *p, assert(if_insn->header.opcode == BRW_OPCODE_IF); if_insn->bits3.if_else.jump_count = br * (insn - if_insn); - if_insn->bits3.if_else.pop_count = 1; + if_insn->bits3.if_else.pop_count = 0; if_insn->bits3.if_else.pad0 = 0; }