Don't try to create indirect draw buffer while structured exporting

This commit is contained in:
baldurk
2018-07-12 13:30:32 +01:00
parent ba78e08394
commit 15bb970dd9
+1 -3
View File
@@ -1838,10 +1838,8 @@ ReplayStatus WrappedVulkan::ReadLogInitialisation(RDCFile *rdc, bool storeStruct
{
RDCASSERT(m_Device != VK_NULL_HANDLE && m_Queue != VK_NULL_HANDLE &&
m_InternalCmds.cmdpool != VK_NULL_HANDLE);
}
// create indirect draw buffer
{
// create indirect draw buffer
m_IndirectBufferSize = AlignUp(m_IndirectBufferSize + 63, (size_t)64);
m_IndirectBuffer.Create(this, GetDev(), m_IndirectBufferSize, 1, 0);