summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-12-09 13:12:51 -0500
committerRob Clark <[email protected]>2016-12-18 13:47:47 -0500
commitd35022f24d5e53daa439fb5f024e81858e698a76 (patch)
treef4c8d5cd0cd5444c8b5d6d0e7aa2dad42517de3b /src/gallium/drivers
parent651f2655a86d430bdb79b5562295c2fa44c9b6ff (diff)
freedreno/a5xx: misc fix
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
index a8604b76020..588e914b0cc 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c
@@ -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);