summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index 5b4ee981c..99eaf5c00 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -770,6 +770,13 @@ Result DebugDevice::waitForFences(
return baseObject->waitForFences(fenceCount, fences, values, waitForAll, timeout);
}
+Result DebugDevice::getTextureAllocationInfo(
+ const ITextureResource::Desc& desc, size_t* outSize, size_t* outAlignment)
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->getTextureAllocationInfo(desc, outSize, outAlignment);
+}
+
IResource::Type DebugBufferResource::getType()
{
SLANG_GFX_API_FUNC;
@@ -1631,6 +1638,24 @@ Result DebugShaderObject::copyFrom(IShaderObject* other)
return baseObject->copyFrom(getInnerObj(other));
}
+const void* DebugShaderObject::getRawData()
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->getRawData();
+}
+
+size_t DebugShaderObject::getSize()
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->getSize();
+}
+
+Result DebugShaderObject::setConstantBufferOverride(IBufferResource* constantBuffer)
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->setConstantBufferOverride(getInnerObj(constantBuffer));
+}
+
DebugObjectBase::DebugObjectBase()
{
static uint64_t uidCounter = 0;