summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_type.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-06-02 16:00:15 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-06-02 16:00:15 +0100
commit21a6bf8624b64520645bcbe6e63cf192647feadc (patch)
tree54f6c02a726d97ae46b1e0928976fccb71e5f858 /src/gallium/auxiliary/gallivm/lp_bld_type.h
parentbaf4393105926d24e4d75d2c44f79074e92ddc3e (diff)
llvmpipe: Store often used LLVM types in the lp_build_context.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_type.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_type.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_type.h b/src/gallium/auxiliary/gallivm/lp_bld_type.h
index 17819d4d32..df77ef2155 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_type.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_type.h
@@ -129,6 +129,18 @@ struct lp_build_context
struct lp_type type;
/** Same as lp_build_undef(type) */
+ LLVMTypeRef elem_type;
+
+ /** Same as lp_build_undef(type) */
+ LLVMTypeRef vec_type;
+
+ /** Same as lp_build_undef(type) */
+ LLVMTypeRef int_elem_type;
+
+ /** Same as lp_build_undef(type) */
+ LLVMTypeRef int_vec_type;
+
+ /** Same as lp_build_undef(type) */
LLVMValueRef undef;
/** Same as lp_build_zero(type) */