Mesa (master): llvmpipe: Remove unused variable.

Vinson Lee vlee at kemper.freedesktop.org
Wed Apr 21 05:57:19 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Apr 20 22:56:39 2010 -0700

llvmpipe: Remove unused variable.

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 18f2828..59d5a44 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -223,7 +223,7 @@ generate_tri_edge_mask(LLVMBuilderRef builder,
 #endif
    struct lp_build_flow_context *flow;
    struct lp_type i32_type;
-   LLVMTypeRef i32vec4_type, mask_type;
+   LLVMTypeRef i32vec4_type;
    LLVMValueRef c0_vec, c1_vec, c2_vec;
    LLVMValueRef in_out_mask;
 
@@ -239,8 +239,6 @@ generate_tri_edge_mask(LLVMBuilderRef builder,
 
    i32vec4_type = lp_build_int32_vec4_type();
 
-   mask_type = LLVMIntType(32 * 4);
-
    /*
     * Use a conditional here to do detailed pixel in/out testing.
     * We only have to do this if c0 != INT_MIN.




More information about the mesa-commit mailing list