mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-10 14:21:31 +00:00
Fix typo that saved D3D12 indexed draw indirect index offset incorrectly
This commit is contained in:
1 file changed
+1
-1
@@ -3502,7 +3502,7 @@ void WrappedID3D12GraphicsCommandList2::PatchExecuteIndirect(BakedCmdListInfo &i
|
||||
curDraw.numIndices = args->IndexCountPerInstance;
|
||||
curDraw.numInstances = args->InstanceCount;
|
||||
curDraw.baseVertex = args->BaseVertexLocation;
|
||||
curDraw.vertexOffset = args->StartIndexLocation;
|
||||
curDraw.indexOffset = args->StartIndexLocation;
|
||||
curDraw.instanceOffset = args->StartInstanceLocation;
|
||||
curDraw.flags |= DrawFlags::Drawcall | DrawFlags::Instanced | DrawFlags::Indexed |
|
||||
DrawFlags::Indirect;
|
||||
|
||||
Reference in new issue
Block a user