mesa/src/intel
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
..
blorp treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
ci ci: Uprev GL & GLES CTS 2025-12-10 11:31:33 +00:00
common treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
compiler nir/uub: Use an optional max_samples from drivers for sample counts. 2025-12-11 14:26:11 +00:00
decoder intel/decoder: make libvulkan_intel to depend on stub decoder when buildtyle=release. 2025-11-24 16:40:02 +08:00
dev intel: remove unused show_shader_stage debug option 2025-12-10 20:32:09 +00:00
ds anv: track descriptor mode in SBA tracepoint 2025-11-17 15:06:55 +00:00
executor meson: make dep_lua a disabler 2025-11-21 21:48:57 +00:00
genxml intel/genxml: Update CS_CHICKEN1 register for gfx20 2025-11-13 23:05:01 +00:00
isl nir/uub: Use an optional max_samples from drivers for sample counts. 2025-12-11 14:26:11 +00:00
mda intel/mda: Use a vector to track the contents variable 2025-10-30 20:03:24 +00:00
nullhw-layer build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
perf intel/perf: Update perf scripts to get additional performance counters 2025-10-23 16:59:09 +00:00
shaders util/glsl2spirv: Use better glslang flag for -Olib 2025-11-20 02:14:50 +00:00
tools treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
vulkan treewide: Use wsi_common_is_swapchain_image() helper 2025-12-11 20:20:39 +00:00
vulkan_hasvk treewide: Use wsi_common_is_swapchain_image() helper 2025-12-11 20:20:39 +00:00
meson.build brw: Move into a new src/intel/compiler/brw subdirectory 2025-10-09 07:01:47 +00:00