Allow grouping auto-passes with multi-draw draws

This commit is contained in:
baldurk
2018-08-06 17:28:36 +01:00
parent fbec9c13aa
commit 2326677955
-4
View File
@@ -317,10 +317,6 @@ bool ReplayController::ContainsMarker(const rdcarray<DrawcallDescription> &draws
bool ReplayController::PassEquivalent(const DrawcallDescription &a, const DrawcallDescription &b)
{
// executing command lists can have children
if(!a.children.empty() || !b.children.empty())
return false;
// don't group draws and compute executes
if((a.flags & DrawFlags::Dispatch) != (b.flags & DrawFlags::Dispatch))
return false;