Skip to content

Commit f5244c6

Browse files
committed
Merge branch 'fix/pixel-history-crash' of https://github.com/nwpuCfy/renderdoc into fix/pixel-history-crash
2 parents 27e2d13 + e81015c commit f5244c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

renderdoc/driver/vulkan/wrappers/vk_cmd_funcs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,7 @@ bool WrappedVulkan::Serialise_vkBeginCommandBuffer(SerialiserType &ser, VkComman
15721572

15731573
if(m_ActionCallback && m_ActionCallback->ForceLoadRPs())
15741574
{
1575+
unwrappedInheritInfo.subpass = 0;
15751576
if(unwrappedInheritInfo.framebuffer != VK_NULL_HANDLE)
15761577
{
15771578
const VulkanCreationInfo::Framebuffer &fbinfo =

0 commit comments

Comments
 (0)