summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-11-17 13:20:13 -0800
committerGitHub <noreply@github.com>2021-11-17 13:20:13 -0800
commitefebfada38cd5252da62f7618c7f95e3ab180fbd (patch)
treeca36ae2cb1e1046666103c678ab9a8e766b53efb /tools/gfx/debug-layer.h
parent763d0b5acb584a4d2eca5e02922afed7d499141e (diff)
gfx ShaderObject interface update, getTextureAllocationInfo() (#2019)
* gfx ShaderObject interface update, getTextureAllocationInfo() * Fix render-vk compiler warnings and errors. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.h')
-rw-r--r--tools/gfx/debug-layer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h
index 87f7b009d..7ff5e02d5 100644
--- a/tools/gfx/debug-layer.h
+++ b/tools/gfx/debug-layer.h
@@ -150,6 +150,8 @@ public:
uint64_t* values,
bool waitForAll,
uint64_t timeout) override;
+ virtual SLANG_NO_THROW Result SLANG_MCALL getTextureAllocationInfo(
+ const ITextureResource::Desc& desc, size_t* outSize, size_t* outAlignment) override;
};
class DebugQueryPool : public DebugObject<IQueryPool>
@@ -279,6 +281,10 @@ public:
virtual SLANG_NO_THROW Result SLANG_MCALL getCurrentVersion(
ITransientResourceHeap* transientHeap, IShaderObject** outObject) override;
virtual SLANG_NO_THROW Result SLANG_MCALL copyFrom(IShaderObject* other) override;
+ virtual SLANG_NO_THROW const void* SLANG_MCALL getRawData() override;
+ virtual SLANG_NO_THROW size_t SLANG_MCALL getSize() override;
+ virtual SLANG_NO_THROW Result SLANG_MCALL
+ setConstantBufferOverride(IBufferResource* constantBuffer) override;
public:
Slang::String m_typeName;