Extension Performance and Features

Hello.

Extension performances

I am currently using a vulkan instance with core 1.3 + extensions. Since i have been enabling extension even with version 1.3, I had a thought of using core 1.0 + extensions.

Will there be a performance penalty of using core 1.0 + extensions on the latest hardware vs using core 1.3 + extensions?

Features:
vkGetPhysicalDeviceFeatures returns a struct with bools turned on of off. What do the boolean values mean? Do they mean the feature is not supported and not enabled ? or does it mean the feature is not supported? I am thinking it is the former because individual bools can be turned on and sent to the vkCreateDevice. But wanting to confirm this.

thank you, cheers, best regards

on Features:
vkGetPhysicalDeviceFeatures reports the capabilities of a physical device, that is what features are supported.
The “correct” way to use should probably be

  • get the supported features via vkGetPhysicalDeviceFeatures (or vkGetPhysicalDeviceFeatures2 or vkGetPhysicalDeviceFeatures2KHR)
  • decide if the set of supported features fits your needs
  • ask for just the features you really need (and are supported, of course) in vkCreateDevice.

Essentially, the same logic you would also use for the extensions to use.