mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
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.
23 lines
404 B
C++
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;
|
|
};
|
|
|
|
} |