mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-03 20:35:39 +00:00
Set vertexOffset not baseVertex with offset in DrawInstanced()
This commit is contained in:
@@ -2823,7 +2823,7 @@ bool WrappedID3D12GraphicsCommandList::Serialise_DrawInstanced(UINT VertexCountP
|
||||
draw.numIndices = vtxCount;
|
||||
draw.numInstances = instCount;
|
||||
draw.indexOffset = 0;
|
||||
draw.baseVertex = startVtx;
|
||||
draw.vertexOffset = startVtx;
|
||||
draw.instanceOffset = startInst;
|
||||
|
||||
draw.flags |= eDraw_Drawcall | eDraw_Instanced;
|
||||
|
||||
Reference in New Issue
Block a user