summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_alpha.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-21 07:42:29 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:37 +0100
commitc0472f9c34da78bccecb2c790b54b9dd9712a0b9 (patch)
treebe554214b9b558b85bf42e163747317e1f9dd076 /src/gallium/drivers/llvmpipe/lp_bld_alpha.h
parent3dbf00f9ab0d2e771c72a74d9db32c048ce7df4e (diff)
llvmpipe: Centralize mask update logic.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_alpha.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_alpha.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_alpha.h b/src/gallium/drivers/llvmpipe/lp_bld_alpha.h
index f3fa8b6053..f372210a7a 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_alpha.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_alpha.h
@@ -41,12 +41,12 @@ struct pipe_alpha_state;
union lp_type;
-LLVMValueRef
+void
lp_build_alpha_test(LLVMBuilderRef builder,
const struct pipe_alpha_state *state,
union lp_type type,
- LLVMValueRef alpha,
- LLVMValueRef mask);
+ LLVMValueRef *mask,
+ LLVMValueRef alpha);
#endif /* !LP_BLD_ALPHA_H */