v3d: Fix wiring filters to NEAREST for 32-bit texture returns.
authorEric Anholt <eric@anholt.net>
Wed, 2 May 2018 00:22:09 +0000 (17:22 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 16 May 2018 20:19:07 +0000 (21:19 +0100)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104626

src/gallium/drivers/v3d/v3dx_emit.c

index a52ddfe6b1e63f2a9782df01a8404f75ab363994..8a65478a1614e455461ef00a69a5e1dc5f00ad8c 100644 (file)
@@ -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;
         }