mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-26 20:01:17 +00:00
Finish map-intercept handling for now.
* Currently I've decided to stick with the scheme of reading back from mapped pointers where necessary to either compare or serialise. This is because the bookkeeping for intercepting memory maps is quite complex and right now it seems hard to justify as the overhead of the readback is not significant enough to worry about. Unless we encounter a case where the readback is hugely slower and frame captures begin to take 10s of seconds longer, it's not justifiable.
This commit is contained in:
@@ -497,4 +497,10 @@ VkResourceRecord::~VkResourceRecord()
|
||||
SAFE_DELETE(layout);
|
||||
SAFE_DELETE(swapInfo);
|
||||
SAFE_DELETE(cmdInfo);
|
||||
if(memMapState)
|
||||
{
|
||||
Serialiser::FreeAlignedBuffer(memMapState->refData);
|
||||
|
||||
SAFE_DELETE(memMapState);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user