Mesa (master): llvmpipe: Remove unused variable.

Vinson Lee vlee at kemper.freedesktop.org
Sun Apr 25 20:10:33 UTC 2010


Module: Mesa
Branch: master
Commit: 8352983e2ab9523345f2b2b3db62db19f01fab62
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8352983e2ab9523345f2b2b3db62db19f01fab62

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Apr 25 13:10:02 2010 -0700

llvmpipe: Remove unused variable.

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 3eb25d4..9e9d9bc 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -404,7 +404,6 @@ generate_fs(struct llvmpipe_context *lp,
 {
    const struct tgsi_token *tokens = shader->base.tokens;
    LLVMTypeRef vec_type;
-   LLVMTypeRef int_vec_type;
    LLVMValueRef consts_ptr;
    LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][NUM_CHANNELS];
    LLVMValueRef z = interp->pos[2];
@@ -422,7 +421,6 @@ generate_fs(struct llvmpipe_context *lp,
    stencil_refs[1] = lp_jit_context_stencil_ref_back_value(builder, context_ptr);
 
    vec_type = lp_build_vec_type(type);
-   int_vec_type = lp_build_int_vec_type(type);
 
    consts_ptr = lp_jit_context_constants(builder, context_ptr);
 




More information about the mesa-commit mailing list