diff options
| author | Yong He <yonghe@outlook.com> | 2022-02-10 13:59:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-10 13:59:53 -0800 |
| commit | 1c030cdb964979bb0837a297749236a541cc80fa (patch) | |
| tree | cea2c36aecf2805e139e07fc14b9c945de6772d1 /tools/gfx/debug-layer.cpp | |
| parent | 120f97fb8d4e22b057cea43b503611f8292ade37 (diff) | |
gfx: Add `resolveQuery` command. (#2125)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
| -rw-r--r-- | tools/gfx/debug-layer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp index eed6afdb0..7cc714e0d 100644 --- a/tools/gfx/debug-layer.cpp +++ b/tools/gfx/debug-layer.cpp @@ -1362,6 +1362,13 @@ void DebugResourceCommandEncoder::resolveResource( baseObject->resolveResource(getInnerObj(source), sourceState, sourceRange, getInnerObj(dest), destState, destRange); } +void DebugResourceCommandEncoder::resolveQuery( + IQueryPool* queryPool, uint32_t index, uint32_t count, IBufferResource* buffer, uint64_t offset) +{ + SLANG_GFX_API_FUNC; + baseObject->resolveQuery(getInnerObj(queryPool), index, count, buffer, offset); +} + void DebugResourceCommandEncoder::copyTextureToBuffer( IBufferResource* dst, size_t dstOffset, |
