summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_alpha.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-22 22:30:03 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:40 +0100
commit77b35dc179473afbbd8c709c9f32c0f537c90776 (patch)
treeacf19b2eb5a91d5aa7d6e3bb6893503532e751a4 /src/gallium/drivers/llvmpipe/lp_bld_alpha.c
parent5811ed87d732101ab8cfbd087bc99d8c6c963f30 (diff)
llvmpipe: s/uni/scalar/.
More obvious name.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_alpha.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_alpha.c b/src/gallium/drivers/llvmpipe/lp_bld_alpha.c
index c5f6710c46..8d9af4cf6d 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_alpha.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_alpha.c
@@ -54,7 +54,7 @@ lp_build_alpha_test(LLVMBuilderRef builder,
lp_build_context_init(&bld, builder, type);
if(state->enabled) {
- LLVMValueRef ref = lp_build_const_uni(type, state->ref_value);
+ 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");