vk/alloc: Handle zero sizes better in vk_multialloc_add
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 11 Mar 2021 02:17:57 +0000 (20:17 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 11 Mar 2021 02:59:53 +0000 (20:59 -0600)
commit5afdbfe0c84896bc9cec74a5248f7201b5e91fbf
treea4d55c6138dc5db39f28de703ea131b96a976214
parentc22267262ee1b6817df368a51168fa82bd17293c
vk/alloc: Handle zero sizes better in vk_multialloc_add

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9511>
src/vulkan/util/vk_alloc.h