Mesa (master): gallivm: Remove unused variable.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Apr 22 07:46:00 UTC 2010
Module: Mesa
Branch: master
Commit: bd91f665a7c12f114619a4f6f1e00059e4f4cb5e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd91f665a7c12f114619a4f6f1e00059e4f4cb5e
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Apr 22 00:45:27 2010 -0700
gallivm: Remove unused variable.
---
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 3 ---
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 f0525a4..a5a019f 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)
More information about the mesa-commit
mailing list