vulkan/wsi/wayland: handle dmabuf params allocation failure
authorSimon Ser <contact@emersion.fr>
Thu, 24 Jun 2021 18:32:16 +0000 (20:32 +0200)
committerSimon Ser <contact@emersion.fr>
Thu, 8 Jul 2021 10:05:28 +0000 (12:05 +0200)
commit3ee30d98ff3606d79f9d597674bf3812957ae1b5
treed74b291433b4b4adc788c249bfd1a5f2d24225de
parent7d711a10aa5ce5a045901381e80d9b41f2be08b2
vulkan/wsi/wayland: handle dmabuf params allocation failure

Return VK_ERROR_OUT_OF_HOST_MEMORY if
zwp_linux_dmabuf_v1_create_params fails.

Signed-off-by: Simon Ser <contact@emersion.fr>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11589>
src/vulkan/wsi/wsi_common_wayland.c