From: Rob Clark Date: Sat, 27 Sep 2014 15:45:26 +0000 (-0400) Subject: freedreno/a3xx: add LOD_BIAS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df2f0c6d5595280150281409b4a9aadb9311bfdc;p=mesa.git freedreno/a3xx: add LOD_BIAS Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c index 8308674178d..436d51af7b6 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 {