vulkan/image: Set HOST and TRANSFER bits for before barriers
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 4 Oct 2019 14:52:43 +0000 (11:52 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 5 Oct 2019 15:13:22 +0000 (12:13 -0300)
commit0b2006b74f0cc659625986059e172086a3b6d548
treea6aa1c72b7aae4e7155a4a4de6d47044e15d0935
parenta91d0ac156fe385da23e6a4b76c2e1450615b8af
vulkan/image: Set HOST and TRANSFER bits for before barriers

Multiple images in the before barrier array are defined with
VK_ACCESS_TRANSFER_WRITE_BIT and VK_ACCESS_TRANSFER_READ_BIT,
which requires passing VK_PIPELINE_STAGE_TRANSFER_BIT and
VK_PIPELINE_STAGE_HOST_BIT to vkCmdPipelineBarrier().

Pass these flags correctly.
gsk/vulkan/gskvulkanimage.c