Skip to content

Commit

Permalink
[d3d9] Default to Strict floatEmulation for amdvlk 2024.Q3.1
Browse files Browse the repository at this point in the history
The AMD Linux open source driver now optimizes for the Strict floatEmulation path.
  • Loading branch information
Blisto91 authored Aug 13, 2024
1 parent 0d0b9ea commit 9ac3240
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/d3d9/d3d9_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

}
}

0 comments on commit 9ac3240

Please sign in to comment.