mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Secondary cmd buffers only add parent framebuffer usage to draw actions
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user