mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
freedreno/a3xx: add LOD_BIAS
Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
f7259949da
commit
df2f0c6d55
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue