diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-08 23:48:40 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-08 23:48:40 +0000 |
| commit | fd6ecbc3e52569119c4e0ff30236bd23f2757737 (patch) | |
| tree | 1cc09a201840841ecd4bb579dcd23e815fa7bc74 /Graphics/GraphicsEngineMetal | |
| parent | D3D12 backend: implemented render pass attachment state transitons (diff) | |
| download | DiligentCore-fd6ecbc3e52569119c4e0ff30236bd23f2757737.tar.gz DiligentCore-fd6ecbc3e52569119c4e0ff30236bd23f2757737.zip | |
Implemented unified render pass attachment state updates within subpasses and after the render pass ends
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h index b5a7feec..0bfff2b3 100644 --- a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h +++ b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h @@ -100,7 +100,7 @@ public: virtual void NextSubpass() override final; - virtual void EndRenderPass(bool UpdateResourceStates) override final; + virtual void EndRenderPass() override final; virtual void Draw(const DrawAttribs& Attribs) override final; virtual void DrawIndexed(const DrawIndexedAttribs& Attribs) override final; diff --git a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm index ff08c1bb..abfa15ba 100644 --- a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm @@ -383,9 +383,9 @@ namespace Diligent LOG_ERROR_MESSAGE("DeviceContextMtlImpl::NextSubpass() is not implemented"); } - void DeviceContextMtlImpl::EndRenderPass(bool UpdateResourceStates) + void DeviceContextMtlImpl::EndRenderPass() { - TDeviceContextBase::EndRenderPass(UpdateResourceStates); + TDeviceContextBase::EndRenderPass(); LOG_ERROR_MESSAGE("DeviceContextMtlImpl::EndRenderPass() is not implemented"); } |
