mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 15:04:21 +00:00
When showing whole pass in mesh view, show right #instances each draw
This commit is contained in:
1 parent
817ead1b3f
commit
ed38e47c92
1 file changed
+1
-1
@@ -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