Parcourir la source

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 il y a 15 ans
Parent
révision
7f8676c0b0
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0
    2
      src/gallium/auxiliary/gallivm/lp_bld_pack.c

+ 0
- 2
src/gallium/auxiliary/gallivm/lp_bld_pack.c Voir le fichier

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

Chargement…
Annuler
Enregistrer