| 64 | } |
| 65 | |
| 66 | void ReplayController::SetFrameEvent(uint32_t eventId, bool force) |
| 67 | { |
| 68 | CHECK_REPLAY_THREAD(); |
| 69 | RENDERDOC_PROFILEFUNCTION(); |
| 70 | |
| 71 | // use remapped event if there's a match |
| 72 | auto it = m_EventRemap.find(eventId); |
| 73 | if(it != m_EventRemap.end()) |
| 74 | eventId = it->second; |
| 75 | |
| 76 | if(eventId != m_EventID || force) |
| 77 | { |
| 78 | m_EventID = eventId; |
| 79 | |
| 80 | m_pDevice->ReplayLog(eventId, eReplay_WithoutDraw); |
| 81 | FatalErrorCheck(); |
| 82 | |
| 83 | for(size_t i = 0; i < m_Outputs.size(); i++) |
| 84 | m_Outputs[i]->SetFrameEvent(eventId); |
| 85 | |
| 86 | m_pDevice->ReplayLog(eventId, eReplay_OnlyDraw); |
| 87 | FatalErrorCheck(); |
| 88 | |
| 89 | FetchPipelineState(eventId); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | const D3D11Pipe::State *ReplayController::GetD3D11PipelineState() |
| 94 | { |
no test coverage detected