summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-02-10 13:59:53 -0800
committerGitHub <noreply@github.com>2022-02-10 13:59:53 -0800
commit1c030cdb964979bb0837a297749236a541cc80fa (patch)
treecea2c36aecf2805e139e07fc14b9c945de6772d1 /tools/gfx/debug-layer.h
parent120f97fb8d4e22b057cea43b503611f8292ade37 (diff)
gfx: Add `resolveQuery` command. (#2125)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.h')
-rw-r--r--tools/gfx/debug-layer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h
index cb894dfd4..567a399fe 100644
--- a/tools/gfx/debug-layer.h
+++ b/tools/gfx/debug-layer.h
@@ -490,6 +490,13 @@ public:
ResourceState src,
ResourceState dst) override;
+ virtual SLANG_NO_THROW void SLANG_MCALL resolveQuery(
+ IQueryPool* queryPool,
+ uint32_t index,
+ uint32_t count,
+ IBufferResource* buffer,
+ uint64_t offset) override;
+
public:
DebugCommandBuffer* commandBuffer;
bool isOpen = false;