llvmpipe: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Wed, 21 Apr 2010 05:56:39 +0000 (22:56 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 21 Apr 2010 05:56:39 +0000 (22:56 -0700)
src/gallium/drivers/llvmpipe/lp_state_fs.c

index 18f28289e36e91d63c79e61ef3f27e3fd8644872..59d5a440c03f001aa1ffb7c6873e5cc5c4f5165a 100644 (file)
@@ -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.