Bladeren bron

gallivm: Remove redundant initialization of dst_vec_type.

dec_vec_type is already initialized to lp_build_vec_type(dst_type) at
its declaration.
tags/mesa-7.9-rc1
Vinson Lee 15 jaren geleden
bovenliggende
commit
7f8676c0b0
1 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  1. 0
    2
      src/gallium/auxiliary/gallivm/lp_bld_pack.c

+ 0
- 2
src/gallium/auxiliary/gallivm/lp_bld_pack.c Bestand weergeven

@@ -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);

Laden…
Annuleren
Opslaan