mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
The default behaviour is now to allow overallocation by default, which makes sense especially when VK_EXT_memory_priority is used. Does not seem to affect Nvidia drivers.
12 lines
491 B
C++
12 lines
491 B
C++
#include "dxvk_options.h"
|
|
|
|
namespace dxvk {
|
|
|
|
DxvkOptions::DxvkOptions(const Config& config) {
|
|
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
|
|
numCompilerThreads = config.getOption<int32_t> ("dxvk.numCompilerThreads", 0);
|
|
useRawSsbo = config.getOption<Tristate>("dxvk.useRawSsbo", Tristate::Auto);
|
|
useEarlyDiscard = config.getOption<Tristate>("dxvk.useEarlyDiscard", Tristate::Auto);
|
|
}
|
|
|
|
} |