Vulkan overlay: use the corresponding image index for each swapchain
authorGeorg Lehmann <dadschoorse@gmail.com>
Thu, 6 Feb 2020 21:38:35 +0000 (22:38 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 10 Feb 2020 11:32:08 +0000 (11:32 +0000)
commit7283c33b981f975361e3bfa62a339c88f2642cbb
tree9f51b6effac93a0b28131d2e1435c2779c233056
parenteb0195358c4e0376d93f10fb4f90703e51718779
Vulkan overlay: use the corresponding image index for each swapchain

pImageIndices should be a pointer to the current image index
otherwise every swapchain but the first one could have a wrong image index

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3741>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3741>
src/vulkan/overlay-layer/overlay.cpp