diff options
author | Vinson Lee <[email protected]> | 2010-04-19 00:35:02 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-04-19 00:35:02 -0700 |
commit | 7f8676c0b03c91bc974900eb783de06833a87f8d (patch) | |
tree | 817a726de2d74126abf9c4a978137bae93975a13 /src/gallium/auxiliary/gallivm | |
parent | 57e71b85020fff33d3e5701d0ef61e9fb84b0af4 (diff) |
gallivm: Remove redundant initialization of dst_vec_type.
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at
its declaration.
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_pack.c | 2 |
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); |