u_transfer_helper_destroy(pscreen->transfer_helper);
zink_screen_update_pipeline_cache(screen);
+#ifdef ENABLE_SHADER_CACHE
if (screen->disk_cache)
disk_cache_wait_for_idle(screen->disk_cache);
+#endif
disk_cache_destroy(screen->disk_cache);
vkDestroyPipelineCache(screen->dev, screen->pipeline_cache, NULL);
slab_create_parent(&screen->transfer_pool, sizeof(struct zink_transfer), 16);
+#if WITH_XMLCONFIG
if (config)
screen->driconf.dual_color_blend_by_location = driQueryOptionb(config->options, "dual_color_blend_by_location");
+#endif
return screen;