mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Ignore MultiDraw markers when checking if the capture has markers
This commit is contained in:
@@ -479,8 +479,8 @@ bool CaptureContext::ContainsMarker(const rdcarray<DrawcallDescription> &draws)
|
||||
|
||||
for(const DrawcallDescription &d : draws)
|
||||
{
|
||||
ret |=
|
||||
(d.flags & DrawFlags::PushMarker) && !(d.flags & DrawFlags::CmdList) && !d.children.empty();
|
||||
ret |= (d.flags & DrawFlags::PushMarker) &&
|
||||
!(d.flags & (DrawFlags::CmdList | DrawFlags::MultiDraw)) && !d.children.empty();
|
||||
ret |= ContainsMarker(d.children);
|
||||
|
||||
if(ret)
|
||||
|
||||
Reference in New Issue
Block a user