diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 01:18:48 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 19:21:45 +0000 |
| commit | 812fc38d1b0957ed96d93e023b7322d65c5d3f5d (patch) | |
| tree | 12e83148649718ae8dce97ff6ef027cdcb51551e /Graphics/GraphicsEngineD3D11 | |
| parent | Fixed build error (diff) | |
| download | DiligentCore-812fc38d1b0957ed96d93e023b7322d65c5d3f5d.tar.gz DiligentCore-812fc38d1b0957ed96d93e023b7322d65c5d3f5d.zip | |
Updated EndRenderPass to optionally update resource states
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp | 2 | ||||
| -rwxr-xr-x | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp index 7f148d8c..9df79314 100644 --- a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp +++ b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp @@ -131,7 +131,7 @@ public: virtual void DILIGENT_CALL_TYPE NextSubpass() override final; /// Implementation of IDeviceContext::EndRenderPass() in Direct3D11 backend. - virtual void DILIGENT_CALL_TYPE EndRenderPass() override final; + virtual void DILIGENT_CALL_TYPE EndRenderPass(bool UpdateResourceStates) override final; /// Implementation of IDeviceContext::Draw() in Direct3D11 backend. virtual void DILIGENT_CALL_TYPE Draw(const DrawAttribs& Attribs) override final; diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 339e6f35..857ed7c5 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -1629,9 +1629,9 @@ void DeviceContextD3D11Impl::NextSubpass() UNEXPECTED("Method not implemented");
}
-void DeviceContextD3D11Impl::EndRenderPass()
+void DeviceContextD3D11Impl::EndRenderPass(bool UpdateResourceStates)
{
- TDeviceContextBase::EndRenderPass();
+ TDeviceContextBase::EndRenderPass(UpdateResourceStates);
UNEXPECTED("Method not implemented");
}
|
