mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 03:41:01 +00:00
Don't continue with vulkan postvs fetch if PSO fails to compile
* MoltenVK sometimes has problems with shader translation so we want to handle this gracefully if possible.
This commit is contained in:
@@ -2263,7 +2263,12 @@ void VulkanReplay::FetchVSOut(uint32_t eventId)
|
||||
// create new pipeline
|
||||
VkPipeline pipe;
|
||||
vkr = m_pDriver->vkCreateComputePipelines(m_Device, VK_NULL_HANDLE, 1, &compPipeInfo, NULL, &pipe);
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
|
||||
if(vkr != VK_SUCCESS)
|
||||
{
|
||||
RDCERR("Failed to create patched compute pipeline: %s", ToStr(vkr).c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
// make copy of state to draw from
|
||||
VulkanRenderState modifiedstate = state;
|
||||
|
||||
Reference in New Issue
Block a user