summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-16 04:41:20 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-16 04:41:20 +0000
commit079680f868c1ec09013e62efde42fdd95cc1347c (patch)
tree33c64b3199fe400fb0f59183e48cf5c5e35fbf00 /Graphics/GraphicsEngine
parentFixed Linux/Mac build error (diff)
downloadDiligentCore-079680f868c1ec09013e62efde42fdd95cc1347c.tar.gz
DiligentCore-079680f868c1ec09013e62efde42fdd95cc1347c.zip
Fixed issue with FenceVkImpl not waiting for Vulkan fences to signal when being destroyed, which causes Vulkan validation errors.
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Fence.h5
1 files changed, 4 insertions, 1 deletions
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: