1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 19:24:12 +01:00

[d3d9] Default to Strict floatEmulation for amdvlk 2024.Q3.1

The AMD Linux open source driver now optimizes for the Strict floatEmulation path.
This commit is contained in:
Blisto91 2024-08-13 16:50:27 +02:00 committed by Philip Rebohle
parent 0d0b9eaac1
commit 6308266a0f

View File

@ -95,11 +95,12 @@ namespace dxvk {
} else {
bool hasMulz = adapter != nullptr
&& (adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV)
|| adapter->matchesDriver(VK_DRIVER_ID_MESA_NVK));
|| adapter->matchesDriver(VK_DRIVER_ID_MESA_NVK)
|| adapter->matchesDriver(VK_DRIVER_ID_AMD_OPEN_SOURCE, Version(2, 0, 316), Version()));
d3d9FloatEmulation = hasMulz ? D3D9FloatEmulation::Strict : D3D9FloatEmulation::Enabled;
}
this->shaderDumpPath = env::getEnvVar("DXVK_SHADER_DUMP_PATH");
}
}
}