summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2017-07-04 09:38:23 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2017-07-04 18:27:57 -0400
commitc0f1efe04da2ddbe5649f34dc17fb8cf4550eaaa (patch)
tree739b412c009c8bb618d4f1741b0a0fcf6ef0e857
parentf1fc619bd83a671ff81330f4bac8c8db76593b91 (diff)
a5xx: remove one of the MIPFILTER_LINEAR bits
It doesn't appear to do what we want. Removing this bit makes lodclamp-between as well as a number of dEQP tests pass, with no visible ill effect. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Rob Clark <robdclark@gmail.com>
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
index 1adfd3fa02a..a546cfc3329 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
@@ -123,7 +123,6 @@ fd5_sampler_state_create(struct pipe_context *pctx,
A5XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border));
so->texsamp1 =
- COND(miplinear, A5XX_TEX_SAMP_1_MIPFILTER_LINEAR_FAR) |
COND(!cso->seamless_cube_map, A5XX_TEX_SAMP_1_CUBEMAPSEAMLESSFILTOFF) |
COND(!cso->normalized_coords, A5XX_TEX_SAMP_1_UNNORM_COORDS);