summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-19 00:35:02 -0700
committerVinson Lee <vlee@vmware.com>2010-04-19 00:35:02 -0700
commit7f8676c0b03c91bc974900eb783de06833a87f8d (patch)
tree817a726de2d74126abf9c4a978137bae93975a13
parent57e71b85020fff33d3e5701d0ef61e9fb84b0af4 (diff)
gallivm: Remove redundant initialization of dst_vec_type.master
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration.
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_pack.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_pack.c b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
index 2daa8a3b582..186f8849b8d 100644
--- 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);