From ae9df74fce7e3583effc822b3003542cf753823d Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 15 Nov 2021 13:52:37 -0800 Subject: Update gfx interface. (#2015) --- tools/gfx/renderer-shared.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tools/gfx/renderer-shared.h') diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h index 504f49bd7..eeb10b527 100644 --- a/tools/gfx/renderer-shared.h +++ b/tools/gfx/renderer-shared.h @@ -536,6 +536,12 @@ public: SLANG_UNUSED(outObject); return SLANG_E_NOT_AVAILABLE; } + + virtual SLANG_NO_THROW Result SLANG_MCALL copyFrom(IShaderObject* other) override + { + SLANG_UNUSED(other); + return SLANG_E_NOT_AVAILABLE; + } }; template @@ -1233,7 +1239,7 @@ public: // Provides a default implementation that returns SLANG_E_NOT_AVAILABLE. virtual SLANG_NO_THROW Result SLANG_MCALL - waitForFences(IFence** fences, uint32_t fenceCount, bool waitForAll, uint64_t timeout) override; + waitForFences(uint32_t fenceCount, IFence** fences, uint64_t* fenceValues, bool waitForAll, uint64_t timeout) override; Result getShaderObjectLayout( slang::TypeReflection* type, -- cgit v1.2.3