summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-10-08 14:09:22 +0100
committerJosé Fonseca <[email protected]>2010-10-08 14:09:22 +0100
commitc8179ef5e8db46afd4efdf5cbb4d9c9d37e488f8 (patch)
treeffe37bccc9f44160a7ac07522391dd915fa60181 /src/gallium
parentdf7a2451b1a7b9ce8cc389b20bb707cf951f8d4e (diff)
gallivm: Fix copy'n'paste typo in previous commit.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c b/src/gallium/auxiliary/gallivm/lp_bld_sample.c
index cf6da2c2783..754902891b9 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c
+++ b/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, "");