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

Author: Ilia Mirkin <[email protected]>
Date:   Tue Jul  4 09:38:23 2017 -0400

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 <[email protected]>
Acked-by: Rob Clark <[email protected]>

---

 src/gallium/drivers/freedreno/a5xx/fd5_texture.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c 
b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
index 1adfd3fa02..a546cfc332 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);
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to