From: Conor McCarthy <cmccarthy(a)codeweavers.com> VK_EXT_robustness2 does not support null index buffers so we only warn and return immediately. --- libs/vkd3d/command.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index c20b2d88..3dcc817d 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -4654,6 +4654,11 @@ static void STDMETHODCALLTYPE d3d12_command_list_IASetIndexBuffer(ID3D12Graphics WARN("Ignoring NULL index buffer view.\n"); return; } + if (!view->BufferLocation) + { + WARN("Ignoring index buffer location 0.\n"); + return; + } vk_procs = &list->device->vk_procs; -- GitLab https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/163