projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df7a245
)
gallivm: Fix copy'n'paste typo in previous commit.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 8 Oct 2010 13:09:22 +0000
(14:09 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 8 Oct 2010 13:09:22 +0000
(14:09 +0100)
src/gallium/auxiliary/gallivm/lp_bld_sample.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_sample.c
b/src/gallium/auxiliary/gallivm/lp_bld_sample.c
index cf6da2c27839892b7863c5b6c2068d4b9607dfe1..754902891b94e68f3d18dd4db8e9ddf63eac9325 100644
(file)
--- 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, "");