diff options
author | Lynne <dev@lynne.ee> | 2021-12-10 16:29:03 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-12-10 17:04:22 +0100 |
commit | 0747768728b9bc67bc2883425fa7a315457708da (patch) | |
tree | 6b2bafda496ba293bfd4ec71df7db9de8c4d63b0 | |
parent | 83fe28221e92921f74d99ed15c258a3c79f4441d (diff) | |
download | ffmpeg-0747768728b9bc67bc2883425fa7a315457708da.tar.gz |
hwcontext_vulkan: stricter semaphore number requirements
Always require one semaphore per sw_format plane. This is what
the implementation uses and relies upon throughout. This was
a leftover from an earlier revision that was never needed.
-rw-r--r-- | libavutil/hwcontext_vulkan.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavutil/hwcontext_vulkan.h b/libavutil/hwcontext_vulkan.h index 8de79f5f33..df86c85b3c 100644 --- a/libavutil/hwcontext_vulkan.h +++ b/libavutil/hwcontext_vulkan.h @@ -241,12 +241,10 @@ typedef struct AVVkFrame { VkImageLayout layout[AV_NUM_DATA_POINTERS]; /** - * Synchronization timeline semaphores. Must not be freed manually. - * Must be waited on at every submission using the value in sem_value, - * and must be signalled at every submission, using an incremented value. - * - * Could be less than the amount of images: either one per VkDeviceMemory - * or one for the entire frame. All others will be set to VK_NULL_HANDLE. + * Synchronization timeline semaphores, one for each sw_format plane. + * Must not be freed manually. Must be waited on at every submission using + * the value in sem_value, and must be signalled at every submission, + * using an incremented value. */ VkSemaphore sem[AV_NUM_DATA_POINTERS]; |