i965/fs: Remove force_sechalf stack
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Jan 2013 23:09:26 +0000 (15:09 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 16 Nov 2013 17:12:57 +0000 (09:12 -0800)
commitec8cc65926de3e7391f3bcec8ee26fc8f4d36159
treef7c2620ca7b9829000a3a14b29840928dd2ec4d3
parent02fdb5cb51fdbe63261ffeb7d5ca0fa10838899b
i965/fs: Remove force_sechalf stack

Only Gen4 color write setup uses the force_sechalf flag, and it only
sets it on a single instruction.  It also already has to get a pointer
to the instruction and manually set the saturate flag, so we may as well
just set force_sechalf the same way and avoid the complexity of a stack.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp