diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_depth.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_depth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_depth.c b/src/gallium/drivers/llvmpipe/lp_bld_depth.c index 6018feda1c..2cd6e6b921 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_depth.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_depth.c @@ -184,11 +184,11 @@ lp_build_depth_test(LLVMBuilderRef builder, if(padding_left || padding_right) { const long long mask_left = ((long long)1 << (format_desc->block.bits - padding_left)) - 1; const long long mask_right = ((long long)1 << (padding_right)) - 1; - z_bitmask = lp_build_int_const_uni(type, mask_left & mask_right); + z_bitmask = lp_build_int_const_scalar(type, mask_left & mask_right); } if(padding_left) - src = LLVMBuildLShr(builder, src, lp_build_int_const_uni(type, padding_left), ""); + src = LLVMBuildLShr(builder, src, lp_build_int_const_scalar(type, padding_left), ""); if(padding_right) src = LLVMBuildAnd(builder, src, z_bitmask, ""); if(padding_left || padding_right) |