summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
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");
}