| 658 | } |
| 659 | |
| 660 | static VKAPI_ATTR void VKAPI_CALL UnmapMemory(VkDevice device, VkDeviceMemory memory) { |
| 661 | unique_lock_t lock(global_lock); |
| 662 | for (auto map_addr : mapped_memory_map[memory]) { |
| 663 | ::operator delete(map_addr, std::align_val_t(memory_alignment)); |
| 664 | } |
| 665 | mapped_memory_map.erase(memory); |
| 666 | } |
| 667 | |
| 668 | static VKAPI_ATTR void VKAPI_CALL GetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, |
| 669 | VkMemoryRequirements* pMemoryRequirements) { |
no test coverage detected