summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-12-06 09:06:16 -0800
committerGitHub <noreply@github.com>2021-12-06 09:06:16 -0800
commit5cbd61774c6ef2209fa0afc79b1dbbb68514346b (patch)
tree5d1eaaa4f8ed16b5b3fe005b3dfd2488ad462b87 /tools/gfx/debug-layer.cpp
parentda6be80f18014a3972eedf05099cd0066e9eae04 (diff)
gfx Mutable Root shader object implementation. (#2042)
* gfx Mutable Root shader object implementation. * Fix x86 build. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index 6266a6175..831566c7c 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -1686,10 +1686,10 @@ Result DebugShaderObject::getCurrentVersion(
return SLANG_OK;
}
-Result DebugShaderObject::copyFrom(IShaderObject* other)
+Result DebugShaderObject::copyFrom(IShaderObject* other, ITransientResourceHeap* transientHeap)
{
SLANG_GFX_API_FUNC;
- return baseObject->copyFrom(getInnerObj(other));
+ return baseObject->copyFrom(getInnerObj(other), getInnerObj(transientHeap));
}
const void* DebugShaderObject::getRawData()