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/renderer-shared.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools/gfx/renderer-shared.cpp') diff --git a/tools/gfx/renderer-shared.cpp b/tools/gfx/renderer-shared.cpp index 705f1f95d..5b2dc949b 100644 --- a/tools/gfx/renderer-shared.cpp +++ b/tools/gfx/renderer-shared.cpp @@ -450,6 +450,15 @@ Result RendererBase::waitForFences( return SLANG_E_NOT_AVAILABLE; } +Result RendererBase::getTextureAllocationInfo( + const ITextureResource::Desc& desc, size_t* outSize, size_t* outAlignment) +{ + SLANG_UNUSED(desc); + *outSize = 0; + *outAlignment = 0; + return SLANG_E_NOT_AVAILABLE; +} + Result RendererBase::getShaderObjectLayout( slang::TypeReflection* type, ShaderObjectContainerType container, -- cgit v1.2.3