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/immediate-renderer-base.cpp | |
| parent | 7a4f08ee0411220c728bf42832d98e72d72167e2 (diff) | |
Update gfx interface. (#2015)
Diffstat (limited to 'tools/gfx/immediate-renderer-base.cpp')
| -rw-r--r-- | tools/gfx/immediate-renderer-base.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/tools/gfx/immediate-renderer-base.cpp b/tools/gfx/immediate-renderer-base.cpp index 774162eb3..33a578a4f 100644 --- a/tools/gfx/immediate-renderer-base.cpp +++ b/tools/gfx/immediate-renderer-base.cpp @@ -154,13 +154,6 @@ public: m_writer->writeTimestamp(pool, index); } - virtual SLANG_NO_THROW Result SLANG_MCALL - bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override - { - SLANG_UNIMPLEMENTED_X("ImmediateRenderBase::bindPipelineAndRootObject"); - return SLANG_E_NOT_AVAILABLE; - } - virtual SLANG_NO_THROW void SLANG_MCALL drawIndirect( uint32_t maxDrawCount, IBufferResource* argBuffer, @@ -233,13 +226,6 @@ public: return SLANG_OK; } - virtual SLANG_NO_THROW Result SLANG_MCALL - bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override - { - SLANG_UNIMPLEMENTED_X("ImmediateRenderBase::bindPipelineAndRootObject"); - return SLANG_E_NOT_AVAILABLE; - } - virtual SLANG_NO_THROW void SLANG_MCALL dispatchCompute(int x, int y, int z) override { m_writer->bindRootShaderObject(m_commandBuffer->m_rootShaderObject); @@ -494,7 +480,7 @@ public: virtual SLANG_NO_THROW const Desc& SLANG_MCALL getDesc() override { return m_desc; } virtual SLANG_NO_THROW void SLANG_MCALL executeCommandBuffers( - uint32_t count, ICommandBuffer* const* commandBuffers, IFence* fence) override + uint32_t count, ICommandBuffer* const* commandBuffers, IFence* fence, uint64_t valueToSignal) override { // TODO: implement fence signal. assert(fence == nullptr); |
