diff options
author | Lynne <dev@lynne.ee> | 2023-06-07 01:16:29 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-06-07 23:59:16 +0200 |
commit | 5f1be341c2bdc12f77c3209370144b15661a4958 (patch) | |
tree | 466adc7f3fd1a68c2ae45ce9b729d53c3146d65b /libavutil/sha512.h | |
parent | 975cd48bb3a45aefe314be3b9f8f3b8f0e4f614c (diff) | |
download | ffmpeg-5f1be341c2bdc12f77c3209370144b15661a4958.tar.gz |
vulkan: discard dependencies when explicitly waiting for execution
This reduces memory needed dramatically, as unneeded resources
can be immediately returned to the pool.
Although waitforfences is threadsafe, we add a mutex wait around
it, as the mutex fence in combination with waitforfences assures
us that no other thread will reset the fence in the meanwhile
whilst the mutex is locked. This allows is to call
ff_vk_exec_discard_deps.
Diffstat (limited to 'libavutil/sha512.h')
0 files changed, 0 insertions, 0 deletions