llvmpipe: try to be sensible about whether to branch after mask updates
authorKeith Whitwell <keithw@vmware.com>
Thu, 7 Oct 2010 14:01:07 +0000 (15:01 +0100)
committerKeith Whitwell <keithw@vmware.com>
Sat, 9 Oct 2010 10:44:45 +0000 (11:44 +0100)
commitaa4cb5e2d8d48c7dcc9653c61a9e25494e3e7b2a
tree3989a7c0e78bbb8a96ec68de8b420c4b2f64d7a9
parent2ef6f75ab410bb188e028024e18891d7877febad
llvmpipe: try to be sensible about whether to branch after mask updates

Don't branch more than once in quick succession.  Don't branch at the
end of the shader.
src/gallium/auxiliary/gallivm/lp_bld_flow.c
src/gallium/auxiliary/gallivm/lp_bld_flow.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/llvmpipe/lp_bld_alpha.c
src/gallium/drivers/llvmpipe/lp_bld_alpha.h
src/gallium/drivers/llvmpipe/lp_bld_depth.c
src/gallium/drivers/llvmpipe/lp_bld_depth.h
src/gallium/drivers/llvmpipe/lp_state_fs.c