i965/fs: Add helper functions for IF and CMP and use them.
authorEric Anholt <eric@anholt.net>
Fri, 9 Nov 2012 20:50:03 +0000 (12:50 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 20 Nov 2012 21:38:38 +0000 (13:38 -0800)
commitd82b873a501606d62b9f208b6d5cda79c9a6b4b8
treef6270902e6809faea9722d814ec60ee751aa8cc0
parent32d6809bb50a08d9b80ed8b3d13cc6b76580a3a9
i965/fs: Add helper functions for IF and CMP and use them.

v2: Rebase on gen6-if fix.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp