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

[d3d9] Always assume RADV has fast mulz support

All supported Mesa version support this.
This commit is contained in:
Philip Rebohle 2022-07-14 20:30:39 +02:00
parent 81b89cf31d
commit 223a4fd186
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -91,9 +91,7 @@ namespace dxvk {
d3d9FloatEmulation = D3D9FloatEmulation::Enabled;
} else {
bool hasMulz = adapter != nullptr
&& adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV,
VK_MAKE_VERSION(21, 99, 99),
0);
&& adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV, 0, 0);
d3d9FloatEmulation = hasMulz ? D3D9FloatEmulation::Strict : D3D9FloatEmulation::Enabled;
}
}