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/GraphicsEngineD3D11 | |
| 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/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp | 6 | ||||
| -rwxr-xr-x | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 3 |
2 files changed, 7 insertions, 2 deletions
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");
}
|
