mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01: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:
parent
e9fcf64a8c
commit
c9a0f06ff4
@ -5,7 +5,7 @@
|
|||||||
namespace dxvk {
|
namespace dxvk {
|
||||||
|
|
||||||
D3D11Options::D3D11Options(const Config& config) {
|
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->dcSingleUseMode = config.getOption<bool>("d3d11.dcSingleUseMode", true);
|
||||||
this->strictDivision = config.getOption<bool>("d3d11.strictDivision", false);
|
this->strictDivision = config.getOption<bool>("d3d11.strictDivision", false);
|
||||||
this->constantBufferRangeCheck = config.getOption<bool>("d3d11.constantBufferRangeCheck", false);
|
this->constantBufferRangeCheck = config.getOption<bool>("d3d11.constantBufferRangeCheck", false);
|
||||||
|
@ -12,18 +12,10 @@
|
|||||||
namespace dxvk {
|
namespace dxvk {
|
||||||
|
|
||||||
const static std::vector<std::pair<const char*, Config>> g_appDefaults = {{
|
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 */
|
/* Assassin's Creed Syndicate: amdags issues */
|
||||||
{ R"(\\ACS\.exe$)", {{
|
{ R"(\\ACS\.exe$)", {{
|
||||||
{ "dxgi.customVendorId", "10de" },
|
{ "dxgi.customVendorId", "10de" },
|
||||||
}} },
|
}} },
|
||||||
/* Dishonored 2 */
|
|
||||||
{ R"(\\Dishonored2\.exe$)", {{
|
|
||||||
{ "d3d11.allowMapFlagNoWait", "True" }
|
|
||||||
}} },
|
|
||||||
/* Dissidia Final Fantasy NT Free Edition */
|
/* Dissidia Final Fantasy NT Free Edition */
|
||||||
{ R"(\\dffnt\.exe$)", {{
|
{ R"(\\dffnt\.exe$)", {{
|
||||||
{ "dxgi.deferSurfaceCreation", "True" },
|
{ "dxgi.deferSurfaceCreation", "True" },
|
||||||
@ -53,10 +45,6 @@ namespace dxvk {
|
|||||||
{ R"(\\FarCry4\.exe$)", {{
|
{ R"(\\FarCry4\.exe$)", {{
|
||||||
{ "dxgi.nvapiHack", "False" },
|
{ "dxgi.nvapiHack", "False" },
|
||||||
}} },
|
}} },
|
||||||
/* Far Cry 5: Avoid CPU <-> GPU sync */
|
|
||||||
{ R"(\\FarCry5\.exe$)", {{
|
|
||||||
{ "d3d11.allowMapFlagNoWait", "True" }
|
|
||||||
}} },
|
|
||||||
/* Far Cry Primal: Nvidia performance */
|
/* Far Cry Primal: Nvidia performance */
|
||||||
{ R"(\\FCPrimal\.exe$)", {{
|
{ R"(\\FCPrimal\.exe$)", {{
|
||||||
{ "dxgi.nvapiHack", "False" },
|
{ "dxgi.nvapiHack", "False" },
|
||||||
@ -132,22 +120,10 @@ namespace dxvk {
|
|||||||
{ R"(\\NieRAutomata\.exe$)", {{
|
{ R"(\\NieRAutomata\.exe$)", {{
|
||||||
{ "d3d11.constantBufferRangeCheck", "True" },
|
{ "d3d11.constantBufferRangeCheck", "True" },
|
||||||
}} },
|
}} },
|
||||||
/* The Surge */
|
|
||||||
{ R"(\\TheSurge\.exe$)", {{
|
|
||||||
{ "d3d11.allowMapFlagNoWait", "True" },
|
|
||||||
}} },
|
|
||||||
/* SteamVR performance test */
|
/* SteamVR performance test */
|
||||||
{ R"(\\vr\.exe$)", {{
|
{ R"(\\vr\.exe$)", {{
|
||||||
{ "d3d11.dcSingleUseMode", "False" },
|
{ "d3d11.dcSingleUseMode", "False" },
|
||||||
}} },
|
}} },
|
||||||
/* Control */
|
|
||||||
{ R"(\\Control_DX11\.exe$)", {{
|
|
||||||
{ "d3d11.allowMapFlagNoWait", "True" }
|
|
||||||
}} },
|
|
||||||
/* Warhammer 2 */
|
|
||||||
{ R"(\\Warhammer2\.exe$)", {{
|
|
||||||
{ "d3d11.allowMapFlagNoWait", "True" }
|
|
||||||
}} },
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user