summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-25 19:43:45 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commitacdff2f9a68a1ce3879ad22b8602a97f58957340 (patch)
treee61095a105d776bbe6a17ab9c2001a165586bd7f /src/gallium/drivers/iris
parent9437e135ed0328c4fd9779312a676de2d0a34c7f (diff)
iris: actually destroy the cache
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r--src/gallium/drivers/iris/iris_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c
index a0dff005403..4675e2e62c1 100644
--- a/src/gallium/drivers/iris/iris_context.c
+++ b/src/gallium/drivers/iris/iris_context.c
@@ -79,6 +79,8 @@ iris_destroy_context(struct pipe_context *ctx)
if (ctx->stream_uploader)
u_upload_destroy(ctx->stream_uploader);
+ iris_destroy_program_cache(ice);
+
iris_batch_free(&ice->render_batch);
ralloc_free(ice);