2018-08-07 16:42:21 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../util/config/config.h"
|
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
|
|
|
struct DxvkOptions {
|
2018-11-20 15:50:01 +01:00
|
|
|
DxvkOptions() { }
|
2018-08-07 16:42:21 +02:00
|
|
|
DxvkOptions(const Config& config);
|
|
|
|
|
|
|
|
/// Allow allocating more memory from
|
|
|
|
/// a heap than the device supports.
|
|
|
|
bool allowMemoryOvercommit;
|
2018-11-15 09:24:11 +01:00
|
|
|
|
2018-11-24 20:04:21 +01:00
|
|
|
/// Enable state cache
|
|
|
|
bool enableStateCache;
|
|
|
|
|
2018-11-15 09:24:11 +01:00
|
|
|
/// Number of compiler threads
|
|
|
|
/// when using the state cache
|
|
|
|
int32_t numCompilerThreads;
|
2018-08-07 16:42:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|