mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 22:54:16 +01:00
[d3d11] Add config option to disable Nvidia Reflex integration
This commit is contained in:
parent
f285bfaf39
commit
ee70e07275
@ -312,6 +312,14 @@
|
||||
# d3d11.enableContextLock = False
|
||||
|
||||
|
||||
# Enables Nvidia Reflex interop through dxvk-nvapi in supported games.
|
||||
# This feature is considered experimental and thus disabled by default.
|
||||
#
|
||||
# Supported values: True, False
|
||||
|
||||
# d3d11.enableReflex = False
|
||||
|
||||
|
||||
# Exposes or hides support for driver command lists
|
||||
#
|
||||
# Some games use the feature flag to decide whether to use deferred
|
||||
|
@ -27,6 +27,7 @@ namespace dxvk {
|
||||
this->forceSampleRateShading = config.getOption<bool>("d3d11.forceSampleRateShading", false);
|
||||
this->disableMsaa = config.getOption<bool>("d3d11.disableMsaa", false);
|
||||
this->enableContextLock = config.getOption<bool>("d3d11.enableContextLock", false);
|
||||
this->enableReflex = config.getOption<bool>("d3d11.enableReflex", false);
|
||||
this->deferSurfaceCreation = config.getOption<bool>("dxgi.deferSurfaceCreation", false);
|
||||
this->maxFrameLatency = config.getOption<int32_t>("dxgi.maxFrameLatency", 0);
|
||||
this->exposeDriverCommandLists = config.getOption<bool>("d3d11.exposeDriverCommandLists", true);
|
||||
|
@ -100,6 +100,9 @@ namespace dxvk {
|
||||
/// race conditions.
|
||||
bool enableContextLock = false;
|
||||
|
||||
/// Enable or disable Nvidia Reflex interop.
|
||||
bool enableReflex = false;
|
||||
|
||||
/// Whether to expose the driver command list feature. Enabled by
|
||||
/// default and generally beneficial, but some games may assume that
|
||||
/// this is not supported when running on an AMD GPU.
|
||||
|
Loading…
x
Reference in New Issue
Block a user