From df2f0c6d5595280150281409b4a9aadb9311bfdc Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 27 Sep 2014 11:45:26 -0400 Subject: [PATCH] freedreno/a3xx: add LOD_BIAS Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a3xx/fd3_texture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c index 8308674..436d51a 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c @@ -109,6 +109,7 @@ fd3_sampler_state_create(struct pipe_context *pctx, if (cso->min_mip_filter != PIPE_TEX_MIPFILTER_NONE) { so->texsamp1 = + A3XX_TEX_SAMP_1_LOD_BIAS(cso->lod_bias) | A3XX_TEX_SAMP_1_MIN_LOD(cso->min_lod) | A3XX_TEX_SAMP_1_MAX_LOD(cso->max_lod); } else { -- 2.7.4