summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-20 22:56:39 -0700
committerVinson Lee <[email protected]>2010-04-20 22:56:39 -0700
commita85afb91777ade2a12ba2df8f219a0294a645164 (patch)
treec721b1bdf67d6e2186744b15faa28ecd914fec2a
parent736a2f2f956c14d52c1ca9291a6dfa5df5e7b062 (diff)
llvmpipe: Remove unused variable.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c4
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 18f28289e36..59d5a440c03 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.