[Mesa-dev] [PATCH] anv: vkBindImageMemory() should return VK_ERROR_OUT_OF_{HOST, DEVICE}_MEMORY on error

Samuel Iglesias Gonsálvez siglesias at igalia.com
Thu May 4 13:15:22 UTC 2017


On Thu, 2017-05-04 at 14:03 +0100, Emil Velikov wrote:
> On 4 May 2017 at 11:01, Samuel Iglesias Gonsálvez <siglesias at igalia.c
> om> 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 :-\
> 

Yeah, I realised it after pushing it :-/

> > 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>
> 

Pushed.

Thanks!

Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170504/61092607/attachment.sig>


More information about the mesa-dev mailing list