]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: create all images with concurrent sharing mode
authorLynne <dev@lynne.ee>
Sun, 10 May 2020 20:53:39 +0000 (21:53 +0100)
committerLynne <dev@lynne.ee>
Sun, 10 May 2020 22:20:49 +0000 (23:20 +0100)
commit875c1707e5f6287a6dabc7bc2dc5e1a9f3dc811b
tree59a6394ef350c6fd6fc8ccec382eea7e51104bca
parent7c080dc190ac1d85de1ca873347d0ac8855985e0
hwcontext_vulkan: create all images with concurrent sharing mode

As it turns out, we were already assuming and treating all images as if they had
concurrent access mode. This just changes the flag to CONCURRENT, which has less
restrictions than EXCLUSIVE, and fixed validation messages on machines with
multiple queues.
The validation layer didn't pick this up because the machine I was testing on
had only a single queue.
libavutil/hwcontext_vulkan.c
libavutil/hwcontext_vulkan.h