From a85347704ba95234da16298f28ba2b431c4f569c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 8 Sep 2019 18:04:58 -0700 Subject: Added IRenderDevice::IdleGPU() method (updated API version to 240029) --- Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h b/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h index c4cd3210..7eba6222 100644 --- a/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h +++ b/Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h @@ -89,7 +89,8 @@ public: virtual void CreateBufferFromVulkanResource(VkBuffer vkBuffer, const BufferDesc& BuffDesc, RESOURCE_STATE InitialState, IBuffer** ppBuffer)override final; // Idles the GPU - void IdleGPU(); + virtual void IdleGPU()override final; + // pImmediateCtx parameter is only used to make sure the command buffer is submitted from the immediate context // The method returns fence value associated with the submitted command buffer Uint64 ExecuteCommandBuffer(Uint32 QueueIndex, const VkSubmitInfo &SubmitInfo, class DeviceContextVkImpl* pImmediateCtx, std::vector > >* pSignalFences); -- cgit v1.2.3