mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 01:08:05 +02:00
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> |
||
|---|---|---|
| .. | ||
| meson.build | ||
| wsi_common.c | ||
| wsi_common.h | ||
| wsi_common_display.c | ||
| wsi_common_display.h | ||
| wsi_common_drm.c | ||
| wsi_common_private.h | ||
| wsi_common_queue.h | ||
| wsi_common_wayland.c | ||
| wsi_common_wayland.h | ||
| wsi_common_win32.c | ||
| wsi_common_win32.h | ||
| wsi_common_x11.c | ||
| wsi_common_x11.h | ||