diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/APIInfo.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h index 74e125ca..48b0dd60 100644 --- a/Graphics/GraphicsEngine/interface/APIInfo.h +++ b/Graphics/GraphicsEngine/interface/APIInfo.h @@ -26,7 +26,7 @@ /// \file /// Diligent API information -#define DILIGENT_API_VERSION 240036 +#define DILIGENT_API_VERSION 240037 #include "../../../Primitives/interface/BasicTypes.h" diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 11351eb6..7d75f8a1 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1380,6 +1380,12 @@ namespace Diligent /// Enable Direct3D12 debug layer. bool EnableDebugLayer = false; + /// Enable validation on the GPU timeline. + /// See https://docs.microsoft.com/en-us/windows/win32/direct3d12/using-d3d12-debug-layer-gpu-based-validation + /// This flag only has effect if EnableDebugLayer is true. + /// \note Enabling this option may slow things down a lot. + bool EnableGPUBasedValidation = false; + /// Whether to break execution when D3D12 debug layer detects an error. /// This flag only has effect if EnableDebugLayer is true. bool BreakOnError = false; |
