summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-08-01 06:31:05 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-02 19:21:42 +0000
commitb875435c82aa5efbea55ee17719c4a57b171a811 (patch)
treeea29b2579438e995d5b5ccdc655f516d3b23f95b /Graphics/GraphicsEngineVulkan
parentAdded pRenderPass and SubpassIndex members to GraphicsPipelineDesc struct (diff)
downloadDiligentCore-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.hpp6
-rw-r--r--Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp3
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");
}