From 2ba433bbd80fdb9d5b6cdb7411112a22883a7a1e Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Mon, 22 Mar 2021 14:08:13 +0100 Subject: [PATCH] [d3d9+util] Remove option to disable implicit discard --- src/d3d9/d3d9_options.cpp | 1 - src/d3d9/d3d9_options.h | 4 ---- src/util/config/config.cpp | 1 - 3 files changed, 6 deletions(-) diff --git a/src/d3d9/d3d9_options.cpp b/src/d3d9/d3d9_options.cpp index 2af05717..fa2564c2 100644 --- a/src/d3d9/d3d9_options.cpp +++ b/src/d3d9/d3d9_options.cpp @@ -74,7 +74,6 @@ namespace dxvk { this->alphaTestWiggleRoom = config.getOption ("d3d9.alphaTestWiggleRoom", false); this->apitraceMode = config.getOption ("d3d9.apitraceMode", false); this->deviceLocalConstantBuffers = config.getOption ("d3d9.deviceLocalConstantBuffers", false); - this->allowImplicitDiscard = config.getOption ("d3d9.allowImplicitDiscard", true); // If we are not Nvidia, enable general hazards. this->generalHazards = adapter != nullptr diff --git a/src/d3d9/d3d9_options.h b/src/d3d9/d3d9_options.h index df271a11..87e1e0ec 100644 --- a/src/d3d9/d3d9_options.h +++ b/src/d3d9/d3d9_options.h @@ -152,10 +152,6 @@ namespace dxvk { /// Use device local memory for constant buffers. bool deviceLocalConstantBuffers; - - /// Allow implicit discard of resources in contested situations. - /// Some naughty apps write to pointers outside of lock boundaries. - bool allowImplicitDiscard; }; } \ No newline at end of file diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index bba6929f..ce0a349f 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -395,7 +395,6 @@ namespace dxvk { }} }, /* Warhammer: Online */ { R"(\\WAR(-64)?\.exe$)", {{ - { "d3d9.allowImplicitDiscard", "False" }, { "d3d9.customVendorId", "1002" }, }} }, /* Dragon Nest */