summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_const.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_const.c
parent5811ed87d732101ab8cfbd087bc99d8c6c963f30 (diff)
llvmpipe: s/uni/scalar/.
More obvious name.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_const.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_const.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_const.c b/src/gallium/drivers/llvmpipe/lp_bld_const.c
index a205c33715..21487365ea 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_const.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_const.c
@@ -255,7 +255,7 @@ lp_build_one(union lp_type type)
if(type.sign)
/* TODO: Unfortunately this caused "Tried to create a shift operation
* on a non-integer type!" */
- vec = LLVMConstLShr(vec, lp_build_int_const_uni(type, 1));
+ vec = LLVMConstLShr(vec, lp_build_int_const_scalar(type, 1));
#endif
return vec;
@@ -269,8 +269,8 @@ lp_build_one(union lp_type type)
LLVMValueRef
-lp_build_const_uni(union lp_type type,
- double val)
+lp_build_const_scalar(union lp_type type,
+ double val)
{
LLVMTypeRef elem_type = lp_build_elem_type(type);
LLVMValueRef elems[LP_MAX_VECTOR_LENGTH];
@@ -295,8 +295,8 @@ lp_build_const_uni(union lp_type type,
LLVMValueRef
-lp_build_int_const_uni(union lp_type type,
- long long val)
+lp_build_int_const_scalar(union lp_type type,
+ long long val)
{
LLVMTypeRef elem_type = lp_build_int_elem_type(type);
LLVMValueRef elems[LP_MAX_VECTOR_LENGTH];