diff options
author | José Fonseca <[email protected]> | 2009-08-23 07:38:41 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:41 +0100 |
commit | 635c37e118bbf51fc8c93a2c999281ee817a93e1 (patch) | |
tree | cc0420dd94e281eaf3c8a4dd11360748a89747fb /src/gallium/drivers/llvmpipe/lp_bld_alpha.c | |
parent | c022e15d1e56ba3a9c6b74eef6556d6063e2e322 (diff) |
llvmpipe: Pass the alpha ref value and blend color in the jit context.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_alpha.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_alpha.c b/src/gallium/drivers/llvmpipe/lp_bld_alpha.c index 8d9af4cf6d9..49c2f911af7 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_alpha.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_alpha.c @@ -47,14 +47,14 @@ lp_build_alpha_test(LLVMBuilderRef builder, const struct pipe_alpha_state *state, union lp_type type, struct lp_build_mask_context *mask, - LLVMValueRef alpha) + LLVMValueRef alpha, + LLVMValueRef ref) { struct lp_build_context bld; lp_build_context_init(&bld, builder, type); if(state->enabled) { - LLVMValueRef ref = lp_build_const_scalar(type, state->ref_value); LLVMValueRef test = lp_build_cmp(&bld, state->func, alpha, ref); lp_build_name(test, "alpha_mask"); |