浏览代码

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 年前
父节点
当前提交
7f8676c0b0
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      src/gallium/auxiliary/gallivm/lp_bld_pack.c

+ 0
- 2
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);

正在加载...
取消
保存