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

Author: Eric Anholt <e...@anholt.net>
Date:   Tue May  1 17:22:09 2018 -0700

v3d: Fix wiring filters to NEAREST for 32-bit texture returns.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104626

---

 src/gallium/drivers/v3d/v3dx_emit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/v3d/v3dx_emit.c 
b/src/gallium/drivers/v3d/v3dx_emit.c
index a52ddfe6b1..8a65478a16 100644
--- a/src/gallium/drivers/v3d/v3dx_emit.c
+++ b/src/gallium/drivers/v3d/v3dx_emit.c
@@ -209,7 +209,7 @@ emit_one_texture(struct v3d_context *v3d, struct 
v3d_texture_stateobj *stage_tex
 
         if (return_size == 32) {
                 min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST;
-                mag_img_filter = PIPE_TEX_FILTER_NEAREST;
+                min_img_filter = PIPE_TEX_FILTER_NEAREST;
                 mag_img_filter = PIPE_TEX_FILTER_NEAREST;
         }
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to