Skip to content

Validation warns VkBindImagePlaneMemoryInfo miss for VK_IMAGE_CREATE_DISJOINT_BIT images #372

@psionic12

Description

@psionic12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdding new featurefuture releaseTo be done some time in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions