1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +01:00
OpenDX/src/dxvk/dxvk_options.h
Philip Rebohle b76f470c5f
[dxvk] Remove dxvk.allowMemoryOvercommit option
The default behaviour is now to allow overallocation by default,
which makes sense especially when VK_EXT_memory_priority is used.

Does not seem to affect Nvidia drivers.
2019-01-30 13:52:43 +01:00

23 lines
404 B
C++

#pragma once
#include "../util/config/config.h"
namespace dxvk {
struct DxvkOptions {
DxvkOptions() { }
DxvkOptions(const Config& config);
/// Enable state cache
bool enableStateCache;
/// Number of compiler threads
/// when using the state cache
int32_t numCompilerThreads;
/// Shader-related options
Tristate useRawSsbo;
Tristate useEarlyDiscard;
};
}