diff options
| author | Yong He <yonghe@outlook.com> | 2022-03-11 11:57:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 11:57:53 -0800 |
| commit | 0890fd8f2e485bfdd93ff6227be08ff4142e55d1 (patch) | |
| tree | be8d2381d0f0e96b267428046dcad815fcafd245 /tools/gfx/debug-layer.cpp | |
| parent | f6c2a0f81340a0efd10e286a3cbe33e1b564a11b (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.cpp')
| -rw-r--r-- | tools/gfx/debug-layer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp index 341f0034a..414434da6 100644 --- a/tools/gfx/debug-layer.cpp +++ b/tools/gfx/debug-layer.cpp @@ -1619,6 +1619,12 @@ Result DebugTransientResourceHeap::synchronizeAndReset() return baseObject->synchronizeAndReset(); } +Result DebugTransientResourceHeap::finish() +{ + SLANG_GFX_API_FUNC; + return baseObject->finish(); +} + Result DebugTransientResourceHeap::createCommandBuffer(ICommandBuffer** outCommandBuffer) { SLANG_GFX_API_FUNC; |
