mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 23:09:05 +02:00
freedreno/a3xx: add LOD_BIAS
Signed-off-by: Rob Clark <robclark@freedesktop.org>
(cherry picked from commit df2f0c6d55)
This commit is contained in:
parent
1a7fb8f04a
commit
d654082d14
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