mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 13:21:45 +00:00
Fix gpu driver crash caused by pixel history
Force load renderpass contains only one subpass, if not set subpass, the subpass passed to gpu driver mismatch the actual subpass, and then causes crash.
This commit is contained in:
1 parent
d26f634aeb
commit
7a064ae915
1 file changed
+2
@@ -1586,6 +1586,8 @@ bool WrappedVulkan::Serialise_vkBeginCommandBuffer(SerialiserType &ser, VkComman
|
||||
m_CreationInfo.m_RenderPass[GetResID(unwrappedInheritInfo.renderPass)];
|
||||
unwrappedInheritInfo.renderPass = Unwrap(rpinfo.loadRPs[unwrappedInheritInfo.subpass]);
|
||||
}
|
||||
|
||||
unwrappedInheritInfo.subpass = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user