dxvk/src/dxvk/dxvk_options.cpp

11 lines
379 B
C++
Raw Normal View History

#include "dxvk_options.h"
namespace dxvk {
DxvkOptions::DxvkOptions(const Config& config) {
allowMemoryOvercommit = config.getOption<bool> ("dxvk.allowMemoryOvercommit", false);
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
numCompilerThreads = config.getOption<int32_t> ("dxvk.numCompilerThreads", 0);
}
}