mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Don't use pipeline caches on replay
This commit is contained in:
@@ -319,7 +319,8 @@ bool WrappedVulkan::Serialise_vkCreateGraphicsPipelines(
|
||||
VkPipeline pipe = VK_NULL_HANDLE;
|
||||
|
||||
device = GetResourceManager()->GetLiveHandle<VkDevice>(devId);
|
||||
pipelineCache = GetResourceManager()->GetLiveHandle<VkPipelineCache>(cacheId);
|
||||
// don't use pipeline caches on replay
|
||||
pipelineCache = VK_NULL_HANDLE; //GetResourceManager()->GetLiveHandle<VkPipelineCache>(cacheId);
|
||||
|
||||
VkResult ret = ObjDisp(device)->CreateGraphicsPipelines(Unwrap(device), Unwrap(pipelineCache), 1, &info, NULL, &pipe);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user