summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_interp.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-15 14:00:23 -0600
committerBrian Paul <brianp@vmware.com>2010-03-15 18:16:56 -0600
commit185be3a87a5b38e8821a560c073975c11dcbd3e9 (patch)
tree0f51c1e4d726d4b15e05aad05e46f2191eceb722 /src/gallium/auxiliary/gallivm/lp_bld_interp.c
parentc86a499769d56fc59fa41b9c2d73ac181ab33e36 (diff)
downloadexternal_mesa3d-185be3a87a5b38e8821a560c073975c11dcbd3e9.zip
external_mesa3d-185be3a87a5b38e8821a560c073975c11dcbd3e9.tar.gz
external_mesa3d-185be3a87a5b38e8821a560c073975c11dcbd3e9.tar.bz2
gallivm/llvmpipe: rename some constant building functions
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_interp.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_interp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_interp.c b/src/gallium/auxiliary/gallivm/lp_bld_interp.c
index 2fc8940..09efb16 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_interp.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_interp.c
@@ -289,17 +289,17 @@ pos_update(struct lp_build_interp_soa_context *bld, int quad_index)
/* top-right or bottom-right quad in block */
/* build x += xstep */
x = lp_build_add(&bld->base, x,
- lp_build_const_scalar(bld->base.type, xstep));
+ lp_build_const_vec(bld->base.type, xstep));
}
if (quad_index == 2) {
/* bottom-left quad in block */
/* build y += ystep */
y = lp_build_add(&bld->base, y,
- lp_build_const_scalar(bld->base.type, ystep));
+ lp_build_const_vec(bld->base.type, ystep));
/* build x -= xstep */
x = lp_build_sub(&bld->base, x,
- lp_build_const_scalar(bld->base.type, xstep));
+ lp_build_const_vec(bld->base.type, xstep));
}
lp_build_name(x, "pos.x");