[Mesa-dev] [PATCH] anv/wsi: create swapchain images using specified image usage

2016-07-04 Thread llandwerlin
From: Lionel Landwerlin 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

[Mesa-dev] [PATCH] anv/wsi: create swapchain images using specified image usage

2016-07-04 Thread Lionel Landwerlin
From: Lionel Landwerlin 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

Re: [Mesa-dev] [PATCH] anv/wsi: create swapchain images using specified image usage

2016-07-04 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96791 Cc: "12.0" I've added the above tags and pushed the patch. Thanks! --Jason On Mon, Jul 4, 2016 at 10:06 AM, Lionel Landwerlin <

[Mesa-dev] [PATCH] anv/wsi: create swapchain images using specified image usage

2016-07-04 Thread Lionel Landwerlin
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.