render pass first work

This commit is contained in:
2026-08-26 21:07:12 +03:00
parent 8055881fef
commit a6818a6cf4
18 changed files with 342 additions and 84 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ private:
CUtlVector<CVkCommand*> m_commands;
VkCommandBuffer m_hBuffer = NULL;
VkDevice m_hDevice;
IVkCommandBufferManager *m_pMgr;
VkCommandPool m_hPool = NULL;
@@ -82,7 +83,7 @@ void CVkCommandBuffer::Render()
for (auto &pCommand: m_commands)
{
pCommand->Execute(m_hBuffer, 0);
pCommand->Execute(m_hDevice, m_hBuffer, 0);
};
vkEndCommandBuffer(m_hBuffer);