llvmpipe: Special case complementary and identify blend factors in SoA.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 22 Sep 2010 13:48:28 +0000 (14:48 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 22 Sep 2010 14:02:39 +0000 (15:02 +0100)
commit9a8e9f4595b66ea094b293da1afcded8f06ab3d6
treefd0217ae16af46f360490cfc5352af8113f30574
parent162b0efff6e82cc5f332a71aa16a376a2e9ba40c
llvmpipe: Special case complementary and identify blend factors in SoA.

One multiplication instead of two.

Also fix floating point random number generation and verification.

TODO: Do the same for AoS blending.
src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c
src/gallium/drivers/llvmpipe/lp_bld_blend_soa.c
src/gallium/drivers/llvmpipe/lp_test_blend.c
src/gallium/drivers/llvmpipe/lp_test_main.c