i965/fs: Wire up control flow correctly in predicated break pass.
authorMatt Turner <mattst88@gmail.com>
Wed, 5 Nov 2014 23:23:05 +0000 (15:23 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 7 Nov 2014 00:37:56 +0000 (16:37 -0800)
commit58a54091a96566a7e18c984b4587e0e1d1ee3e9d
tree31cefef9cb6a9198759d6e450fa5e72fc2ab917c
parentf0cfc4fca011b594393b0e39793cb8d8acdcde0e
i965/fs: Wire up control flow correctly in predicated break pass.

When the earlier block ended with control flow, we'd mistakenly remove
some of its links to its children. The same happened with the later
block.

Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp