venus: suballocate memory in more cases
authorChia-I Wu <olvaffe@gmail.com>
Tue, 27 Jul 2021 01:09:39 +0000 (18:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 27 Jul 2021 03:53:52 +0000 (03:53 +0000)
commit567bbfd56b507735d00868774c4b73866ae0a10f
tree5bfa36a30b99ef2266e8fefe9970d70c05b130ca
parentf06b0df741e018bb02218e149ef5e4e17f339162
venus: suballocate memory in more cases

When a dedicated allocation is not required, ignore it and suballocate.

Fixes dEQP-VK.api.invariance.random.

Cc: 21.2 mesa-stable
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12072>
src/virtio/vulkan/vn_device_memory.c