0cad3beb2a
These helpers have quite a bit of smarts in them to log errors to chase the object chain as needed and log errors to roughly the appropriate object. For instance, VK_ERROR_OUT_OF_DEVICE_MEMORY always goes to a device while VK_ERROR_OUT_OF_HOST_MEMORY always goes to the instance. Tested-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13045>