Protect some more debug prints with VERBOSE_PARTIAL_REPLAY define

This commit is contained in:
baldurk
2016-08-06 18:31:24 +02:00
parent c142164779
commit 1a33324767
@@ -335,8 +335,10 @@ bool WrappedVulkan::Serialise_vkBeginCommandBuffer(Serialiser *localSerialiser,
{
if(*it <= m_LastEventID && m_LastEventID < (*it + length))
{
#ifdef VERBOSE_PARTIAL_REPLAY
RDCDEBUG("vkBegin - partial detected %u < %u < %u, %llu -> %llu", *it, m_LastEventID,
*it + length, cmdId, bakeId);
#endif
m_Partial[p].partialParent = cmdId;
m_Partial[p].baseEvent = *it;
@@ -522,7 +524,9 @@ bool WrappedVulkan::Serialise_vkEndCommandBuffer(Serialiser *localSerialiser,
if(ShouldRerecordCmd(cmdid))
{
commandBuffer = RerecordCmdBuf(cmdid);
#ifdef VERBOSE_PARTIAL_REPLAY
RDCDEBUG("Ending partial command buffer for %llu baked to %llu", cmdid, bakeId);
#endif
bool recordAll = m_DrawcallCallback && m_DrawcallCallback->RecordAllCmds();