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/renderer-shared.h | |
| 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/renderer-shared.h')
| -rw-r--r-- | tools/gfx/renderer-shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h index 24d51c87a..a9d9e19c4 100644 --- a/tools/gfx/renderer-shared.h +++ b/tools/gfx/renderer-shared.h @@ -1150,6 +1150,8 @@ public: return static_cast<ITransientResourceHeap*>(this); return nullptr; } + + virtual SLANG_NO_THROW Result SLANG_MCALL finish() override { return SLANG_OK; } }; class ShaderTableBase |
