anv: return VK_ERROR_OUT_OF_DEVICE_MEMORY when surface size is out of HW limits
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 12 Jan 2018 08:41:17 +0000 (09:41 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 18 Jan 2018 05:48:47 +0000 (06:48 +0100)
commiteac629deb68115e9ab520212c1af779eca4f38a3
tree41bea6c754589b62bd6cda34fe20ef559c93ea8f
parent9248f72c4e8513fdf4ac4cac4b78c9f06621046a
anv: return VK_ERROR_OUT_OF_DEVICE_MEMORY when surface size is out of HW limits

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_image.c