From 079680f868c1ec09013e62efde42fdd95cc1347c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 15 Apr 2019 21:41:20 -0700 Subject: Fixed issue with FenceVkImpl not waiting for Vulkan fences to signal when being destroyed, which causes Vulkan validation errors. --- Graphics/GraphicsEngine/interface/Fence.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/Fence.h b/Graphics/GraphicsEngine/interface/Fence.h index d2a27473..ef27e5df 100644 --- a/Graphics/GraphicsEngine/interface/Fence.h +++ b/Graphics/GraphicsEngine/interface/Fence.h @@ -43,7 +43,10 @@ struct FenceDesc : DeviceObjectAttribs /// Fence interface -/// Fence the methods to manipulate a fence object +/// Defines the methods to manipulate a fence object +/// +/// \remarks When a fence that was previously signaled by IDeviceContext::SignalFence() is destroyed, +/// it may block the GPU until all prior commands have completed execution. class IFence : public IDeviceObject { public: -- cgit v1.2.3