瀏覽代碼

gallivm: Fix copy'n'paste typo in previous commit.

tags/snb-magic
José Fonseca 15 年之前
父節點
當前提交
c8179ef5e8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/gallium/auxiliary/gallivm/lp_bld_sample.c

+ 2
- 2
src/gallium/auxiliary/gallivm/lp_bld_sample.c 查看文件

@@ -452,10 +452,10 @@ lp_build_linear_mip_levels(struct lp_build_sample_context *bld,
"clamp_lod_to_last");

*level0_out = LLVMBuildSelect(builder, clamp_max,
int_bld->zero, *level0_out, "");
last_level, *level0_out, "");

*level1_out = LLVMBuildSelect(builder, clamp_max,
int_bld->zero, *level1_out, "");
last_level, *level1_out, "");

*lod_fpart_inout = LLVMBuildSelect(builder, clamp_max,
float_bld->zero, *lod_fpart_inout, "");

Loading…
取消
儲存