anv/device: Implicitly unmap memory objects in FreeMemory
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Nov 2016 01:25:07 +0000 (17:25 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 10 Nov 2016 02:17:55 +0000 (18:17 -0800)
commitb1217eada9e32bf387d4d14615340aa5b5fd1f5c
tree031c51fb29c08f8b7e1859b71f61526c4e0b083b
parent920f34a2d9f14f023aee5203baa110c971519ee8
anv/device: Implicitly unmap memory objects in FreeMemory

From the Vulkan spec version 1.0.32 docs for vkFreeMemory:

   "If a memory object is mapped at the time it is freed, it is implicitly
   unmapped."

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Cc: "12.0 13.0" <mesa-dev@lists.freedesktop.org>
src/intel/vulkan/anv_device.c