projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a1806
)
gallivm: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Thu, 22 Apr 2010 07:45:27 +0000
(
00:45
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 22 Apr 2010 07:45:27 +0000
(
00:45
-0700)
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
index f0525a42a7bdd2be95f16d1066597301bb098f2c..a5a019fa92a005968385f705daff4cdd088a2b22 100644
(file)
--- 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)