summaryrefslogtreecommitdiff
path: root/tools/gfx/renderer-shared.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-12-07 13:45:49 -0800
committerGitHub <noreply@github.com>2021-12-07 13:45:49 -0800
commit90d8af888b40c83b33f9f0c037bd2ab8c19a35f4 (patch)
tree21ada472ea0d768352f46da7db64f9dc449d1209 /tools/gfx/renderer-shared.h
parent646eecc6af878ea7682c814c15b4e838c3231ee3 (diff)
gfx: D3D12 and VK Fence implementation. (#2048)
* gfx: D3D12 and VK Fence implementation. * Fix. * Update project files. * Revert project file changes. * Remove project files Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/renderer-shared.h')
-rw-r--r--tools/gfx/renderer-shared.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h
index 1d5d1860e..e7ea1b7f5 100644
--- a/tools/gfx/renderer-shared.h
+++ b/tools/gfx/renderer-shared.h
@@ -185,6 +185,13 @@ void returnRefPtrMove(TDest** outPtr, Slang::RefPtr<TImpl>& refPtr)
gfx::StageType translateStage(SlangStage slangStage);
+class FenceBase : public IFence, public Slang::ComObject
+{
+public:
+ SLANG_COM_OBJECT_IUNKNOWN_ALL
+ IFence* getInterface(const Slang::Guid& guid);
+};
+
class Resource : public Slang::ComObject
{
public: