It used to be the case that mapping memory worked with &self. This changed with gfx-rs/gfx#3551, according to Vulkan's synchronization semantics. Now, working with gpu-alloc is more difficult. Perhaps, the MemoryDevice trait here can be changed to work with &mut Memory instead when mapping/unmapping?
It used to be the case that mapping memory worked with
&self. This changed with gfx-rs/gfx#3551, according to Vulkan's synchronization semantics. Now, working with gpu-alloc is more difficult. Perhaps, theMemoryDevicetrait here can be changed to work with&mut Memoryinstead when mapping/unmapping?