i965/fs: Use the COPY set in the calculation for liveout.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 10 Aug 2013 01:36:54 +0000 (18:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 18:29:24 +0000 (11:29 -0700)
commitf06826cece7ad6348c93760e473e5a35ad872431
tree657aacb62980f70e679903540f2baf21a74194c8
parenta291c59bbae7d9d96487a984f81a298a1fd71389
i965/fs: Use the COPY set in the calculation for liveout.

According to page 360 of the textbook, the proper formula for liveout
is:

CPout(n) = COPY(i) union (CPin(i) - KILL(i))

Previously, we omitted COPY.

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