Only VSIn stage applies baseVertex offset.

This commit is contained in:
baldurk
2017-02-20 11:10:28 +00:00
parent 7495ff37d5
commit 7a10504260
-2
View File
@@ -1239,8 +1239,6 @@ void BufferViewer::OnEventChanged(uint32_t eventID)
const FetchDrawcall *draw = m_Ctx.CurDrawcall();
m_ModelVSIn->baseVertex = draw ? draw->baseVertex : 0;
m_ModelVSOut->baseVertex = draw ? draw->baseVertex : 0;
m_ModelGSOut->baseVertex = draw ? draw->baseVertex : 0;
ui->instance->setEnabled(draw && draw->numInstances > 1);
if(!ui->instance->isEnabled())