From 0e68bbb65f21e1d58ba3e74d1b8efb5912bd7a01 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Tue, 25 Aug 2020 04:50:33 +0300 Subject: added AdapterId to Vulkan backend --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Graphics/GraphicsEngine') 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); -- cgit v1.2.3