1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 19:24:11 +01:00

[utils] Report Nvidia GPUs for Far Cry 3 and Far Cry 4

Both games make assumptions about the exact clear value for UNORM
render targets, which is incorrect on most Vulkan drivers.
This commit is contained in:
Philip Rebohle 2019-02-18 18:02:39 +01:00
parent be22756d2a
commit d9931e3621
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -37,10 +37,28 @@ namespace dxvk {
{ "EvilWithinDemo.exe", {{ { "EvilWithinDemo.exe", {{
{ "d3d11.dcSingleUseMode", "False" }, { "d3d11.dcSingleUseMode", "False" },
}} }, }} },
/* Far Cry 5 */ /* Far Cry 3: Assumes clear(0.5) on an UNORM *
* format to result in 128 on AMD and 127 on *
* Nvidia. Most Vulkan drivers clear to 127, *
* assuming higher values causes artifacts. */
{ "farcry3_d3d11.exe", {{
{ "dxgi.customVendorId", "10de" },
}} },
{ "fc3_blooddragon_d3d11.exe", {{
{ "dxgi.customVendorId", "10de" },
}} },
/* Far Cry 4: Same as Far Cry 3 */
{ "FarCry4.exe", {{
{ "dxgi.customVendorId", "10de" },
}} },
/* Far Cry 5: Avoid CPU <-> GPU sync */
{ "FarCry5.exe", {{ { "FarCry5.exe", {{
{ "d3d11.allowMapFlagNoWait", "True" } { "d3d11.allowMapFlagNoWait", "True" }
}} }, }} },
/* Far Cry Primal: Nvidia performance */
{ "FCPrimal.exe", {{
{ "dxgi.nvapiHack", "False" },
} }},
/* Frostpunk: Renders one frame with D3D9 * /* Frostpunk: Renders one frame with D3D9 *
* after creating the DXGI swap chain */ * after creating the DXGI swap chain */
{ "Frostpunk.exe", {{ { "Frostpunk.exe", {{
@ -88,14 +106,6 @@ namespace dxvk {
{ "MassEffectAndromeda.exe", {{ { "MassEffectAndromeda.exe", {{
{ "dxgi.nvapiHack", "False" }, { "dxgi.nvapiHack", "False" },
}} }, }} },
/* Far Cry 4 */
{ "FarCry4.exe", {{
{ "dxgi.nvapiHack", "False" },
}} },
/* Far Cry Primal */
{ "FCPrimal.exe", {{
{ "dxgi.nvapiHack", "False" },
}} },
}}; }};