[Mesa-dev] [PATCH] anv: vkBindImageMemory() should return VK_ERROR_OUT_OF_{HOST, DEVICE}_MEMORY on error
Emil Velikov
emil.l.velikov at gmail.com
Thu May 4 13:03:50 UTC 2017
On 4 May 2017 at 11:01, Samuel Iglesias Gonsálvez <siglesias at igalia.com> wrote:
> Fixes returned value changed by b546c9d.
>
According to the spec we get VK_ERROR_OUT_OF_HOST_MEMORY or
VK_ERROR_OUT_OF_DEVICE_MEMORY on vkBindImageMemory failure.
I should have explicitly checked it closer :-\
> Fixes: b546c9d ("anv: anv_gem_mmap() returns MAP_FAILED as mapping error")
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
> Cc: "17.0 17.1" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
-Emil
More information about the mesa-dev
mailing list