summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-22 00:45:27 -0700
committerVinson Lee <[email protected]>2010-04-22 00:45:27 -0700
commitbd91f665a7c12f114619a4f6f1e00059e4f4cb5e (patch)
tree9bf83ee35c2196fb3c97efcda2166e0ae9d445c2
parent48a18061260b4300ce67ab39ec3d303763db2345 (diff)
gallivm: Remove unused variable.
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_format_aos.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
index f0525a42a7b..a5a019fa92a 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
@@ -55,7 +55,6 @@ lp_build_unpack_rgba_aos(LLVMBuilderRef builder,
const struct util_format_description *desc,
LLVMValueRef packed)
{
- LLVMTypeRef type;
LLVMValueRef shifted, casted, scaled, masked;
LLVMValueRef shifts[4];
LLVMValueRef masks[4];
@@ -74,8 +73,6 @@ lp_build_unpack_rgba_aos(LLVMBuilderRef builder,
assert(desc->block.height == 1);
assert(desc->block.bits <= 32);
- type = LLVMIntType(desc->block.bits);
-
/* Do the intermediate integer computations with 32bit integers since it
* matches floating point size */
if (desc->block.bits < 32)