mesa/src/vulkan
Kenneth Graunke 469875596a vulkan/wsi: Fix prime blits to use system memory for the destination
The intention here was to pass VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT to
select_memory_types() when requesting device local memory, or simply
pass 0 for the prime blit destination which should be in system memory.

Unfortunately, that meant we did (type.propertyFlags & 0) == 0 which
was vacuously true, causing us to not filter out device local types.

Fixes hybrid display of Vulkan apps on Intel TGL+DG1 systems.

Tested-by: Luis Felipe Strano Moraes <luis.strano@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11680>
2021-07-02 23:35:57 +00:00
..
device-select-layer vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable 2021-05-04 21:26:21 +00:00
overlay-layer overlay_layer: add missing undef 2021-07-01 16:42:07 +00:00
registry vulkan: Update the XML and headers to 1.2.182 2021-06-21 14:29:16 +00:00
util ci: Unify on MESA_VK_IGNORE_CONFORMANCE_WARNING 2021-06-25 19:45:38 +00:00
wsi vulkan/wsi: Fix prime blits to use system memory for the destination 2021-07-02 23:35:57 +00: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-04-19 22:46:30 +00:00
vulkan-icd-symbols.txt vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00