diff options
| author | Yong He <yonghe@outlook.com> | 2021-11-15 13:52:37 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 13:52:37 -0800 |
| commit | ae9df74fce7e3583effc822b3003542cf753823d (patch) | |
| tree | 3bfff7def0c448a868876e0656babd2c84472fca /tools/gfx/renderer-shared.h | |
| parent | 7a4f08ee0411220c728bf42832d98e72d72167e2 (diff) | |
Update gfx interface. (#2015)
Diffstat (limited to 'tools/gfx/renderer-shared.h')
| -rw-r--r-- | tools/gfx/renderer-shared.h | 8 |
1 files changed, 7 insertions, 1 deletions
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<typename TShaderObjectImpl, typename TShaderObjectLayoutImpl, typename TShaderObjectData> @@ -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, |
