vulkan/wsi: move image count to shared structure.
authorDave Airlie <airlied@redhat.com>
Tue, 21 Feb 2017 01:04:44 +0000 (11:04 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Feb 2017 05:30:32 +0000 (15:30 +1000)
commitc2ed2685fd12c03b9e87b3d344f112127e303024
tree01b75fbfff6929bdd81cfbfe272e9bc64b404b8d
parent4711e5433662ceb80ba62ae949934c6019dc1b17
vulkan/wsi: move image count to shared structure.

For prime support I need to access this, so move it in advance.

[airlied: fix int->uint32_t]

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/vulkan/wsi/wsi_common.h
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c