summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_blend.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2013-02-12 03:41:48 +0100
committerRoland Scheidegger <sroland@vmware.com>2013-02-12 03:41:48 +0100
commit8b8bca06dff5b30da1ac97d18cc0e91acb13d516 (patch)
tree131d4b6fbee5ba87e5464c867d40af7050b821a1 /src/gallium/drivers/llvmpipe/lp_bld_blend.h
parenta73181be6d169c597b60398cbc7e291a26903a68 (diff)
llvmpipe: implement dual source blending
link up the fs outputs and blend inputs, and make sure the second blend source is correctly loaded and converted (which is quite complex). There's a slight refactoring of the monster generate_unswizzled_blend() function where it makes sense to factor out alpha conversion (which needs to run twice for dual source blend). This passes piglit arb_blend_func_extended tests. v2: remove new but ultimately not used function... Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_blend.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_blend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_blend.h b/src/gallium/drivers/llvmpipe/lp_bld_blend.h
index 4bd28678215..249a3454159 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_blend.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_blend.h
@@ -62,6 +62,7 @@ lp_build_blend_aos(struct gallivm_state *gallivm,
LLVMValueRef src,
LLVMValueRef src_alpha,
LLVMValueRef src1,
+ LLVMValueRef src1_alpha,
LLVMValueRef dst,
LLVMValueRef mask,
LLVMValueRef const_,