freedreno/a5xx: misc fix
authorRob Clark <robdclark@gmail.com>
Fri, 9 Dec 2016 18:12:51 +0000 (13:12 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 18 Dec 2016 18:47:47 +0000 (13:47 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_texture.c

index a8604b760206a9f8826222734b68f28bbfcec63e..588e914b0cc8faaa02477deecf43c71af7656676 100644 (file)
@@ -123,7 +123,7 @@ 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(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);