[d3d9] use strict float emulation for nvk

nvk supports nir_op_fmulz/ffmaz
This commit is contained in:
Georg Lehmann 2023-08-05 11:36:27 +02:00 committed by Joshie
parent b0b46fd075
commit 549bd86f03
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ namespace dxvk {
d3d9FloatEmulation = D3D9FloatEmulation::Enabled;
} else {
bool hasMulz = adapter != nullptr
&& adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV, 0, 0);
&& (adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV, 0, 0)
|| adapter->matchesDriver(VK_DRIVER_ID_MESA_NVK, 0, 0));
d3d9FloatEmulation = hasMulz ? D3D9FloatEmulation::Strict : D3D9FloatEmulation::Enabled;
}