mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 22:54:16 +01:00
[d3d9] use strict float emulation for nvk
nvk supports nir_op_fmulz/ffmaz
This commit is contained in:
parent
b0b46fd075
commit
549bd86f03
@ -89,7 +89,8 @@ namespace dxvk {
|
|||||||
d3d9FloatEmulation = D3D9FloatEmulation::Enabled;
|
d3d9FloatEmulation = D3D9FloatEmulation::Enabled;
|
||||||
} else {
|
} else {
|
||||||
bool hasMulz = adapter != nullptr
|
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;
|
d3d9FloatEmulation = hasMulz ? D3D9FloatEmulation::Strict : D3D9FloatEmulation::Enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user