Skip to content

tutorial06_texture missing VK_MEMORY_PROPERTY_HOST_COHERENT_BIT when allocate vkAllocateMemory #88

Open
@th1nk3r-ing

Description

@th1nk3r-ing

The validation layer report the error :

05-25 16:48:42.953 31225 31225 I VALIDATION: VUID-vkBindImageMemory-memory-01047(ERROR / SPEC): msgNum: -1558817633 - Validation Error: [ VUID-vkBindImageMemory-memory-01047 ] Object 0: handle = 0x59ffe0000000003d, type = VK_OBJECT_TYPE_DEVICE_MEMORY; | MessageID = 0xa316549f | vkBindImageMemory()(): MemoryRequirements->memoryTypeBits (0x5) for this object type are not compatible with the memory type (0x1) of VkDeviceMemory 0x59ffe0000000003d[]. The Vulkan spec states: memory must have been allocated using one of the memory types allowed in the memoryTypeBits member of the VkMemoryRequirements structure returned from a call to vkGetImageMemoryRequirements with image (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkBindImageMemory-memory-01047)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions