dzn: Fix incremental binding of VBs

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23403>
This commit is contained in:
Jesse Natalie
2023-06-02 11:14:37 -07:00
committed by Marge Bot
parent fb722ca6ff
commit 653a374126

View File

@@ -3399,7 +3399,7 @@ dzn_cmd_buffer_update_vbviews(struct dzn_cmd_buffer *cmdbuf)
unsigned start, end;
BITSET_FOREACH_RANGE(start, end, cmdbuf->state.vb.dirty, MAX_VBS)
ID3D12GraphicsCommandList1_IASetVertexBuffers(cmdbuf->cmdlist, start, end - start, cmdbuf->state.vb.views);
ID3D12GraphicsCommandList1_IASetVertexBuffers(cmdbuf->cmdlist, start, end - start, &cmdbuf->state.vb.views[start]);
BITSET_CLEAR_RANGE(cmdbuf->state.vb.dirty, 0, MAX_VBS);
}