VideoCommon: Add config fields for multithreading and validation layers

This commit is contained in:
Stenzek
2016-08-13 22:08:46 +10:00
parent 09638e714e
commit 5346078791
8 changed files with 37 additions and 0 deletions

View File

@ -143,6 +143,12 @@ struct VideoConfig final
bool bDumpTevStages;
bool bDumpTevTextureFetches;
// Enable API validation layers, currently only supported with Vulkan.
bool bEnableValidationLayer;
// Multithreaded submission, currently only supported with Vulkan.
bool bBackendMultithreading;
// Static config per API
// TODO: Move this out of VideoConfig
struct
@ -173,6 +179,7 @@ struct VideoConfig final
bool bSupportsSSAA;
bool bSupportsDepthClamp; // Needed by VertexShaderGen, so must stay in VideoCommon
bool bSupportsReversedDepthRange;
bool bSupportsMultithreading;
} backend_info;
// Utility