MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / GetImageSubresourceLayout

Function GetImageSubresourceLayout

icd/generated/function_definitions.h:529–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527 image_memory_size_map[device].erase(image);
528}
529static 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}
534static VKAPI_ATTR VkResult VKAPI_CALL CreateImageView(VkDevice device, const VkImageViewCreateInfo* pCreateInfo,
535 const VkAllocationCallbacks* pAllocator, VkImageView* pView) {
536 unique_lock_t lock(global_lock);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected