mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 08:08:50 +00:00
Handle an InstanceDataStepRate of 0 as all data being identical
This commit is contained in:
1 parent
88f5da6f04
commit
51c4a6365a
1 file changed
+1
-1
@@ -1063,7 +1063,7 @@ ShaderDebugTrace D3D11DebugManager::DebugVertex(uint32_t eventID, uint32_t verti
|
||||
}
|
||||
else
|
||||
{
|
||||
if(el->InstanceDataStepRate >= draw->numInstances)
|
||||
if(el->InstanceDataStepRate == 0 || el->InstanceDataStepRate >= draw->numInstances)
|
||||
{
|
||||
srcData = &staticData[el->InputSlot][el->AlignedByteOffset];
|
||||
dataSize = staticData[el->InputSlot].size() - el->AlignedByteOffset;
|
||||
|
||||
Reference in new issue
Block a user