From 4e34615872011f906bf653f61e7ac75d2066a06b Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 27 Sep 2017 17:08:06 +0200 Subject: vo_gpu: vulkan: refactor vk_cmdpool 1. No more static arrays (deps / callbacks / queues / cmds) 2. Allows safely recording multiple commands at the same time 3. Uses resources optimally by never over-allocating commands --- video/out/vulkan/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vulkan/common.h') diff --git a/video/out/vulkan/common.h b/video/out/vulkan/common.h index 6e82bfac58..35c5b3dbfb 100644 --- a/video/out/vulkan/common.h +++ b/video/out/vulkan/common.h @@ -50,7 +50,7 @@ struct mpvk_ctx { struct vk_malloc *alloc; // memory allocator for this device struct vk_cmdpool *pool; // primary command pool for this device - struct vk_cmd *last_cmd; // most recently submitted command + struct vk_cmd *last_cmd; // most recently submitted (pending) command struct spirv_compiler *spirv; // GLSL -> SPIR-V compiler // Cached capabilities -- cgit v1.2.3