diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_alpha.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_alpha.c | 2 |
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"); |