mesa/src/vulkan
Iago Toral Quiroga 92022f2846 zink: add VK_STRUCTURE_TYPE_WSI_MEMORY_ALLOCATE_INFO_MESA for WSI allocations
Since Zink doesn't use swapchains to create presentable images, drivers
lose the capacity to identify memory allocations for them, which is a problem
when the underlying platform has special requirements for these, such as
needing to allocate them on a particular device. Including this struct in the
pNext chain, which is the same thing that the Mesa Vulkan WSI code does when
allocating memory for swapchain images, gives drivers a chance to identify
and handle these memory allocations properly.

v2: follow Zink's conventions for pNext chains (Mike)
v3: add scanout parameter for VkImage creation (Daniel)
v4: don't add a dependency on vulkan util (Erik)
v5: include vulkan directory for Zink builds

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> (v2)
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7378>
2020-11-03 09:52:03 +01:00
..
device-select-layer vulkan/device_select: don't pick a cpu driver as the default 2020-09-07 07:12:23 +00:00
overlay-layer aco: add framework for testing isel and integration tests 2020-07-30 16:13:08 +00:00
registry vulkan: Update XML and headers to 1.2.158 2020-10-19 19:38:35 +00:00
util vulkan/util,vulkan/wsi,radv: Add typed outarray API 2020-10-27 08:47:52 -07:00
wsi wsi: move drm code to wsi_common_drm.c 2020-10-27 21:05:55 +00:00
Android.mk android: util: Add a mapping from VkFormat to PIPE_FORMAT. 2019-12-27 09:20:40 +01:00
Makefile.sources vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
meson.build zink: add VK_STRUCTURE_TYPE_WSI_MEMORY_ALLOCATE_INFO_MESA for WSI allocations 2020-11-03 09:52:03 +01:00
vulkan-icd-symbols.txt vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00