mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
update lod bias, limits
This commit is contained in:
parent
5671bba1cb
commit
562fdca12d
1 changed files with 4 additions and 0 deletions
|
|
@ -111,6 +111,10 @@ update_samplers(struct st_context *st)
|
|||
sampler.min_filter = gl_filter_to_sp(texobj->MinFilter);
|
||||
sampler.mag_filter = gl_filter_to_sp(texobj->MagFilter);
|
||||
|
||||
sampler.lod_bias = st->ctx->Texture.Unit[u].LodBias;
|
||||
sampler.min_lod = texobj->MinLod;
|
||||
sampler.max_lod = texobj->MaxLod;
|
||||
|
||||
/* XXX more sampler state here */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue