mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 10:50:23 +01:00
llvmpipe: set block count/used values back to zero on reset
This commit is contained in:
parent
da1808ccc9
commit
f406ffaea6
1 changed files with 2 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ static void reset_context( struct setup_context *setup )
|
|||
}
|
||||
|
||||
list->head = list->tail;
|
||||
list->head->count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -130,6 +131,7 @@ static void reset_context( struct setup_context *setup )
|
|||
}
|
||||
|
||||
list->head = list->tail;
|
||||
list->head->used = 0;
|
||||
}
|
||||
|
||||
/* Reset some state:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue