From d5cc50f73f6e582be0912e66d1a6252b3a152e39 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 1 Jul 2022 13:27:25 +0200 Subject: [PATCH] [dxvk] Add dynamic rendering commands to DxvkCommandList --- src/dxvk/dxvk_cmdlist.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_cmdlist.h b/src/dxvk/dxvk_cmdlist.h index fe3c5f3aa..f6d98855d 100644 --- a/src/dxvk/dxvk_cmdlist.h +++ b/src/dxvk/dxvk_cmdlist.h @@ -251,7 +251,13 @@ namespace dxvk { m_vkd->vkCmdBeginQueryIndexedEXT( m_execBuffer, queryPool, query, flags, index); } - + + + void cmdBeginRendering( + const VkRenderingInfoKHR* pRenderingInfo) { + m_vkd->vkCmdBeginRenderingKHR(m_execBuffer, pRenderingInfo); + } + void cmdBeginRenderPass( const VkRenderPassBeginInfo* pRenderPassBegin, @@ -589,6 +595,11 @@ namespace dxvk { } + void cmdEndRendering() { + m_vkd->vkCmdEndRenderingKHR(m_execBuffer); + } + + void cmdEndRenderPass() { m_vkd->vkCmdEndRenderPass(m_execBuffer); }