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

Author: Vinson Lee <[email protected]>
Date:   Sat Apr 24 14:29:08 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 a59b590..3eb25d4 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -403,7 +403,6 @@ generate_fs(struct llvmpipe_context *lp,
             LLVMValueRef step2_ptr)
 {
    const struct tgsi_token *tokens = shader->base.tokens;
-   LLVMTypeRef elem_type;
    LLVMTypeRef vec_type;
    LLVMTypeRef int_vec_type;
    LLVMValueRef consts_ptr;
@@ -422,7 +421,6 @@ generate_fs(struct llvmpipe_context *lp,
    stencil_refs[0] = lp_jit_context_stencil_ref_front_value(builder, 
context_ptr);
    stencil_refs[1] = lp_jit_context_stencil_ref_back_value(builder, 
context_ptr);
 
-   elem_type = lp_build_elem_type(type);
    vec_type = lp_build_vec_type(type);
    int_vec_type = lp_build_int_vec_type(type);
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to