Skip to content

Vulkan Validation Layer: Legacy Detection: WARNING-legacy-gpdp2 from vmaCreateAllocator() #530

@tksuoran

Description

@tksuoran

When Legacy Detection is used with vulkan validation layer, vmaCreateAllocator() triggers this validation warning:

VALIDATION WARNING [de900250 WARNING-legacy-gpdp2] vkGetPhysicalDeviceMemoryProperties(): vkGetPhysicalDeviceMemoryProperties is a legacy command and this VkInstance was created with VK_VERSION_1_1 which contains vkGetPhysicalDeviceMemoryProperties2 that can be used instead.
See more information about this legacy in the specification: https://docs.vulkan.org/spec/latest/appendices/legacy.html#legacy-gpdp2
  objects: PHYSICAL_DEVICE 170779bde60 
=== Callstack ===
#4  in vkNegotiateLoaderLayerInterfaceVersion
#5  in  ?? 
#6  in vkNegotiateLoaderLayerInterfaceVersion
#7  in vkEnumerateInstanceExtensionProperties
#8  in VmaAllocator_T::VmaAllocator_T(VmaAllocatorCreateInfo*) at vulkanmemoryallocator-src\include\vk_mem_alloc.h:13104
#9  in vmaCreateAllocator(VmaAllocatorCreateInfo*, VmaAllocator_T**) at vulkanmemoryallocator-src\include\vk_mem_alloc.h:15228

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