mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-18 07:51:14 +00:00
Fix initial contents for UPLOAD heap resources being lost
This commit is contained in:
@@ -485,6 +485,8 @@ bool D3D12ResourceManager::Serialise_InitialState(SerialiserType &ser, ResourceI
|
||||
|
||||
mappedBuffer = NULL;
|
||||
ResourceContents = initContents.srcData = AllocAlignedBuffer(RDCMAX(ContentsLength, 64ULL));
|
||||
initContents.resourceType = Resource_Resource;
|
||||
SetInitialContents(id, initContents);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user