1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[util] Far Cry 2: Set VendorId to Nvidia, enable apitraceMode (#3241)

This commit is contained in:
TacoDeBoss 2023-02-07 05:14:48 -06:00 committed by GitHub
parent 2263dcad95
commit caf31033d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,14 @@ 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.apitraceMode", "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 *