i965/fs: Properly initialize the livein/liveout sets.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 10 Aug 2013 01:34:11 +0000 (18:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 18:29:24 +0000 (11:29 -0700)
commit1d40c784f22dcbe814e7915d1fae45774a264526
treef8e9cb189a68181705db28f7f76b0462bd54bf48
parentf06826cece7ad6348c93760e473e5a35ad872431
i965/fs: Properly initialize the livein/liveout sets.

Previously, livein was initialized to 0 for all blocks.  According to
the textbook, it should be the universal set (~0) for all blocks except
the one representing the start of the program (which should be 0).

liveout also needs to be initialized to COPY for the initial block.

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