mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-15 22:40:50 +00:00
Softmem flush ID fix
The ResourceId being passed to GetSize_InitialState() to set the chunk size was the ID of the resource triggering the flush NOT the ID of the resource being flushed.
This commit is contained in:
committed by
Baldur Karlsson
parent
eebdb5a8bd
commit
fd3fda3905
@@ -122,7 +122,7 @@ bool WrappedVulkan::Prepare_InitialState(WrappedVkRes *res)
|
||||
|
||||
uint64_t start = ser.GetWriter()->GetOffset();
|
||||
{
|
||||
uint64_t size = GetSize_InitialState(id, initData);
|
||||
uint64_t size = GetSize_InitialState(flushId, initData);
|
||||
|
||||
SCOPED_SERIALISE_CHUNK(SystemChunk::InitialContents, size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user