added renderpass manager

This commit is contained in:
2026-08-29 12:31:10 +03:00
parent eef7d2b046
commit ee9bffcca4
12 changed files with 319 additions and 106 deletions
+2 -3
View File
@@ -3,6 +3,7 @@
#include "tier1/utlvector.h"
#include "vulkan_state.h"
#include "renderpassmgr.h"
BEGIN_VULKAN_COMMAND(Empty)
END_VULKAN_COMMAND()
@@ -36,12 +37,10 @@ BEGIN_VULKAN_COMMAND(Begin)
bool bDepthEnabled = {};
uint32_t nResolutionX = 0;
uint32_t nResolutionY = 0;
VkRenderPass hRenderPass;
VkFramebuffer hFrameBuffer;
CRenderPassMgr *pMgr;
END_VULKAN_COMMAND()
BEGIN_VULKAN_COMMAND(End)
CVkBeginCommand *pBeginCommand;
END_VULKAN_COMMAND()
BEGIN_VULKAN_COMMAND(SetVertexBuffer)