diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-09-22 14:48:28 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-09-22 15:02:39 +0100 |
commit | 9a8e9f4595b66ea094b293da1afcded8f06ab3d6 (patch) | |
tree | fd0217ae16af46f360490cfc5352af8113f30574 /src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c | |
parent | 162b0efff6e82cc5f332a71aa16a376a2e9ba40c (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c b/src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c index b5924cbb7d..d1c9b88f9b 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c @@ -320,9 +320,6 @@ lp_build_blend_aos(LLVMBuilderRef builder, if(!blend->rt[rt].blend_enable) return src; - /* It makes no sense to blend unless values are normalized */ - assert(type.norm); - /* Setup build context */ memset(&bld, 0, sizeof bld); lp_build_context_init(&bld.base, builder, type); |