Skip to content

Unmap mapped memory on free

Matt Coster requested to merge MTCoster/mesa:dev/deqp-implicit-unmap into main

From the Vulkan spec (§11.2.13. Freeing Device Memory):

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

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Edited by Matt Coster

Merge request reports