summaryrefslogtreecommitdiff
path: root/tools/gfx/debug-layer.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-01-10 13:30:41 -0800
committerGitHub <noreply@github.com>2022-01-10 13:30:41 -0800
commitad9abad220df96d2155f6825f158b7f6327b7ea8 (patch)
tree12b146961910c1b4aa6a68b3063ec3e68d2ce23d /tools/gfx/debug-layer.h
parent0ac19741937e007ebb45791f53d413d21055feda (diff)
Various fixes to gfx. (#2074)
* Various gfx fixes. * Fixup. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.h')
-rw-r--r--tools/gfx/debug-layer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h
index 5c8ba2115..83bcb736f 100644
--- a/tools/gfx/debug-layer.h
+++ b/tools/gfx/debug-layer.h
@@ -184,6 +184,10 @@ public:
virtual SLANG_NO_THROW Result SLANG_MCALL setDebugName(const char* name) override;
virtual SLANG_NO_THROW const char* SLANG_MCALL getDebugName() override;
+
+ virtual SLANG_NO_THROW Result SLANG_MCALL
+ map(MemoryRange* rangeToRead, void** outPointer) override;
+ virtual SLANG_NO_THROW Result SLANG_MCALL unmap(MemoryRange* writtenRange) override;
};
class DebugTextureResource : public DebugObject<ITextureResource>
@@ -497,8 +501,8 @@ public:
virtual SLANG_NO_THROW void SLANG_MCALL memoryBarrier(
int count,
IAccelerationStructure* const* structures,
- MemoryType::Enum sourceAccess,
- MemoryType::Enum destAccess) override;
+ AccessFlag sourceAccess,
+ AccessFlag destAccess) override;
virtual SLANG_NO_THROW void SLANG_MCALL
bindPipeline(IPipelineState* state, IShaderObject** outRootObject) override;
virtual SLANG_NO_THROW void SLANG_MCALL dispatchRays(