projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e71b8
)
gallivm: Remove redundant initialization of dst_vec_type.
author
Vinson Lee
<vlee@vmware.com>
Mon, 19 Apr 2010 07:35:02 +0000
(
00:35
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 19 Apr 2010 07:35:02 +0000
(
00:35
-0700)
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at
its declaration.
src/gallium/auxiliary/gallivm/lp_bld_pack.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_pack.c
b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
index 2daa8a3b58212114724062ad7be3d3647bba9877..186f8849b8dacb3a437764196349e58a0fca2ef7 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_pack.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_pack.c
@@
-263,8
+263,6
@@
lp_build_pack2(LLVMBuilderRef builder,
LLVMValueRef shuffle;
LLVMValueRef res;
- dst_vec_type = lp_build_vec_type(dst_type);
-
assert(!src_type.floating);
assert(!dst_type.floating);
assert(src_type.width == dst_type.width * 2);