mesa/src/intel
Lionel Landwerlin d0e1d6b1c8 anv/wsi: create swapchain images using specified image usage
The image usage specified by the caller of vkCreateSwapchainKHR should be
passed onto the internal image creation. Otherwise the driver might later
crash when the user tries to use the image as a combined sampler even though
the creation was explicitly created with VK_IMAGE_USAGE_TRANSFER_SRC_BIT.

Leaving the previous VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT as this might be
expected even if the swapchain is created without any flag.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96791
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit dbbc4fb4cc)
2016-07-07 16:12:32 +01:00
..
genxml genxml: Make ScratchSpaceBasePointer an address instead of an offset 2016-06-24 20:56:10 +01:00
isl anv,isl: Lower storage image formats in anv 2016-06-24 20:52:38 +01:00
vulkan anv/wsi: create swapchain images using specified image usage 2016-07-07 16:12:32 +01:00
Makefile.am i965: Add a dependency on libisl 2016-04-21 20:44:27 -07:00