mirror of https://github.com/doitsujin/dxvk
14 lines
659 B
C++
14 lines
659 B
C++
#include "dxvk_options.h"
|
|
|
|
namespace dxvk {
|
|
|
|
DxvkOptions::DxvkOptions(const Config& config) {
|
|
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
|
|
enableTransferQueue = config.getOption<bool> ("dxvk.enableTransferQueue", 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);
|
|
hud = config.getOption<std::string>("dxvk.hud", "");
|
|
}
|
|
|
|
} |