i965/fs: Simplify liveout calculation.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 10 Aug 2013 01:27:22 +0000 (18:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 18:29:24 +0000 (11:29 -0700)
commita291c59bbae7d9d96487a984f81a298a1fd71389
treee11033e4f77cd3554ea174f73d8fbda636fcaf35
parent597efd2b67d1afb8a95be38145c4f977ed36b672
i965/fs: Simplify liveout calculation.

Excluding the existing liveout bits is a deviation from the textbook
algorithm.  The reason for doing so was to determine if the value
changed, which means the fixed-point algorithm needs to run for another
iteration.

The simpler way to do that is to save the value from step (N-1) and
compare it to the new value at step N.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp