Mesa (master): freedreno/a3xx: fix typo mixup w/ mipfilter

Rob Clark robclark at kemper.freedesktop.org
Thu Sep 19 15:47:58 UTC 2013


Module: Mesa
Branch: master
Commit: 7dab097a515c019afa8e1e84af497e5e1e85be5d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dab097a515c019afa8e1e84af497e5e1e85be5d

Author: Rob Clark <robclark at freedesktop.org>
Date:   Thu Sep 19 10:28:52 2013 -0400

freedreno/a3xx: fix typo mixup w/ mipfilter

Signed-off-by: Rob Clark <robclark at freedesktop.org>

---

 src/gallium/drivers/freedreno/a3xx/fd3_texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c
index a44ac46..88b3f8e 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c
@@ -85,7 +85,7 @@ fd3_sampler_state_create(struct pipe_context *pctx,
 	if (!so)
 		return NULL;
 
-	if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_NEAREST)
+	if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_LINEAR)
 		miplinear = true;
 
 	so->base = *cso;




More information about the mesa-commit mailing list