Mesa (llvm-context): llvmpipe: use gallivm->builder in lp_test_conv.c

Brian Paul brianp at kemper.freedesktop.org
Wed Nov 3 00:40:49 UTC 2010


Module: Mesa
Branch: llvm-context
Commit: 71a08153e49b496c8b452b186566c4cc8ae7c491
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71a08153e49b496c8b452b186566c4cc8ae7c491

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov  2 14:46:12 2010 -0600

llvmpipe: use gallivm->builder in lp_test_conv.c

---

 src/gallium/drivers/llvmpipe/lp_test_conv.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c
index 7d0c4a3..f4a2f36 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_conv.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c
@@ -124,7 +124,6 @@ add_conv_test(struct gallivm_state *gallivm,
    dst_ptr = LLVMGetParam(func, 1);
 
    block = LLVMAppendBasicBlockInContext(context, func, "entry");
-   builder = LLVMCreateBuilderInContext(context);
    LLVMPositionBuilderAtEnd(builder, block);
 
    for(i = 0; i < num_srcs; ++i) {




More information about the mesa-commit mailing list