summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-03-11 11:57:53 -0800
committerGitHub <noreply@github.com>2022-03-11 11:57:53 -0800
commit0890fd8f2e485bfdd93ff6227be08ff4142e55d1 (patch)
treebe8d2381d0f0e96b267428046dcad815fcafd245 /tools/gfx/debug-layer.h
parentf6c2a0f81340a0efd10e286a3cbe33e1b564a11b (diff)
gfx: Add `ITransientResourceHeap::finish()` to avoid `Signal` after every queue submit. (#2158)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.h')
-rw-r--r--tools/gfx/debug-layer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h
index 84ae33c2a..de8ccfe8e 100644
--- a/tools/gfx/debug-layer.h
+++ b/tools/gfx/debug-layer.h
@@ -724,6 +724,7 @@ public:
public:
ITransientResourceHeap* getInterface(const Slang::Guid& guid);
virtual SLANG_NO_THROW Result SLANG_MCALL synchronizeAndReset() override;
+ virtual SLANG_NO_THROW Result SLANG_MCALL finish() override;
virtual SLANG_NO_THROW Result SLANG_MCALL
createCommandBuffer(ICommandBuffer** outCommandBuffer) override;
};