Secondary cmd buffers only add parent framebuffer usage to draw actions

This commit is contained in:
Jake Turner
2026-03-30 08:30:47 +01:00
parent 18e6d68772
commit e4459b961b
+4 -1
View File
@@ -6670,7 +6670,10 @@ void WrappedVulkan::AddFramebufferUsageAllChildren(VulkanActionTreeNode &actionN
for(VulkanActionTreeNode &c : actionNode.children)
AddFramebufferUsageAllChildren(c, renderState);
AddFramebufferUsage(actionNode, renderState);
ActionDescription &action = actionNode.action;
ActionFlags DrawMask = ActionFlags::MeshDispatch | ActionFlags::Drawcall;
if(action.flags & DrawMask)
AddFramebufferUsage(actionNode, renderState);
}
void WrappedVulkan::AddEvent()