Allocate Vulkan command buffers

This commit is contained in:
2021-08-12 21:45:41 -07:00
parent 9bc30e6937
commit 0285e734bc
2 changed files with 30 additions and 0 deletions

View File

@@ -141,6 +141,8 @@ public:
VkQueue computeQueue;
VkCommandPool graphicsCommandPool;
VkCommandPool computeCommandPool;
std::vector<VkCommandBuffer> graphicsCommandBuffers;
std::vector<VkCommandBuffer> computeCommandBuffers;
} DeviceInfo;
typedef struct {