From 549bd86f03d1f80d16264199d65f8822671503c9 Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Sat, 5 Aug 2023 11:36:27 +0200 Subject: [PATCH] [d3d9] use strict float emulation for nvk nvk supports nir_op_fmulz/ffmaz --- src/d3d9/d3d9_options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_options.cpp b/src/d3d9/d3d9_options.cpp index d8d7734e..190ca29b 100644 --- a/src/d3d9/d3d9_options.cpp +++ b/src/d3d9/d3d9_options.cpp @@ -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; }