From 5e5937baf43744a8bd7aaa4a7487945c6bec56ba Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 24 Nov 2020 17:49:02 +0100 Subject: [PATCH] [dxvk] Pass size of 0 for dummy vertex buffer Silences some validation errors in case null descriptors are disabled. --- src/dxvk/dxvk_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index 10a3f26d5..4fcd5d7d0 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -4119,7 +4119,7 @@ namespace dxvk { } else { buffers[i] = m_common->dummyResources().bufferHandle(); offsets[i] = 0; - lengths[i] = VK_WHOLE_SIZE; + lengths[i] = 0; } }