Part of a vkd3d-proton patch by Hans-Kristian Arntzen.
Signed-off-by: Conor McCarthy cmccarthy@codeweavers.com --- libs/vkd3d/command.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index e81feea4..fc06f28d 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -4420,6 +4420,10 @@ static void STDMETHODCALLTYPE d3d12_command_list_IASetVertexBuffers(ID3D12Graphi return; }
+ /* Native drivers appear to ignore this call. Buffer bindings are kept as-is. */ + if (!views) + return; + for (i = 0; i < view_count; ++i) { if (views[i].BufferLocation)