OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Dec 2016 16:14:55 +0000 (16:14 +0000)
commit626b85cc15d8a57954f956620c0b89c3a06559af
tree59cb6805517705b2f0acbb99be6b3a7e732144a6
parent23f1e04abbc6cb97b18a2902e9231983856672dd
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>
(cherry picked from commit b1217eada9e32bf387d4d14615340aa5b5fd1f5c)
src/intel/vulkan/anv_device.c