mesa/src/imagination
Christian Gmeiner b393518bdf
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
treewide: Use wsi_common_is_swapchain_image() helper
Replace the duplicated swapchain image detection pattern across all
Vulkan drivers with the new wsi_common_is_swapchain_image() helper.

Since the swapchain handle can be extracted from VkImageCreateInfo's
pNext chain inside wsi_common_create_swapchain_image(), remove the
now-redundant VkSwapchainKHR parameter from that function.

This removes the #ifdef guards for Android/WSI platforms from each
driver, as the helper now handles this uniformly.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38541>
2025-12-11 20:20:39 +00:00
..
common pvr: disable has_gs_rta_support for ge7800 as well 2025-12-11 18:52:36 +00:00
csbgen pvr: store has_pbe_stride_align_1pixel in pvr_device_features 2025-11-17 16:04:31 +00:00
include pvr: make queries arch-agnostic 2025-12-11 15:26:05 +00:00
pco nir/uub: Use an optional max_samples from drivers for sample counts. 2025-12-11 14:26:11 +00:00
vulkan treewide: Use wsi_common_is_swapchain_image() helper 2025-12-11 20:20:39 +00:00
.clang-format pvr: remove unused macros 2025-11-11 10:13:11 +01:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build pvr: drop legacy rogue compiler 2025-09-16 18:26:10 +00:00