aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-05-01 17:22:09 -0700
committerEric Anholt <[email protected]>2018-05-16 21:19:07 +0100
commitb2e7c32703fde3944b227927a0f8094da521ae39 (patch)
treebdd83f0b7559bfc4bd959d551966d764133b5995 /src/gallium
parent795488d2bf4c7b500634d6928e96c4533e515cfe (diff)
v3d: Fix wiring filters to NEAREST for 32-bit texture returns.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104626
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/v3d/v3dx_emit.c2
1 files changed, 1 insertions, 1 deletions
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;
}