mesa/src/vulkan
Erik Faye-Lund fd630afd32 vulkan: allocate host-visible memory for swapchain images
The Vulkan 1.2 specification, section 11.2.12 ("Host Access to Device
Memory Objects") say the following:

> memory must have been created with a memory type that reports
> VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT

Since there's no guarantee that there's any memory that is *both*
device-local *and* host-visible, let's just use the latter requirement.

Fixes: 8af568e4ae ("vulkan: implement wsi_win32 backend")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11848>
(cherry picked from commit e3542b35a8)
2021-07-14 22:42:22 +01:00
..
device-select-layer vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable 2021-06-02 20:08:40 +02:00
overlay-layer vulkan-overlay-layer: Use the new dispatch tables 2021-02-01 18:54:24 +00:00
registry vulkan: Update XML and headers to 1.2.168 2021-01-27 22:20:52 +00:00
util vulkan: Support 32-bit "weak" symbols on MSVC 2021-05-18 23:02:27 +02:00
wsi vulkan: allocate host-visible memory for swapchain images 2021-07-14 22:42:22 +01:00
Android.mk vulkan: Add framework for common entrypoints 2021-02-01 18:54:24 +00:00
Makefile.sources android: vulkan/util: add vk_descriptors.{c,h} to Makefile.sources 2021-03-23 20:29:55 +01:00
meson.build vulkan: fix duplicate win32 def 2021-05-10 21:44:58 +02:00
vulkan-icd-symbols.txt vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00