2018-08-07 15:42:21 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../util/config/config.h"
|
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
|
|
|
struct DxvkOptions {
|
2018-11-20 14:50:01 +00:00
|
|
|
DxvkOptions() { }
|
2018-08-07 15:42:21 +01:00
|
|
|
DxvkOptions(const Config& config);
|
|
|
|
|
2022-08-31 20:11:53 +01:00
|
|
|
/// Enable debug utils
|
2022-02-01 10:49:01 +00:00
|
|
|
bool enableDebugUtils;
|
|
|
|
|
2018-11-24 19:04:21 +00:00
|
|
|
/// Enable state cache
|
|
|
|
bool enableStateCache;
|
|
|
|
|
2018-11-15 08:24:11 +00:00
|
|
|
/// Number of compiler threads
|
|
|
|
/// when using the state cache
|
|
|
|
int32_t numCompilerThreads;
|
2019-01-08 19:58:18 +00:00
|
|
|
|
2022-07-05 17:56:43 +01:00
|
|
|
/// Enable graphics pipeline library
|
|
|
|
Tristate enableGraphicsPipelineLibrary;
|
|
|
|
|
2022-08-09 03:54:42 +01:00
|
|
|
/// Enables pipeline lifetime tracking
|
|
|
|
Tristate trackPipelineLifetime;
|
|
|
|
|
2019-01-08 19:58:18 +00:00
|
|
|
/// Shader-related options
|
|
|
|
Tristate useRawSsbo;
|
2019-08-01 11:37:55 +01:00
|
|
|
|
2023-03-01 10:52:55 +00:00
|
|
|
/// Maximum memory chunk size in MiB
|
|
|
|
int32_t maxChunkSize;
|
|
|
|
|
2019-08-01 11:37:55 +01:00
|
|
|
/// HUD elements
|
|
|
|
std::string hud;
|
2018-08-07 15:42:21 +01:00
|
|
|
};
|
|
|
|
|
2021-03-03 08:40:19 +00:00
|
|
|
}
|