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

[d3d11] Enable allowMapFlagNoWait by default

We still keep the option around so that in case of regressions,
users can check if disabling this option fixes their issue.
This commit is contained in:
Philip Rebohle 2019-09-19 20:51:05 +02:00
parent e9fcf64a8c
commit c9a0f06ff4
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 1 additions and 25 deletions

View File

@ -5,7 +5,7 @@
namespace dxvk {
D3D11Options::D3D11Options(const Config& config) {
this->allowMapFlagNoWait = config.getOption<bool>("d3d11.allowMapFlagNoWait", false);
this->allowMapFlagNoWait = config.getOption<bool>("d3d11.allowMapFlagNoWait", true);
this->dcSingleUseMode = config.getOption<bool>("d3d11.dcSingleUseMode", true);
this->strictDivision = config.getOption<bool>("d3d11.strictDivision", false);
this->constantBufferRangeCheck = config.getOption<bool>("d3d11.constantBufferRangeCheck", false);

View File

@ -12,18 +12,10 @@
namespace dxvk {
const static std::vector<std::pair<const char*, Config>> g_appDefaults = {{
/* Anno 1800 */
{ R"(\\Anno1800\.exe$)", {{
{ "d3d11.allowMapFlagNoWait", "True" }
}} },
/* Assassin's Creed Syndicate: amdags issues */
{ R"(\\ACS\.exe$)", {{
{ "dxgi.customVendorId", "10de" },
}} },
/* Dishonored 2 */
{ R"(\\Dishonored2\.exe$)", {{
{ "d3d11.allowMapFlagNoWait", "True" }
}} },
/* Dissidia Final Fantasy NT Free Edition */
{ R"(\\dffnt\.exe$)", {{
{ "dxgi.deferSurfaceCreation", "True" },
@ -53,10 +45,6 @@ namespace dxvk {
{ R"(\\FarCry4\.exe$)", {{
{ "dxgi.nvapiHack", "False" },
}} },
/* Far Cry 5: Avoid CPU <-> GPU sync */
{ R"(\\FarCry5\.exe$)", {{
{ "d3d11.allowMapFlagNoWait", "True" }
}} },
/* Far Cry Primal: Nvidia performance */
{ R"(\\FCPrimal\.exe$)", {{
{ "dxgi.nvapiHack", "False" },
@ -132,22 +120,10 @@ namespace dxvk {
{ R"(\\NieRAutomata\.exe$)", {{
{ "d3d11.constantBufferRangeCheck", "True" },
}} },
/* The Surge */
{ R"(\\TheSurge\.exe$)", {{
{ "d3d11.allowMapFlagNoWait", "True" },
}} },
/* SteamVR performance test */
{ R"(\\vr\.exe$)", {{
{ "d3d11.dcSingleUseMode", "False" },
}} },
/* Control */
{ R"(\\Control_DX11\.exe$)", {{
{ "d3d11.allowMapFlagNoWait", "True" }
}} },
/* Warhammer 2 */
{ R"(\\Warhammer2\.exe$)", {{
{ "d3d11.allowMapFlagNoWait", "True" }
}} },
}};