i965/fs: Switch to a do-while loop in copy propagation dataflow.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 10 Aug 2013 00:50:03 +0000 (17:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 18:29:23 +0000 (11:29 -0700)
commit0225dea6c49674a27d5be6e933447d8a4ba5a82e
treeea1d069b990fa0076b6f29687e13023e84ba9e11
parent3c68662bb1d41727b6c53fd58868cdcfe6a98492
i965/fs: Switch to a do-while loop in copy propagation dataflow.

The fixed-point algorithm needs to run at least once, so a do-while loop
is more natural.

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