iris: actually destroy the cache
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Jan 2018 03:43:45 +0000 (19:43 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_context.c

index a0dff005403d00eeac4b6a2224cb575dc815b817..4675e2e62c196cd3fe8e42a05ce3431bf91070d6 100644 (file)
@@ -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);