1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-21 04:54:15 +01:00

[d3d9,d3d11] Remove numBackBuffers option

Useless.
This commit is contained in:
Philip Rebohle 2025-01-13 23:56:37 +01:00 committed by Philip Rebohle
parent cb42ea21be
commit 0f9245ff33
5 changed files with 3 additions and 22 deletions

View File

@ -140,15 +140,6 @@
# dxgi.maxSharedMemory = 0
# Override back buffer count for the Vulkan swap chain.
# Setting this to 0 or less will have no effect.
#
# Supported values: Any number greater than or equal to 2.
# dxgi.numBackBuffers = 0
# d3d9.numBackBuffers = 0
# Overrides synchronization interval (Vsync) for presentation.
# Setting this to 0 disables vertical synchronization entirely.
# A positive value 'n' will enable Vsync and repeat the same
@ -160,10 +151,10 @@
# d3d9.presentInterval = -1
# Controls tearing behaviour with regards to in-game Vsync settings.
#
# True enables the mailbox present mode in case regular Vsync is disabled.
# This should avoid tearing, but may be unsupported on some systems
# or require setting dxgi.numBackBuffers to a higher value in order
# to work properly.
# This eliminates tearing, but may be unsupported on some systems.
#
# False enables the relaxed fifo present mode in case regular Vsync is enabled.
# This should result in tearing but reduce stutter if FPS are too low,

View File

@ -28,7 +28,6 @@ namespace dxvk {
this->disableMsaa = config.getOption<bool>("d3d11.disableMsaa", false);
this->enableContextLock = config.getOption<bool>("d3d11.enableContextLock", false);
this->deferSurfaceCreation = config.getOption<bool>("dxgi.deferSurfaceCreation", false);
this->numBackBuffers = config.getOption<int32_t>("dxgi.numBackBuffers", 0);
this->maxFrameLatency = config.getOption<int32_t>("dxgi.maxFrameLatency", 0);
this->exposeDriverCommandLists = config.getOption<bool>("d3d11.exposeDriverCommandLists", true);
this->reproducibleCommandStream = config.getOption<bool>("d3d11.reproducibleCommandStream", false);

View File

@ -72,10 +72,6 @@ namespace dxvk {
/// Enable float control bits
bool floatControls = true;
/// Back buffer count for the Vulkan swap chain.
/// Overrides DXGI_SWAP_CHAIN_DESC::BufferCount.
int32_t numBackBuffers = 0;
/// Override maximum frame latency if the app specifies
/// a higher value. May help with frame timing issues.
int32_t maxFrameLatency = 0;

View File

@ -49,7 +49,6 @@ namespace dxvk {
this->strictConstantCopies = config.getOption<bool> ("d3d9.strictConstantCopies", false);
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->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

@ -50,10 +50,6 @@ namespace dxvk {
/// Whether or not to do a fast path clear if we're close enough to the whole render target.
bool lenientClear;
/// Back buffer count for the Vulkan swap chain.
/// Overrides buffer count in present parameters.
int32_t numBackBuffers;
/// Defer surface creation
bool deferSurfaceCreation;