summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-28 05:13:26 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-28 05:13:26 +0000
commit9ead3562fb06c14098b7885cc7c736ea4bbc292c (patch)
treef1518a3383204ea2d72f6cb3e372dacdbff553a2 /Graphics/GraphicsEngine
parentFixed minor issue with draw command test (diff)
downloadDiligentCore-9ead3562fb06c14098b7885cc7c736ea4bbc292c.tar.gz
DiligentCore-9ead3562fb06c14098b7885cc7c736ea4bbc292c.zip
Added AdapterType member to DeviceCaps struct (API Version 240048)
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/APIInfo.h2
-rw-r--r--Graphics/GraphicsEngine/interface/DeviceCaps.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h
index b61f8255..af49cb4c 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 240047
+#define DILIGENT_API_VERSION 240048
#include "../../../Primitives/interface/BasicTypes.h"
diff --git a/Graphics/GraphicsEngine/interface/DeviceCaps.h b/Graphics/GraphicsEngine/interface/DeviceCaps.h
index 1d26afdd..ebee2167 100644
--- a/Graphics/GraphicsEngine/interface/DeviceCaps.h
+++ b/Graphics/GraphicsEngine/interface/DeviceCaps.h
@@ -95,6 +95,9 @@ namespace Diligent
/// Similar to MajorVersion, this value indicates the maximum supported feature level.
Int32 MinorVersion = 0;
+ /// Adapter type. See Diligent::ADAPTER_TYPE.
+ ADAPTER_TYPE AdaterType = ADAPTER_TYPE_UNKNOWN;
+
/// Indicates if device supports separable programs
Bool bSeparableProgramSupported = True;