From 21a6bf8624b64520645bcbe6e63cf192647feadc Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 2 Jun 2010 16:00:15 +0100 Subject: llvmpipe: Store often used LLVM types in the lp_build_context. --- src/gallium/auxiliary/gallivm/lp_bld_type.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_type.h') 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 @@ -128,6 +128,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; -- cgit v1.2.3