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/d3d12/render-d3d12.cpp | |
| parent | 7a4f08ee0411220c728bf42832d98e72d72167e2 (diff) | |
Update gfx interface. (#2015)
Diffstat (limited to 'tools/gfx/d3d12/render-d3d12.cpp')
| -rw-r--r-- | tools/gfx/d3d12/render-d3d12.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/tools/gfx/d3d12/render-d3d12.cpp b/tools/gfx/d3d12/render-d3d12.cpp index accd9297c..bbe7e4bdc 100644 --- a/tools/gfx/d3d12/render-d3d12.cpp +++ b/tools/gfx/d3d12/render-d3d12.cpp @@ -3157,13 +3157,6 @@ public: { return bindPipelineImpl(state, outRootObject); } - - virtual SLANG_NO_THROW Result SLANG_MCALL - bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override - { - SLANG_UNIMPLEMENTED_X("bindPipelineAndRootObject"); - return SLANG_E_NOT_AVAILABLE; - } virtual SLANG_NO_THROW void SLANG_MCALL setViewports(uint32_t count, const Viewport* viewports) override @@ -3454,13 +3447,6 @@ public: return bindPipelineImpl(state, outRootObject); } - virtual SLANG_NO_THROW Result SLANG_MCALL - bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override - { - SLANG_UNIMPLEMENTED_X("bindPipelineAndRootObject"); - return SLANG_E_NOT_AVAILABLE; - } - virtual SLANG_NO_THROW void SLANG_MCALL dispatchCompute(int x, int y, int z) override { // Submit binding for compute @@ -3632,8 +3618,6 @@ public: AccessFlag::Enum destAccess) override; virtual SLANG_NO_THROW void SLANG_MCALL bindPipeline(IPipelineState* state, IShaderObject** outRootObject) override; - virtual SLANG_NO_THROW void SLANG_MCALL bindPipelineAndRootObject( - IPipelineState* state, IShaderObject* rootObject) override; virtual SLANG_NO_THROW void SLANG_MCALL dispatchRays( const char* rayGenShaderName, int32_t width, @@ -3725,7 +3709,7 @@ public: } virtual SLANG_NO_THROW void SLANG_MCALL - executeCommandBuffers(uint32_t count, ICommandBuffer* const* commandBuffers, IFence* fence) override + executeCommandBuffers(uint32_t count, ICommandBuffer* const* commandBuffers, IFence* fence, uint64_t valueToSignal) override { // TODO: implement fence signal. assert(fence == nullptr); @@ -6162,12 +6146,6 @@ void D3D12Device::CommandBufferImpl::RayTracingCommandEncoderImpl::bindPipeline( bindPipelineImpl(state, outRootObject); } -void D3D12Device::CommandBufferImpl::RayTracingCommandEncoderImpl::bindPipelineAndRootObject( - IPipelineState* state, IShaderObject* rootObject) -{ - SLANG_UNIMPLEMENTED_X("bindPipelineAndRootObject"); -} - void D3D12Device::CommandBufferImpl::RayTracingCommandEncoderImpl::dispatchRays( const char* rayGenShaderName, int32_t width, |
