| 790 | } |
| 791 | |
| 792 | static VKAPI_ATTR void VKAPI_CALL GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, |
| 793 | VkSubresourceLayout* pLayout) { |
| 794 | // Need safe values. Callers are computing memory offsets from pLayout, with no return code to flag failure. |
| 795 | *pLayout = VkSubresourceLayout(); // Default constructor zero values. |
| 796 | } |
| 797 | |
| 798 | static VKAPI_ATTR void VKAPI_CALL GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) { |
| 799 | pGranularity->width = 1; |