diff options
author | Rob Clark <[email protected]> | 2014-09-27 11:45:26 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-09-27 13:34:07 -0400 |
commit | df2f0c6d5595280150281409b4a9aadb9311bfdc (patch) | |
tree | 6acb2b0528f5baad0ed27e5c0f6ce4c1bad1c1c0 /src/gallium | |
parent | f7259949da0afb085629095524b304c9371863cb (diff) |
freedreno/a3xx: add LOD_BIAS
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |