mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-27 08:05:42 +00:00
Remove assert on duplicate GPU Address ranges
* It's valid to have overlapping buffers on a heap, which could end up with overlapping ranges. * It's impossible from the API to tell which buffer an address came from if there are multiple possibilities, but any of them will be technically correct, we just might display a different buffer than the user expected.
This commit is contained in:
@@ -467,8 +467,6 @@ struct GPUAddressRangeTracker
|
||||
{
|
||||
SCOPED_WRITELOCK(addressLock);
|
||||
auto it = std::lower_bound(addresses.begin(), addresses.end(), range.start);
|
||||
RDCASSERT(it == addresses.begin() || it == addresses.end() || range.start < it->start ||
|
||||
range.start >= it->end);
|
||||
|
||||
addresses.insert(it, range);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user