summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_const.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-06-02 16:00:40 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-06-02 16:00:40 +0100
commit952d188c3c8ab90bd2919b88457c81b491fcc3c8 (patch)
treee03c987e4142090c90f5590ca039c9f203bfb284 /src/gallium/auxiliary/gallivm/lp_bld_const.h
parent21a6bf8624b64520645bcbe6e63cf192647feadc (diff)
gallivm: Add a lp_build_const_elem().
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_const.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_const.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_const.h b/src/gallium/auxiliary/gallivm/lp_bld_const.h
index 9ca2f0664e..d46b9f882b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_const.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_const.h
@@ -85,6 +85,10 @@ lp_build_one(struct lp_type type);
LLVMValueRef
+lp_build_const_elem(struct lp_type type,
+ double val);
+
+LLVMValueRef
lp_build_const_vec(struct lp_type type, double val);