diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 1832a34667d..54a8561ea9b 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -100,13 +100,11 @@ zink_context_destroy(struct pipe_context *pctx) hash_table_foreach(&ctx->program_cache[i], entry) { struct zink_program *pg = entry->data; pg->removed = true; - zink_descriptor_program_deinit(screen, pg); } } hash_table_foreach(&ctx->compute_program_cache, entry) { struct zink_program *pg = entry->data; pg->removed = true; - zink_descriptor_program_deinit(screen, pg); } if (ctx->blitter)