1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[util] Move Far Cry 2 config to d3d9 section

This commit is contained in:
Blisto91 2024-10-14 17:02:01 +02:00 committed by Philip Rebohle
parent b707ca1309
commit 98fa338be0

View File

@ -71,14 +71,6 @@ namespace dxvk {
{ "d3d11.dcSingleUseMode", "False" },
{ "d3d11.cachedDynamicResources", "vi" },
}} },
/* Far Cry 2: Set vendor ID to Nvidia to avoid
* vegetation artifacts on Intel, and set
* apitrace mode to True to improve perf on all
* hardware. */
{ R"(\\(FarCry2|farcry2game)\.exe$)", {{
{ "d3d9.customVendorId", "10de" },
{ "d3d9.cachedDynamicBuffers", "True" },
}} },
/* Far Cry 3: Assumes clear(0.5) on an UNORM *
* format to result in 128 on AMD and 127 on *
* Nvidia. We assume that the Vulkan drivers *
@ -987,6 +979,14 @@ namespace dxvk {
{ R"(\\SecretWorldLegends\.exe$)", {{
{ "d3d9.memoryTrackTest", "True" },
}} },
/* Far Cry 2: Set vendor ID to Nvidia to *
* avoid vegetation artifacts on Intel, and *
* set apitrace mode to True to improve perf *
* on all hardware. */
{ R"(\\(FarCry2|farcry2game)\.exe$)", {{
{ "d3d9.customVendorId", "10de" },
{ "d3d9.cachedDynamicBuffers", "True" },
}} },
/**********************************************/
/* D3D8 GAMES */