Skip to content

False positive legacy command validation warning for vkGetPhysicalDeviceProperties() after only calling vkEnumeratePhysicalDevices() #12067

@Teedacrafter

Description

@Teedacrafter

Environment:

  • OS: Windows 11 Version 25H2
  • Driver version: with Vulkan 1.4.344 and Driver: AMD 2.0.388
  • SDK version: 1.4.341.1
  • Options enabled: legacy-gpdp2

The Issue

After calling vkEnumeratePhysicalDevices() while legacy-gpdp2 layer enabled I get the legacy warning

vkGetPhysicalDeviceProperties(): vkGetPhysicalDeviceProperties is a legacy command and this VkInstance was created with VK_VERSION_1_1 which contains vkGetPhysicalDeviceProperties2 that can be used instead.

with the MessageID 0xde900250.

The legacy warning still works if calling vkGetPhysicalDeviceProperties(). It just should not do the same as for the vkEnumeratePhysicalDevices() call.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions