hk: unstub UnmapMemory2KHR

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
This commit is contained in:
Alyssa Rosenzweig
2024-12-11 12:50:10 -05:00
committed by Marge Bot
parent dc3669a837
commit 1e043ed67d
+4 -2
View File
@@ -349,8 +349,10 @@ hk_UnmapMemory2KHR(VkDevice device,
}
#endif
} else {
/* TODO */
//// agx_bo_unmap(mem->bo, mem->map);
if (mem->bo->_map) {
munmap(mem->bo->_map, mem->bo->size);
mem->bo->_map = NULL;
}
}
mem->map = NULL;