vulkan/overlay: bounce image back to present layout
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 21 Aug 2019 11:47:25 +0000 (13:47 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 3 Sep 2019 07:11:58 +0000 (07:11 +0000)
commit320b0f66c27407008784da3606e23cb44c70ddf0
tree8e47ea2a490845928a3bc20420bd351e8c080041
parent9db06a53500ce8df8683a195d3f0d03c2b8cef85
vulkan/overlay: bounce image back to present layout

Once we write the overlay to an image to be presented, we must not
forget to put it back into present layout.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111401
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/vulkan/overlay-layer/overlay.cpp