| 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. |
| 532 | *pLayout = VkSubresourceLayout(); // Default constructor zero values. |
| 533 | } |
| 534 | static VKAPI_ATTR VkResult VKAPI_CALL CreateImageView(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, |
| 535 | const VkAllocationCallbacks* pAllocator, VkImageView* pView) { |
| 536 | unique_lock_t lock(global_lock); |
nothing calls this directly
no outgoing calls
no test coverage detected