anv/wsi: fix apps that acquire multiple images up front
authorDave Airlie <airlied@redhat.com>
Thu, 13 Oct 2016 02:43:07 +0000 (12:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Oct 2016 18:45:11 +0000 (04:45 +1000)
commit8980ac041167fb5a80be76e2f912b96117afa2cf
tree58971c0b7e204b8d8c1d87391431bbca14a31f0a
parent8bdac874e667179bd2682f0111cd7db58b858e5b
anv/wsi: fix apps that acquire multiple images up front

This fix was found in the radv codebase when running dota2,
no idea if anyone has reported it on anv, but the same problem
occurs.

Once an image is acquired we need to mark it busy.

Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/intel/vulkan/anv_wsi_wayland.c
src/intel/vulkan/anv_wsi_x11.c