gallivm: Added lp_build_const_mask_aos_swizzled
authorJames Benton <jbenton@vmware.com>
Wed, 25 Apr 2012 10:19:07 +0000 (11:19 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 2 May 2012 09:24:34 +0000 (10:24 +0100)
commitc23fd547c060c4137eab0f878a1028c5903384eb
tree2c366b8811c30a309b324a892000aeeb3f6e0260
parent7d1f414103bb294d30cac8fecddff0b2ab694810
gallivm: Added lp_build_const_mask_aos_swizzled

Allows the creation of const aos masks which have the mask swizzled
to match the correct format.

Updated existing mask creation code to use the swizzled version where
necessary (tgsi register masks and llvmpipe aos blending).

Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_const.c
src/gallium/auxiliary/gallivm/lp_bld_const.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c