Use the deserialised dimensions for dispatch, not 0,0,0. Refs #216

This commit is contained in:
baldurk
2016-04-02 14:38:13 +02:00
parent b630b84e20
commit f626e627b6
@@ -1369,7 +1369,7 @@ bool WrappedVulkan::Serialise_vkCmdDispatch(
if(ShouldRerecordCmd(cmdid) && InRerecordRange())
{
commandBuffer = RerecordCmdBuf(cmdid);
ObjDisp(commandBuffer)->CmdDispatch(Unwrap(commandBuffer), x, y, z);
ObjDisp(commandBuffer)->CmdDispatch(Unwrap(commandBuffer), X, Y, Z);
}
}
else if(m_State == READING)