mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fixes to ensure postvs data is available & properly used
This commit is contained in:
@@ -567,15 +567,10 @@ namespace renderdocui.Windows
|
||||
if (curReq != m_ReqID)
|
||||
return;
|
||||
|
||||
if (MeshView)
|
||||
UI_UpdateMeshRenderComponents();
|
||||
|
||||
m_VSIn.AbortThread();
|
||||
m_VSOut.AbortThread();
|
||||
m_GSOut.AbortThread();
|
||||
|
||||
UI_SetAllColumns();
|
||||
|
||||
if (m_VSIn.m_Input != null)
|
||||
UI_SetRowsData(MeshDataStage.VSIn, contentsVSIn, horizscroll[0]);
|
||||
if (m_VSOut.m_Input != null)
|
||||
@@ -583,6 +578,11 @@ namespace renderdocui.Windows
|
||||
if (m_GSOut.m_Input != null)
|
||||
UI_SetRowsData(MeshDataStage.GSOut, contentsGSOut, horizscroll[2]);
|
||||
|
||||
if (MeshView)
|
||||
UI_UpdateMeshRenderComponents();
|
||||
|
||||
UI_SetAllColumns();
|
||||
|
||||
camGuess_PropChanged();
|
||||
|
||||
render.Invalidate();
|
||||
@@ -2271,7 +2271,7 @@ namespace renderdocui.Windows
|
||||
else if (ui.m_Stage != MeshDataStage.VSIn && ui.m_Data != null && ui.m_Data.PostVS.buf != ResourceId.Null)
|
||||
{
|
||||
m_MeshDisplay.position.idxbuf = ui.m_Data.PostVS.idxbuf;
|
||||
m_MeshDisplay.position.idxoffs = ui.m_Input.Drawcall.indexOffset * ui.m_Data.PostVS.idxByteWidth;
|
||||
m_MeshDisplay.position.idxoffs = 0;
|
||||
m_MeshDisplay.position.idxByteWidth = ui.m_Data.PostVS.idxByteWidth;
|
||||
|
||||
m_MeshDisplay.position.buf = ui.m_Data.PostVS.buf;
|
||||
|
||||
Reference in New Issue
Block a user