diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-01 06:31:05 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 19:21:42 +0000 |
| commit | b875435c82aa5efbea55ee17719c4a57b171a811 (patch) | |
| tree | ea29b2579438e995d5b5ccdc655f516d3b23f95b /Graphics/GraphicsEngineD3D12 | |
| parent | Added pRenderPass and SubpassIndex members to GraphicsPipelineDesc struct (diff) | |
| download | DiligentCore-b875435c82aa5efbea55ee17719c4a57b171a811.tar.gz DiligentCore-b875435c82aa5efbea55ee17719c4a57b171a811.zip | |
Base implementation of BeginRenderPass/NextSubpass/EndRenderPass methods
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.hpp | 6 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.hpp b/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.hpp index cba29510..28f336d4 100644 --- a/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.hpp +++ b/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.hpp @@ -37,14 +37,14 @@ #include "BufferD3D12Impl.hpp" #include "TextureD3D12Impl.hpp" #include "QueryD3D12Impl.hpp" +#include "FramebufferD3D12Impl.hpp" +#include "RenderPassD3D12Impl.hpp" #include "PipelineStateD3D12Impl.hpp" #include "D3D12DynamicHeap.hpp" namespace Diligent { -class RenderDeviceD3D12Impl; - struct DeviceContextD3D12ImplTraits { using BufferType = BufferD3D12Impl; @@ -53,6 +53,8 @@ struct DeviceContextD3D12ImplTraits using DeviceType = RenderDeviceD3D12Impl; using ICommandQueueType = ICommandQueueD3D12; using QueryType = QueryD3D12Impl; + using FramebufferType = FramebufferD3D12Impl; + using RenderPassType = RenderPassD3D12Impl; }; /// Device context implementation in Direct3D12 backend. diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp index c367c586..6a6739f0 100644 --- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp @@ -971,16 +971,19 @@ void DeviceContextD3D12Impl::SetRenderTargets(Uint32 Num void DeviceContextD3D12Impl::BeginRenderPass(const BeginRenderPassAttribs& Attribs) { + TDeviceContextBase::BeginRenderPass(Attribs); UNEXPECTED("Method not implemented"); } void DeviceContextD3D12Impl::NextSubpass() { + TDeviceContextBase::NextSubpass(); UNEXPECTED("Method not implemented"); } void DeviceContextD3D12Impl::EndRenderPass() { + TDeviceContextBase::EndRenderPass(); UNEXPECTED("Method not implemented"); } |
