From 5cbd61774c6ef2209fa0afc79b1dbbb68514346b Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 6 Dec 2021 09:06:16 -0800 Subject: gfx Mutable Root shader object implementation. (#2042) * gfx Mutable Root shader object implementation. * Fix x86 build. Co-authored-by: Yong He --- tools/gfx/debug-layer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/gfx/debug-layer.cpp') 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() -- cgit v1.2.3