- VUID-vkCmdBeginRenderPass-framebuffer-02532
- VUID-vkCmdBeginRenderPass2-framebuffer-02533
Discussed in https://gitlab.khronos.org/vulkan/vulkan/-/issues/4622
if both VkImage are bound to the same VkDeviceMemory you are able to validate
The way to check this is to get the size (with vkGetImageMemoryRequirements) and use the VkBindImageMemory to know the ['memoryOffset', 'memoryOffset'+size] range