mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
When capturing a frame, all UpdateSubresource calls are updates
* Since the CAPFRAME path in UpdateSubresource doesn't fill in the dummy data there's no point to try and create it so we have some data to fill in.
This commit is contained in:
@@ -43,7 +43,7 @@ bool WrappedID3D11DeviceContext::Serialise_UpdateSubresource1(ID3D11Resource *pD
|
||||
if(record && record->NumSubResources > (int)DestSubresource)
|
||||
record = (D3D11ResourceRecord *)record->SubResources[DestSubresource];
|
||||
|
||||
SERIALISE_ELEMENT(uint8_t, isUpdate, record->DataInSerialiser);
|
||||
SERIALISE_ELEMENT(uint8_t, isUpdate, record->DataInSerialiser || m_State == WRITING_CAPFRAME);
|
||||
|
||||
ID3D11Resource *DestResource = pDstResource;
|
||||
if(m_State < WRITING)
|
||||
|
||||
Reference in New Issue
Block a user