i965: Don't set pop_count in the reserved MBZ area of IF statements.
authorEric Anholt <eric@anholt.net>
Tue, 4 Aug 2009 23:09:30 +0000 (16:09 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 5 Aug 2009 01:06:34 +0000 (18:06 -0700)
src/mesa/drivers/dri/i965/brw_eu_emit.c

index 842f849b838d258c4c156ebd87dce4ebfc0b2a6e..241cdc33f8606f9735f6b55b612f3d72208311e5 100644 (file)
@@ -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;
    }