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:
parent
669df2146b
commit
05a96e96bb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user