The Vulkan spec states: If an element of pBuffers is VK_NULL_HANDLE, then the corresponding element of pOffsets must be zero. https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBindVertexBuffers2EXT.html#VUID-vkCmdBindVertexBuffers2EXT-pBuffers-04112
When this was being made mandatory, these enablement of these features was removed, but this is still needed. Fixes: 757fd1e917 ("vulkan_device: Require VK_EXT_robustness2")
757fd1e917
We can get into a really bad state by ignoring this leading to device loss and using incorrect resources.