[d3d9+util] Remove a bunch of redundant config options

This commit is contained in:
Robin Kertels 2023-05-06 01:38:08 +02:00 committed by Joshie
parent 5443a2f9f5
commit 96e22e7c67
3 changed files with 0 additions and 30 deletions

View File

@ -48,7 +48,6 @@ namespace dxvk {
this->strictPow = config.getOption<bool> ("d3d9.strictPow", true);
this->lenientClear = config.getOption<bool> ("d3d9.lenientClear", false);
this->numBackBuffers = config.getOption<int32_t> ("d3d9.numBackBuffers", 0);
this->noExplicitFrontBuffer = config.getOption<bool> ("d3d9.noExplicitFrontBuffer", false);
this->deferSurfaceCreation = config.getOption<bool> ("d3d9.deferSurfaceCreation", false);
this->samplerAnisotropy = config.getOption<int32_t> ("d3d9.samplerAnisotropy", -1);
this->maxAvailableMemory = config.getOption<int32_t> ("d3d9.maxAvailableMemory", 4096);

View File

@ -54,16 +54,6 @@ namespace dxvk {
/// Overrides buffer count in present parameters.
int32_t numBackBuffers;
/// Don't create an explicit front buffer in our own swapchain. The Vulkan swapchain is unaffected.
/// Some games don't handle front/backbuffer flipping very well because they don't always redraw
/// each frame completely, and rely on old pixel data from the previous frame to still be there.
/// When this option is set and a game only requests one backbuffer, there will be no flipping in
/// our own swapchain, so the game will always draw to the same buffer and can rely on old pixel
/// data to still be there after a Present call.
/// This means that D3D9SwapChainEx::GetFrontBufferData returns data from the backbuffer of the
/// previous frame, which is the same as the current backbuffer if only 1 backbuffer was requested.
bool noExplicitFrontBuffer;
/// Defer surface creation
bool deferSurfaceCreation;

View File

@ -466,10 +466,6 @@ namespace dxvk {
{ R"(\\ToEE(a)?\.exe$)", {{
{ "d3d9.allowDiscard", "False" },
}} },
/* ZUSI 3 - Aerosoft Edition */
{ R"(\\ZusiSim(\.64)?\.exe$)", {{
{ "d3d9.noExplicitFrontBuffer", "True" },
}} },
/* GTA IV (NVAPI) */
/* Also thinks we're always on Intel *
* and will report/use bad amounts of VRAM.
@ -546,10 +542,6 @@ namespace dxvk {
{ R"(\\SineMoraEX\.exe$)", {{
{ "d3d9.maxFrameRate", "60" },
}} },
/* Fantasy Grounds */
{ R"(\\FantasyGrounds\.exe$)", {{
{ "d3d9.noExplicitFrontBuffer", "True" },
}} },
/* Red Orchestra 2 */
{ R"(\\ROGame\.exe$)", {{
{ "d3d9.floatEmulation", "Strict" },
@ -590,17 +582,6 @@ namespace dxvk {
{ R"(\\limbo\.exe$)", {{
{ "d3d9.maxFrameRate", "60" },
}} },
/* Warhammer: Return of Reckoning Launcher
Forcing SM1 fixes a black window otherwise caused by
the lack of support for partial presentation */
{ R"(\\RoRLauncher\.exe$)", {{
{ "d3d9.shaderModel", "1" },
}} },
/* Halo CE SPV3 launcher
Same issue as Warhammer: RoR above */
{ R"(\\spv3\.exe$)", {{
{ "d3d9.shaderModel", "1" },
}} },
/* Escape from Tarkov launcher
Same issue as Warhammer: RoR above */
{ R"(\\BsgLauncher\.exe$)", {{