mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Pull index byte width and topology out of drawcall state
* These are treated as state on most APIs, only GL treats it as a drawcall parameter.
This commit is contained in:
@@ -798,7 +798,8 @@ void PixelHistoryView::jumpToPrimitive(EventTag tag)
|
||||
|
||||
if(draw)
|
||||
{
|
||||
uint32_t vertIdx = RENDERDOC_VertexOffset(draw->topology, tag.primitive);
|
||||
uint32_t vertIdx =
|
||||
RENDERDOC_VertexOffset(m_Ctx.CurPipelineState().GetPrimitiveTopology(), tag.primitive);
|
||||
|
||||
if(vertIdx != ~0U)
|
||||
viewer->ScrollToRow(vertIdx);
|
||||
|
||||
Reference in New Issue
Block a user