summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-10 04:11:46 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-10 04:11:46 +0000
commitb51574f9c870805ab3e8c6046cb9c9ada51d0145 (patch)
treee03389753d30c705d69fed2c2a7d4c62c84b2d89 /Graphics/GraphicsEngine
parentFixed a couple of gcc/clang build issues (diff)
downloadDiligentCore-b51574f9c870805ab3e8c6046cb9c9ada51d0145.tar.gz
DiligentCore-b51574f9c870805ab3e8c6046cb9c9ada51d0145.zip
Added EngineD3D12CreateInfo::BreakOnError and EngineD3D12CreateInfo::BreakOnCorruption members (API Version 240031)
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/APIInfo.h2
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h10
2 files changed, 10 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h
index 2f02c994..aae4bdaa 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 240030
+#define DILIGENT_API_VERSION 240031
#include "../../../Primitives/interface/BasicTypes.h"
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index fb5332b3..61b79064 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -1352,7 +1352,15 @@ namespace Diligent
Uint32 AdapterId = DefaultAdapterId;
/// Enable Direct3D12 debug layer.
- bool EnableDebugLayer = false;
+ bool EnableDebugLayer = false;
+
+ /// Whether to break execution when D3D12 debug layer detects an error.
+ /// This flag only has effect if EnableDebugLayer is true.
+ bool BreakOnError = false;
+
+ /// Whether to break execution when D3D12 debug layer detects a memory corruption.
+ /// This flag only has effect if EnableDebugLayer is true.
+ bool BreakOnCorruption = true;
/// Size of the CPU descriptor heap allocations for different heap types.
Uint32 CPUDescriptorHeapAllocationSize[4] =