From 98fa338be07ca075553656d1be384d4b1188c91c Mon Sep 17 00:00:00 2001 From: Blisto91 Date: Mon, 14 Oct 2024 17:02:01 +0200 Subject: [PATCH] [util] Move Far Cry 2 config to d3d9 section --- src/util/config/config.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 71bdecb7c..49f029fa6 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -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 */