Set PipelineState in render state when serialising an initial Reset()

This commit is contained in:
baldurk
2016-09-16 10:35:18 +02:00
parent b332404365
commit c6735c9fd4
@@ -209,6 +209,8 @@ bool WrappedID3D12GraphicsCommandList::Serialise_Reset(ID3D12CommandAllocator *p
m_Cmd->m_RerecordCmds[bakeId] = list;
m_Cmd->m_RerecordCmds[CommandList] = list;
}
m_Cmd->m_RenderState.pipe = GetResID(pInitialState);
}
m_Cmd->m_BakedCmdListInfo[CommandList].curEventID = 0;