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);
|
|
|
|
|
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;
|
2019-01-08 20:58:18 +01:00
|
|
|
|
|
|
|
/// Shader-related options
|
|
|
|
Tristate useRawSsbo;
|
|
|
|
Tristate useEarlyDiscard;
|
2018-08-07 16:42:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|