mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Combine/ignore the same usage from the same event
* This can happen if the same resource is used in a barrier more than once (e.g. multiple subresources)
This commit is contained in:
@@ -1367,6 +1367,9 @@ void CombineUsageEvents(ICaptureContext &ctx, const rdcarray<EventUsage> &usage,
|
||||
us = u.usage;
|
||||
}
|
||||
|
||||
if(u.usage == us && u.eventId == end)
|
||||
continue;
|
||||
|
||||
const DrawcallDescription *draw = ctx.GetDrawcall(u.eventId);
|
||||
|
||||
bool distinct = false;
|
||||
|
||||
Reference in New Issue
Block a user