i965/fs: Don't use instruction list after calculating the cfg.
authorMatt Turner <mattst88@gmail.com>
Mon, 1 Sep 2014 20:35:04 +0000 (13:35 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 24 Sep 2014 16:42:46 +0000 (09:42 -0700)
commit2ff0ff880c14f246a419ae3949b2462617e485e1
tree2a048ab67575559aafd392d06a3ced507fda049e
parenta4fb8897a2bd00eefa8a503ec17d45e791bced91
i965/fs: Don't use instruction list after calculating the cfg.

The only trick is changing a break into a return true in register
coalescing, since the macro is actually a double loop, and break will do
something different than you expect. (Wish I'd realized that earlier!)

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp