1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 16:08:50 +01:00

[d3d9] Fix float emulation detection.

ffs
This commit is contained in:
Georg Lehmann 2022-01-21 15:40:06 +01:00 committed by Robin Kertels
parent 14df2f7251
commit 4e6db51230

View File

@ -89,7 +89,8 @@ namespace dxvk {
} else if (floatEmulation == "true") { } else if (floatEmulation == "true") {
d3d9FloatEmulation = D3D9FloatEmulation::Enabled; d3d9FloatEmulation = D3D9FloatEmulation::Enabled;
} else { } else {
bool hasMulz = adapter->matchesDriver(DxvkGpuVendor::Amd, bool hasMulz = adapter != nullptr
&& adapter->matchesDriver(DxvkGpuVendor::Amd,
VK_DRIVER_ID_MESA_RADV, VK_DRIVER_ID_MESA_RADV,
VK_MAKE_VERSION(21, 99, 99), VK_MAKE_VERSION(21, 99, 99),
0); 0);