From e993ff5f8d21d77dd3fb579f7afc51c6dcad834c Mon Sep 17 00:00:00 2001 From: lucy96chen <47800040+lucy96chen@users.noreply.github.com> Date: Fri, 18 Feb 2022 22:17:13 -0800 Subject: Added implementations for IFence::getSharedHandle() for Vulkan and D3D12 (#2137) Co-authored-by: Yong He --- tools/gfx/renderer-shared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gfx/renderer-shared.h') diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h index 5afc77027..8fc74158c 100644 --- a/tools/gfx/renderer-shared.h +++ b/tools/gfx/renderer-shared.h @@ -192,6 +192,8 @@ class FenceBase : public IFence, public Slang::ComObject public: SLANG_COM_OBJECT_IUNKNOWN_ALL IFence* getInterface(const Slang::Guid& guid); +protected: + InteropHandle sharedHandle = {}; }; class Resource : public Slang::ComObject -- cgit v1.2.3