1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-30 13:24:10 +01:00

[dxvk] Fix Nvidia driver version reporting

This commit is contained in:
Philip Rebohle 2018-04-17 23:34:16 +02:00
parent 669df2146b
commit 05a96e96bb
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -35,8 +35,8 @@ namespace dxvk {
if (DxvkGpuVendor(properties.vendorID) == DxvkGpuVendor::Nvidia) {
properties.driverVersion = VK_MAKE_VERSION(
VK_VERSION_MAJOR(properties.driverVersion),
VK_VERSION_MINOR(properties.driverVersion) >> 2,
VK_VERSION_PATCH(properties.driverVersion));
VK_VERSION_MINOR(properties.driverVersion >> 0) >> 2,
VK_VERSION_PATCH(properties.driverVersion >> 2) >> 4);
}
return properties;