mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
When showing whole pass in mesh view, show right #instances each draw
This commit is contained in:
@@ -794,7 +794,7 @@ void ReplayOutput::DisplayMesh()
|
||||
|
||||
if(d)
|
||||
{
|
||||
for(uint32_t inst = 0; inst < RDCMAX(1U, draw->numInstances); inst++)
|
||||
for(uint32_t inst = 0; inst < RDCMAX(1U, d->numInstances); inst++)
|
||||
{
|
||||
// get the 'most final' stage
|
||||
MeshFormat fmt = m_pDevice->GetPostVSBuffers(passEvents[i], inst, MeshDataStage::GSOut);
|
||||
|
||||
Reference in New Issue
Block a user