diff options
| author | Yong He <yonghe@outlook.com> | 2021-11-17 13:20:13 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-17 13:20:13 -0800 |
| commit | efebfada38cd5252da62f7618c7f95e3ab180fbd (patch) | |
| tree | ca36ae2cb1e1046666103c678ab9a8e766b53efb /tools/gfx/debug-layer.h | |
| parent | 763d0b5acb584a4d2eca5e02922afed7d499141e (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.h | 6 |
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; |
