mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
ilo: initialize dirty flags in ilo_init_states()
Now that we have a function to initialize states, initialize dirty flags there too.
This commit is contained in:
parent
6057d7b7b5
commit
4df85dbc06
2 changed files with 2 additions and 2 deletions
|
|
@ -139,8 +139,6 @@ ilo_context_create(struct pipe_screen *screen, void *priv)
|
||||||
util_slab_create(&ilo->transfer_mempool,
|
util_slab_create(&ilo->transfer_mempool,
|
||||||
sizeof(struct ilo_transfer), 64, UTIL_SLAB_SINGLETHREADED);
|
sizeof(struct ilo_transfer), 64, UTIL_SLAB_SINGLETHREADED);
|
||||||
|
|
||||||
ilo->dirty = ILO_DIRTY_ALL;
|
|
||||||
|
|
||||||
ilo->base.screen = screen;
|
ilo->base.screen = screen;
|
||||||
ilo->base.priv = priv;
|
ilo->base.priv = priv;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1110,6 +1110,8 @@ void
|
||||||
ilo_init_states(struct ilo_context *ilo)
|
ilo_init_states(struct ilo_context *ilo)
|
||||||
{
|
{
|
||||||
ilo_gpe_set_scissor_null(ilo->dev, &ilo->scissor);
|
ilo_gpe_set_scissor_null(ilo->dev, &ilo->scissor);
|
||||||
|
|
||||||
|
ilo->dirty = ILO_DIRTY_ALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue