2018-08-07 16:42:21 +02:00
|
|
|
#include "dxvk_options.h"
|
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
|
|
|
DxvkOptions::DxvkOptions(const Config& config) {
|
2018-11-24 20:04:21 +01:00
|
|
|
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
|
2019-06-28 04:24:26 +02:00
|
|
|
enableTransferQueue = config.getOption<bool> ("dxvk.enableTransferQueue", true);
|
2018-11-15 09:24:11 +01:00
|
|
|
numCompilerThreads = config.getOption<int32_t> ("dxvk.numCompilerThreads", 0);
|
2019-01-08 20:58:18 +01:00
|
|
|
useRawSsbo = config.getOption<Tristate>("dxvk.useRawSsbo", Tristate::Auto);
|
|
|
|
useEarlyDiscard = config.getOption<Tristate>("dxvk.useEarlyDiscard", Tristate::Auto);
|
2018-08-07 16:42:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|