Mesa (master): r300g: max_anisotropy of 1 is not anisotropic filtering
Marek Olšák
mareko at kemper.freedesktop.org
Sat Jun 11 21:04:50 UTC 2011
Module: Mesa
Branch: master
Commit: 837dc6101120a90f7a8d29ea45cf8e849a3542c2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=837dc6101120a90f7a8d29ea45cf8e849a3542c2
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Jun 11 23:01:36 2011 +0200
r300g: max_anisotropy of 1 is not anisotropic filtering
---
src/gallium/drivers/r300/r300_state.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 7127ea1..057cd9f 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -1307,7 +1307,7 @@ static void*
sampler->filter0 |= r300_translate_tex_filters(state->min_img_filter,
state->mag_img_filter,
state->min_mip_filter,
- state->max_anisotropy > 0);
+ state->max_anisotropy > 1);
sampler->filter0 |= r300_anisotropy(state->max_anisotropy);
More information about the mesa-commit
mailing list