summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-08-25 01:50:33 +0000
committerazhirnov <zh1dron@gmail.com>2020-08-25 01:50:33 +0000
commit0e68bbb65f21e1d58ba3e74d1b8efb5912bd7a01 (patch)
tree41a085279b1c31803c22ce0bd25d00bb8aaf1549 /Graphics/GraphicsEngine
parentadded namespace to macros (diff)
downloadDiligentCore-0e68bbb65f21e1d58ba3e74d1b8efb5912bd7a01.tar.gz
DiligentCore-0e68bbb65f21e1d58ba3e74d1b8efb5912bd7a01.zip
added AdapterId to Vulkan backend
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index 7ae756eb..2cc6aa78 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -1703,6 +1703,9 @@ typedef struct VulkanDescriptorPoolSize VulkanDescriptorPoolSize;
/// Attributes specific to Vulkan engine
struct EngineVkCreateInfo DILIGENT_DERIVE(EngineCreateInfo)
+
+ /// Id of the hardware adapter the engine should be initialized on.
+ Uint32 AdapterId DEFAULT_INITIALIZER(DEFAULT_ADAPTER_ID);
/// Enable Vulkan validation layers.
bool EnableValidation DEFAULT_INITIALIZER(false);