mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
iris: fix indirect draw refcnt imbalance
Indeed, the object ring_bo was not freed.
For instance, this issue is triggered with:
"piglit/bin/arb_shader_image_load_store-host-mem-barrier -auto -fbo"
while setting GALLIUM_REFCNT_LOG=refcnt.log.
Fixes: 5438b19104 ("iris: enable generated indirect draws")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30975>
This commit is contained in:
parent
06d417af80
commit
6ac3beeb85
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ iris_destroy_context(struct pipe_context *ctx)
|
|||
|
||||
iris_destroy_batches(ice);
|
||||
iris_destroy_binder(&ice->state.binder);
|
||||
iris_bo_unreference(ice->draw.generation.ring_bo);
|
||||
|
||||
iris_utrace_fini(ice);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue