mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
zink: check core feature for pipeline cache control
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19065>
This commit is contained in:
parent
179e638bb8
commit
3dcc03d979
1 changed files with 2 additions and 1 deletions
|
|
@ -281,7 +281,8 @@ cache_get_job(void *data, void *gdata, int thread_index)
|
||||||
VkPipelineCacheCreateInfo pcci;
|
VkPipelineCacheCreateInfo pcci;
|
||||||
pcci.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO;
|
pcci.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO;
|
||||||
pcci.pNext = NULL;
|
pcci.pNext = NULL;
|
||||||
pcci.flags = screen->info.have_EXT_pipeline_creation_cache_control ? VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT : 0;
|
pcci.flags = screen->info.have_EXT_pipeline_creation_cache_control || screen->info.feats13.pipelineCreationCacheControl ?
|
||||||
|
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT : 0;
|
||||||
pcci.initialDataSize = 0;
|
pcci.initialDataSize = 0;
|
||||||
pcci.pInitialData = NULL;
|
pcci.pInitialData = NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue