diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2019-12-17 17:50:06 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2019-12-17 17:50:06 +0000 |
| commit | 82d456ffb4dde152d9ed6a5c2ffb63202e8441a7 (patch) | |
| tree | b33ba9e12addc503dee3aafc7c2d436b99bdee63 /Graphics/GraphicsEngineVulkan | |
| parent | Enabled draw command reference in Vulkan (diff) | |
| download | DiligentCore-82d456ffb4dde152d9ed6a5c2ffb63202e8441a7.tar.gz DiligentCore-82d456ffb4dde152d9ed6a5c2ffb63202e8441a7.zip | |
Fixed Core API test crash on the server by dynamically loading vulkan entry points
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h | 3 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h b/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h index 8fd3c38a..e490f368 100644 --- a/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h +++ b/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h @@ -94,6 +94,9 @@ public: /// Implementation of IRenderDeviceVk::GetVkPhysicalDevice(). virtual VkPhysicalDevice GetVkPhysicalDevice() override final { return m_PhysicalDevice->GetVkDeviceHandle(); } + /// Implementation of IRenderDeviceVk::GetVkInstance(). + virtual VkInstance GetVkInstance() override final { return m_VulkanInstance->GetVkInstance(); } + /// Implementation of IRenderDeviceVk::CreateTextureFromVulkanImage(). virtual void CreateTextureFromVulkanImage(VkImage vkImage, const TextureDesc& TexDesc, RESOURCE_STATE InitialState, ITexture** ppTexture) override final; diff --git a/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h b/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h index bf216af3..1d60316a 100644 --- a/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h +++ b/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h @@ -45,6 +45,9 @@ public: /// Returns physical Vulkan device virtual VkPhysicalDevice GetVkPhysicalDevice() = 0; + /// Returns Vulkan instance + virtual VkInstance GetVkInstance() = 0; + /// Returns the fence value that will be signaled by the GPU command queue next virtual Uint64 GetNextFenceValue(Uint32 QueueIndex) = 0; |
