From efebfada38cd5252da62f7618c7f95e3ab180fbd Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 17 Nov 2021 13:20:13 -0800 Subject: gfx ShaderObject interface update, getTextureAllocationInfo() (#2019) * gfx ShaderObject interface update, getTextureAllocationInfo() * Fix render-vk compiler warnings and errors. Co-authored-by: Yong He --- tools/gfx/debug-layer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/gfx/debug-layer.h') 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 @@ -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; -- cgit v1.2.3