For example:
VkImageCreateInfo imageCreateInfo = {};
imageCreateInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO;
imageCreateInfo.imageType = VK_IMAGE_TYPE_2D;
imageCreateInfo.format = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM;
imageCreateInfo.flags = VK_IMAGE_CREATE_DISJOINT_BIT;
If calling vmaCreateImage() with this image create info, the validate layer will warn about this:
vkBindImageMemory(): In order to bind planes of a disjoint image, add a VkBindImagePlaneMemoryInfo structure to the pNext chain of VkBindImageMemoryInfo.
For example:
If calling
vmaCreateImage()with this image create info, the validate layer will warn about this: