diff options
Diffstat (limited to '')
-rw-r--r-- | src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_options.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_options.h b/src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_options.h new file mode 100644 index 00000000..343cba0a --- /dev/null +++ b/src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_options.h @@ -0,0 +1,37 @@ +#pragma once + +#include "../util/config/config.h" + +namespace dxvk { + + struct DxvkOptions { + DxvkOptions() { } + DxvkOptions(const Config& config); + + /// Enable state cache + bool enableStateCache; + + /// Enables OpenVR loading + bool enableOpenVR; + + /// Enables OpenXR loading + bool enableOpenXR; + + /// Number of compiler threads + /// when using the state cache + int32_t numCompilerThreads; + + /// Shader-related options + Tristate useRawSsbo; + + /// Workaround for NVIDIA driver + /// bug 3114283. Cut usable HVV + /// (Host-Visible Vidmem) heap + /// in half to avoid crash + Tristate halveNvidiaHVVHeap; + + /// HUD elements + std::string hud; + }; + +} |