1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxvk] Pass size of 0 for dummy vertex buffer

Silences some validation errors in case null descriptors are disabled.
This commit is contained in:
Philip Rebohle 2020-11-24 17:49:02 +01:00
parent 6a63f4af56
commit 5e5937baf4
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -4119,7 +4119,7 @@ namespace dxvk {
} else {
buffers[i] = m_common->dummyResources().bufferHandle();
offsets[i] = 0;
lengths[i] = VK_WHOLE_SIZE;
lengths[i] = 0;
}
}