On Tue Mar 21 15:28:51 2023 +0000, Giovanni Mascellani wrote:
My reading of the specs is that `vkMapMemory()` is not required to leave `heap->map_ptr` untouched if it fails. Since `d3d12_heap_destroy()` relies on that value being `NULL` to avoid unmapping twice, maybe the pointer should be explicitly reset to `NULL` in the failure branch.
Makes sense, will do.