mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Update D3D12 device wrapping code to new serialisation
This commit is contained in:
@@ -285,7 +285,7 @@ void WrappedID3D12CommandQueue::ProcessChunk(ReadSerialiser &ser, D3D12Chunk chu
|
||||
break;
|
||||
case D3D12Chunk::Device_CopyDescriptors:
|
||||
case D3D12Chunk::Device_CopyDescriptorsSimple:
|
||||
m_pDevice->Serialise_DynamicDescriptorCopies(ser, NULL);
|
||||
m_pDevice->Serialise_DynamicDescriptorCopies(ser, std::vector<DynamicDescriptorCopy>());
|
||||
break;
|
||||
|
||||
case D3D12Chunk::Queue_ExecuteCommandLists: Serialise_ExecuteCommandLists(ser, 0, NULL); break;
|
||||
|
||||
@@ -466,7 +466,7 @@ public:
|
||||
bool Serialise_DynamicDescriptorWrite(SerialiserType &ser, const DynamicDescriptorWrite *write);
|
||||
template <typename SerialiserType>
|
||||
bool Serialise_DynamicDescriptorCopies(SerialiserType &ser,
|
||||
const std::vector<DynamicDescriptorCopy> *copies);
|
||||
const std::vector<DynamicDescriptorCopy> &DescriptorCopies);
|
||||
|
||||
void ReadLogInitialisation(RDCFile *rdc, bool storeStructuredBuffers);
|
||||
void ReplayLog(uint32_t startEventID, uint32_t endEventID, ReplayLogType replayType);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -703,6 +703,10 @@ public:
|
||||
ShaderEntry::ReleaseShader(GS());
|
||||
ShaderEntry::ReleaseShader(PS());
|
||||
|
||||
SAFE_DELETE_ARRAY(graphics->InputLayout.pInputElementDescs);
|
||||
SAFE_DELETE_ARRAY(graphics->StreamOutput.pSODeclaration);
|
||||
SAFE_DELETE_ARRAY(graphics->StreamOutput.pBufferStrides);
|
||||
|
||||
SAFE_DELETE(graphics);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user