summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-01 17:59:19 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:21 +0100
commit7d043162c5d9150947d9341cfa22192bd4c70fde (patch)
treec43d690f2194a55e218d0b0251d36f104337c216 /src/gallium/drivers/llvmpipe/lp_bld.h
parentd2cf3e8dfd37d6225d5f6911fc53a07706cd07f7 (diff)
llvmpipe: Blending.
The code
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld.h b/src/gallium/drivers/llvmpipe/lp_bld.h
index e722e0b7a1..86571374b6 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld.h
@@ -45,6 +45,9 @@
#include "pipe/p_format.h"
+struct pipe_blend_state;
+
+
/**
* Unpack a pixel into its RGBA components.
*
@@ -128,4 +131,13 @@ lp_build_logicop(LLVMBuilderRef builder,
LLVMValueRef dst);
+LLVMValueRef
+lp_build_blend(LLVMBuilderRef builder,
+ const struct pipe_blend_state *blend,
+ LLVMValueRef src,
+ LLVMValueRef dst,
+ LLVMValueRef const_,
+ unsigned alpha_swizzle);
+
+
#endif /* !LP_BLD_H */