zink: destroy renderpass objects on context destroy
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9192>
This commit is contained in:
committed by
Marge Bot
parent
3b9357727b
commit
90bcb91cd5
@@ -89,6 +89,9 @@ zink_context_destroy(struct pipe_context *pctx)
|
||||
vkDestroyCommandPool(screen->dev, ctx->compute_batch.cmdpool, NULL);
|
||||
}
|
||||
|
||||
hash_table_foreach(ctx->render_pass_cache, he)
|
||||
zink_destroy_render_pass(screen, he->data);
|
||||
|
||||
util_primconvert_destroy(ctx->primconvert);
|
||||
u_upload_destroy(pctx->stream_uploader);
|
||||
slab_destroy_child(&ctx->transfer_pool);
|
||||
|
||||
Reference in New Issue
Block a user