MDI Subdraw Tool Tip: "Sub Draw #-1 [0..-1]

This is a very minor issue.

When hovering over the sub-draws of a MDI (glMultiDrawElementsIndirect or glMultiDrawArraysIndirect) draw call, the last line of the tooltip always says: “Sub Draw #-1 [0…-1]”, irrespective of the number of subdraws (drawCount) provided to the MDI draw call or which subdraw you’re hovering over.

In contrast, the tool tips displayed when hovering over the MDI draw calls themselves display properly which MultiDraw call this is across the entire frame, and the range of MultiDraw call indices.

My setup here:

  • GPU: RTX 2080 (non-Ti)
  • NV Driver: 441.28
  • Nsight Graphics: v2019.6.0.0 (Build 27607381)
  • OS: Win 10 Pro (v1809)