ilo: Return VK_ERROR_OUT_OF_DATE_KHR when window resizes.

The driver now receives XCB_PRESENT_EVENT_CONFIGURE_NOTIFY events (part of the
X11 "present" extension).  If the window size is different from the current
size of the swapchain, the vkAcquireNextImageKHR() and vkQueuePresentKHR()
functions will return VK_ERROR_OUT_OF_DATE_KHR instead of performing their
normal functionality.

The way a swapchain is destroyed had to be divided in order to handle
re-creation of a swapchain.  Parts need to be destroyed during
vkCreateSwapchainKHR(), but the "sc" must be kept until the application calls
vkDestroySwapchainKHR().
1 file changed