From 6308266a0f6e9cb495952cc4d283a859034615f9 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:50:27 +0200 Subject: [PATCH] [d3d9] Default to Strict floatEmulation for amdvlk 2024.Q3.1 The AMD Linux open source driver now optimizes for the Strict floatEmulation path. --- src/d3d9/d3d9_options.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/d3d9/d3d9_options.cpp b/src/d3d9/d3d9_options.cpp index dbc46a76..0f666a90 100644 --- a/src/d3d9/d3d9_options.cpp +++ b/src/d3d9/d3d9_options.cpp @@ -95,11 +95,12 @@ namespace dxvk { } else { bool hasMulz = adapter != nullptr && (adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV) - || adapter->matchesDriver(VK_DRIVER_ID_MESA_NVK)); + || adapter->matchesDriver(VK_DRIVER_ID_MESA_NVK) + || adapter->matchesDriver(VK_DRIVER_ID_AMD_OPEN_SOURCE, Version(2, 0, 316), Version())); d3d9FloatEmulation = hasMulz ? D3D9FloatEmulation::Strict : D3D9FloatEmulation::Enabled; } this->shaderDumpPath = env::getEnvVar("DXVK_SHADER_DUMP_PATH"); } -} \ No newline at end of file +}