From 8f27b8a0351b4c1403a79155bb0c37055263d779 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 26 Sep 2019 08:05:03 -0700 Subject: Added EngineD3D12CreateInfo::EnableDebugLayer (updated API Version to 240030) --- Graphics/GraphicsEngine/interface/APIInfo.h | 2 +- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h index 7d4ab626..2f02c994 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 240029 +#define DILIGENT_API_VERSION 240030 #include "../../../Primitives/interface/BasicTypes.h" diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 9904b5c0..fb5332b3 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1351,6 +1351,9 @@ namespace Diligent /// Id of the hardware adapter the engine should be initialized on Uint32 AdapterId = DefaultAdapterId; + /// Enable Direct3D12 debug layer. + bool EnableDebugLayer = false; + /// Size of the CPU descriptor heap allocations for different heap types. Uint32 CPUDescriptorHeapAllocationSize[4] = { @@ -1403,7 +1406,7 @@ namespace Diligent /// Attributes specific to Vulkan engine struct EngineVkCreateInfo : public EngineCreateInfo { - /// Enable validation layers. Validation is always enabled in Debug mode + /// Enable Vulkan validation layers. bool EnableValidation = false; /// Number of global Vulkan extensions -- cgit v1.2.3