diff options
author | Lynne <dev@lynne.ee> | 2020-04-06 20:18:50 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-04-07 14:52:56 +0300 |
commit | 97b526c192add6f252b327245fd9223546867352 (patch) | |
tree | 8676075031430d923be525dc82944e77449368a9 /libavutil/hwcontext_vulkan.h | |
parent | 3f9fd9dcfdf090f81f7fd22ddc6f6d571f4c5516 (diff) |
hwcontext_vulkan: only use one semaphore per image
The idea was to allow separate planes to be filtered independently, however,
in hindsight, literaly nothing uses separate per-plane semaphores and it
would only work when each plane is backed by separate device memory.
Diffstat (limited to 'libavutil/hwcontext_vulkan.h')
-rw-r--r-- | libavutil/hwcontext_vulkan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/hwcontext_vulkan.h b/libavutil/hwcontext_vulkan.h index 01d6d98b01..ebc28916f3 100644 --- a/libavutil/hwcontext_vulkan.h +++ b/libavutil/hwcontext_vulkan.h @@ -133,10 +133,10 @@ typedef struct AVVkFrame { VkImageLayout layout[AV_NUM_DATA_POINTERS]; /** - * Per-image semaphores. Must not be freed manually. Must be waited on + * Per-frame semaphore. Must not be freed manually. Must be waited on * and signalled at every queue submission. */ - VkSemaphore sem[AV_NUM_DATA_POINTERS]; + VkSemaphore sem; /** * Internal data. |