Vulkan: Extract Vendor/Driver/Device Information #107872

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:vulkan-vendor-driver-device-information into main 2023-05-25 11:55:53 +02:00

2 Commits

Author SHA1 Message Date
Jeroen Bakker a217ba26ad Merge branch 'main' into vulkan-vendor-driver-device-information 2023-05-25 11:54:35 +02:00
Jeroen Bakker 885d53a637 Vulkan: Extract Vendor/Driver/Device Information
Extract vendor, driver and device information from the physical device
properties.

Note that driver version is implementation dependent and might fail as
it is unclear which driver is being used. An open source driver could
store the driver version in a different way than a closed source driver.
But as it is not clear which driver version is being used it might
extract the incorrect version.

To solve this issue we check if the extracted version makes sense
depending on the version schema of the driver and if they don't match we
use another approach.
2023-05-12 09:07:26 +02:00