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:
committed by
Marge Bot
parent
dc3669a837
commit
1e043ed67d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user