From b875435c82aa5efbea55ee17719c4a57b171a811 Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 31 Jul 2020 23:31:05 -0700 Subject: Base implementation of BeginRenderPass/NextSubpass/EndRenderPass methods --- Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp | 6 ++++-- Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp index a9efa7ff..7f148d8c 100644 --- a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp +++ b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp @@ -37,6 +37,8 @@ #include "TextureBaseD3D11.hpp" #include "PipelineStateD3D11Impl.hpp" #include "QueryD3D11Impl.hpp" +#include "FramebufferD3D11Impl.hpp" +#include "RenderPassD3D11Impl.hpp" #include "DisjointQueryPool.hpp" #ifdef DILIGENT_DEBUG @@ -46,8 +48,6 @@ namespace Diligent { -class RenderDeviceD3D11Impl; - struct DeviceContextD3D11ImplTraits { using BufferType = BufferD3D11Impl; @@ -55,6 +55,8 @@ struct DeviceContextD3D11ImplTraits using PipelineStateType = PipelineStateD3D11Impl; using DeviceType = RenderDeviceD3D11Impl; using QueryType = QueryD3D11Impl; + using FramebufferType = FramebufferD3D11Impl; + using RenderPassType = RenderPassD3D11Impl; }; /// Device context implementation in Direct3D11 backend. diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 48eb6498..339e6f35 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -1619,16 +1619,19 @@ void DeviceContextD3D11Impl::SetRenderTargets(Uint32 Num void DeviceContextD3D11Impl::BeginRenderPass(const BeginRenderPassAttribs& Attribs) { + TDeviceContextBase::BeginRenderPass(Attribs); UNEXPECTED("Method not implemented"); } void DeviceContextD3D11Impl::NextSubpass() { + TDeviceContextBase::NextSubpass(); UNEXPECTED("Method not implemented"); } void DeviceContextD3D11Impl::EndRenderPass() { + TDeviceContextBase::EndRenderPass(); UNEXPECTED("Method not implemented"); } -- cgit v1.2.3