mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
zink: fix win32 build
Fixes:57575627,c4cc3d91Tested-by: Prodea Alexandru-Liviu <liviuprodea@yahoo.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9126>
This commit is contained in:
parent
e3bdf815b7
commit
834b69d1ef
1 changed files with 4 additions and 0 deletions
|
|
@ -808,8 +808,10 @@ zink_destroy_screen(struct pipe_screen *pscreen)
|
|||
|
||||
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);
|
||||
|
||||
|
|
@ -1287,8 +1289,10 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
|
|||
|
||||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue