From b2e7c32703fde3944b227927a0f8094da521ae39 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 1 May 2018 17:22:09 -0700 Subject: [PATCH] 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 a52ddfe6b1e..8a65478a161 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; } -- 2.30.2