mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 23:13:12 +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:
43 files changed
+462
-354
No files matched your search
@@ -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