summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/common.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-27 17:08:06 +0200
committerMartin Herkt <652892+lachs0r@users.noreply.github.com>2017-12-25 00:47:53 +0100
commit4e34615872011f906bf653f61e7ac75d2066a06b (patch)
tree25dc37e11f1f5cdb34619a22091dbf0dc9cf1116 /video/out/vulkan/common.h
parentad50e640dcf94da7f14c908a96c05b3de791d498 (diff)
downloadmpv-4e34615872011f906bf653f61e7ac75d2066a06b.tar.bz2
mpv-4e34615872011f906bf653f61e7ac75d2066a06b.tar.xz
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
Diffstat (limited to 'video/out/vulkan/common.h')
-rw-r--r--video/out/vulkan/common.h2
1 files changed, 1 insertions, 1 deletions
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