mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Set CachedBlobSizeInBytes to 0 on reading
This commit is contained in:
@@ -570,6 +570,9 @@ void DoSerialise(SerialiserType &ser, D3D12_CACHED_PIPELINE_STATE &el)
|
||||
SERIALISE_MEMBER_ARRAY_EMPTY(pCachedBlob);
|
||||
uint64_t CachedBlobSizeInBytes = 0;
|
||||
ser.Serialise("CachedBlobSizeInBytes", CachedBlobSizeInBytes);
|
||||
|
||||
if(ser.IsReading())
|
||||
el.CachedBlobSizeInBytes = CachedBlobSizeInBytes;
|
||||
}
|
||||
|
||||
template <class SerialiserType>
|
||||
|
||||
Reference in New Issue
Block a user