| 523 | return VK_SUCCESS; |
| 524 | } |
| 525 | static VKAPI_ATTR void VKAPI_CALL DestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator) { |
| 526 | unique_lock_t lock(global_lock); |
| 527 | image_memory_size_map[device].erase(image); |
| 528 | } |
| 529 | static VKAPI_ATTR void VKAPI_CALL GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, |
| 530 | VkSubresourceLayout* pLayout) { |
| 531 | // Need safe values. Callers are computing memory offsets from pLayout, with no return code to flag failure. |
nothing calls this directly
no outgoing calls
no test coverage detected