mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
vk_postvs: Fix crash with dynamic rendering
Similar to b215fbe306, this fixes crashes with dynamic rendering
when GS is used and viewMask is 0.
This commit is contained in:
@@ -2879,7 +2879,8 @@ void VulkanReplay::FetchTessGSOut(uint32_t eventId, VulkanRenderState &state)
|
||||
}
|
||||
|
||||
if(state.dynamicRendering.viewMask > 1 ||
|
||||
!creationInfo.m_RenderPass[state.GetRenderPass()].subpasses[state.subpass].multiviews.empty())
|
||||
(state.GetRenderPass() != ResourceId() &&
|
||||
!creationInfo.m_RenderPass[state.GetRenderPass()].subpasses[state.subpass].multiviews.empty()))
|
||||
{
|
||||
RDCWARN("Multipass is active for this draw, no GS/Tess mesh output is available");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user