| 535 | } |
| 536 | |
| 537 | MeshFormat ReplayController::GetPostVSData(uint32_t instID, uint32_t viewID, MeshDataStage stage) |
| 538 | { |
| 539 | CHECK_REPLAY_THREAD(); |
| 540 | |
| 541 | ActionDescription *action = GetActionByEID(m_EventID); |
| 542 | |
| 543 | if(action == NULL || !(action->flags & (ActionFlags::MeshDispatch | ActionFlags::Drawcall))) |
| 544 | return MeshFormat(); |
| 545 | |
| 546 | instID = RDCMIN(instID, action->numInstances - 1); |
| 547 | |
| 548 | m_pDevice->InitPostVSBuffers(action->eventId); |
| 549 | FatalErrorCheck(); |
| 550 | |
| 551 | MeshFormat ret = m_pDevice->GetPostVSBuffers(action->eventId, instID, viewID, stage); |
| 552 | FatalErrorCheck(); |
| 553 | |
| 554 | return ret; |
| 555 | } |
| 556 | |
| 557 | bytebuf ReplayController::GetBufferData(ResourceId buff, uint64_t offset, uint64_t len) |
| 558 | { |