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/GraphicsEngineVulkan | |
| 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/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp | 6 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp index 50d1eb0c..7090f15a 100644 --- a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp +++ b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp @@ -45,6 +45,8 @@ #include "TextureVkImpl.hpp" #include "PipelineStateVkImpl.hpp" #include "QueryVkImpl.hpp" +#include "FramebufferVkImpl.hpp" +#include "RenderpassVkImpl.hpp" #include "HashUtils.hpp" #include "ManagedVulkanObject.hpp" #include "QueryManagerVk.hpp" @@ -53,8 +55,6 @@ namespace Diligent { -class RenderDeviceVkImpl; - struct DeviceContextVkImplTraits { using BufferType = BufferVkImpl; @@ -63,6 +63,8 @@ struct DeviceContextVkImplTraits using DeviceType = RenderDeviceVkImpl; using ICommandQueueType = ICommandQueueVk; using QueryType = QueryVkImpl; + using FramebufferType = FramebufferVkImpl; + using RenderPassType = RenderPassVkImpl; }; /// Device context implementation in Vulkan backend. diff --git a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp index 7fef3833..d1528eaa 100644 --- a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp @@ -1193,16 +1193,19 @@ void DeviceContextVkImpl::ResetRenderTargets() void DeviceContextVkImpl::BeginRenderPass(const BeginRenderPassAttribs& Attribs) { + TDeviceContextBase::BeginRenderPass(Attribs); UNEXPECTED("Method not implemented"); } void DeviceContextVkImpl::NextSubpass() { + TDeviceContextBase::NextSubpass(); UNEXPECTED("Method not implemented"); } void DeviceContextVkImpl::EndRenderPass() { + TDeviceContextBase::EndRenderPass(); UNEXPECTED("Method not implemented"); } |
