i965/fs: Simplify control flow in emit_single_fb_write().
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 15 Jul 2015 14:05:27 +0000 (17:05 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:46 +0000 (14:12 +0300)
commit6bd991a1377862e3b1b9c05e835289fff9d6785f
treeeef563506b67a1ba1198b52bd2ff1699d6cc85a9
parent1ad928ed9f4e7723f709f91d18d17726c92f0b7b
i965/fs: Simplify control flow in emit_single_fb_write().

Flatten the if ladder to match the way that the ordering of these
fields is specified in the hardware documentation a bit more closely.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp