diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 03:48:51 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 03:48:51 +0000 |
| commit | 6d5c5cb89cc19f7391aed81270a9f63240fe9b9c (patch) | |
| tree | a9ffaefdc0dc06e574b70841ada10ec150c01396 /Graphics/GraphicsEngine | |
| parent | Vk backend: few minor updates (diff) | |
| download | DiligentCore-6d5c5cb89cc19f7391aed81270a9f63240fe9b9c.tar.gz DiligentCore-6d5c5cb89cc19f7391aed81270a9f63240fe9b9c.zip | |
Fixed mipmap generation in D3D12 backend; added EngineD3D12CreateInfo::EnableGPUBasedValidation member (API version 240037)
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; |
