diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-15 14:00:23 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-15 18:16:56 -0600 |
commit | 185be3a87a5b38e8821a560c073975c11dcbd3e9 (patch) | |
tree | 0f51c1e4d726d4b15e05aad05e46f2191eceb722 /src/gallium/auxiliary/gallivm/lp_bld_swizzle.c | |
parent | c86a499769d56fc59fa41b9c2d73ac181ab33e36 (diff) |
gallivm/llvmpipe: rename some constant building functions
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_swizzle.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_swizzle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c b/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c index 64e81f7b1f..278c838eac 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c @@ -144,9 +144,9 @@ lp_build_broadcast_aos(struct lp_build_context *bld, #endif if(shift > 0) - tmp = LLVMBuildLShr(bld->builder, a, lp_build_int_const_scalar(type4, shift*type.width), ""); + tmp = LLVMBuildLShr(bld->builder, a, lp_build_const_int_vec(type4, shift*type.width), ""); if(shift < 0) - tmp = LLVMBuildShl(bld->builder, a, lp_build_int_const_scalar(type4, -shift*type.width), ""); + tmp = LLVMBuildShl(bld->builder, a, lp_build_const_int_vec(type4, -shift*type.width), ""); assert(tmp); if(tmp) |