diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-09-09 01:04:58 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-09-09 01:04:58 +0000 |
| commit | a85347704ba95234da16298f28ba2b431c4f569c (patch) | |
| tree | e1ca567d87bd81106731c4b97fa511b55db770af /Graphics/GraphicsEngineVulkan | |
| parent | Added IDeviceContext::WaitForIdle() method (updated API version to 240028) (diff) | |
| download | DiligentCore-a85347704ba95234da16298f28ba2b431c4f569c.tar.gz DiligentCore-a85347704ba95234da16298f28ba2b431c4f569c.zip | |
Added IRenderDevice::IdleGPU() method (updated API version to 240029)
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/RenderDeviceVkImpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<std::pair<Uint64, RefCntAutoPtr<IFence> > >* pSignalFences); |
