mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Prime post-vs data when log is loaded (or bufferviewer is newly opened)
* This fixes the bug that's been around for a while, where if you have an event selected and then open the buffer viewer, it won't have the post vs data available until you re-select that event.
This commit is contained in:
@@ -445,6 +445,7 @@ namespace renderdocui.Windows
|
||||
m_Output = r.CreateOutput(RenderHandle);
|
||||
m_Output.SetOutputConfig(m_OutConfig);
|
||||
RT_UpdateRenderOutput(r);
|
||||
m_Output.Display(); // pump the display once, this will fetch postvs data
|
||||
|
||||
m_VSIn.m_Input = GetCurrentMeshInput(draw, MeshDataStage.VSIn);
|
||||
m_VSOut.m_Input = GetCurrentMeshInput(draw, MeshDataStage.VSOut);
|
||||
|
||||
Reference in New Issue
Block a user