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

[dxbc] Disable Nvidia-specific workarounds for 396.18 and above

This commit is contained in:
Philip Rebohle 2018-04-11 00:20:24 +02:00
parent a2f96f9728
commit 1b6442b859
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -9,7 +9,8 @@ namespace dxvk {
// Apply driver-specific workarounds
const DxvkGpuVendor vendor = static_cast<DxvkGpuVendor>(devProps.vendorID);
if (vendor == DxvkGpuVendor::Nvidia) {
if (vendor == DxvkGpuVendor::Nvidia
&& devProps.driverVersion <= VK_MAKE_VERSION(396, 18, 0)) {
// Older versions of the driver expect the
// coordinate vector to have an extra component
this->addExtraDrefCoordComponent = true;