iris: Call blorp_finish() when destroying context

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27502>
This commit is contained in:
Caio Oliveira
2024-02-06 13:00:30 -08:00
committed by Marge Bot
parent d699600da1
commit 083ef7e338

View File

@@ -217,6 +217,8 @@ iris_destroy_context(struct pipe_context *ctx)
struct iris_context *ice = (struct iris_context *)ctx;
struct iris_screen *screen = (struct iris_screen *)ctx->screen;
blorp_finish(&ice->blorp);
if (ctx->stream_uploader)
u_upload_destroy(ctx->stream_uploader);
if (ctx->const_uploader)