i965: Remove brw_set_predicate_inverse(p, true) from scratch offset code
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Sep 2012 23:31:15 +0000 (16:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 21 Sep 2012 08:29:40 +0000 (01:29 -0700)
commitcd49025affe621548ca66df8c1a2ec38829eafe3
treeb961853416b3b9ba965062e59b10603a5681acba
parent328961d95586931a17fe81ba816d362e8389c105
i965: Remove brw_set_predicate_inverse(p, true) from scratch offset code

Given that it exists between a push/pop of instruction state, this call
can only affect the MOV or ADD instruction generated just below it.
Neither of those instructions are predicated, so it makes no sense to
ask for the inverse predicate.

This fixes grumblings from the simulator debugger, which was
complaining about an invalid predicate.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp