[Git][xorg-team/lib/mesa][upstream-unstable] 84 commits: docs: add sha sum for 26.0.6

"Timo Aaltonen (@tjaalton)" <[email protected]> Thu, 21 May 2026 14:47:27 +0000
Newsgroups gmane.linux.debian.devel.x
Message-ID <[email protected]>

Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / lib / mesa


Commits:
e9cd222c by Eric Engestrom at 2026-04-29T23:04:27+02:00
docs: add sha sum for 26.0.6

- - - - -
863b2bba by Eric Engestrom at 2026-05-13T15:39:16+02:00
.pick_status.json: Update to aee10432272f77fd5979de084f4f64f7374c3278

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
17dafbab by Caio Oliveira at 2026-05-13T15:39:16+02:00
brw: Fix max_dispatch_width collection for CS with variable size

The intention of the original commit was to make all the shaders report
the same max_dispatch_width.  When CS has multiple variants, this was
not happening as expected.

Fixes: 2acc2f18ea7 ("intel/compiler: report max dispatch width statistic")
Reviewed-by: Lionel Landwerlin <[email protected]>
(cherry picked from commit e1745e0bd93d25c5d70bd1de884a86a0ade0adf9)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
7ff3ac91 by Danylo Piliaiev at 2026-05-13T15:39:16+02:00
tu: Fix CP_CCHE_INVALIDATE not being applied at the right point

Apparently CP_CCHE_INVALIDATE is just a plain register write underneath,
so it needs WFI before it, in order to invalidate at the right point.

```
CP_CCHE_INVALIDATE:
mov $addr, 0x9881
mov $data, 0x1
waitin
mov $01, $data
```

Fixes misrendering in Doom Eternal on A750.

Fixes: fb1c3f7f5de ("tu: Implement CCHE invalidation")

Signed-off-by: Danylo Piliaiev <[email protected]>
(cherry picked from commit c2e78f1b225f3208c771c285edfd369149c60fda)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
e1c2a304 by Icenowy Zheng at 2026-05-13T15:39:16+02:00
pvr: wait for graphics jobs in CopyQueryPoolResults

The last graphics job, which might write to the occlusion query result,
could still be running when vkCmdCopyQueryPoolResults is called.

Additionally wait for graphics jobs before copying the results.

Fixes: 24b1e3946cc7 ("pvr: Add support to submit occlusion query sub cmds.")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Simon Perretta <[email protected]>
(cherry picked from commit 82925935d425b4465bcede519a671045fb58d098)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
a44df654 by Rohit Athavale at 2026-05-13T15:39:16+02:00
mediafoundation: Test compile steps v/s step , and set build flag

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15244
Backport-to: *

Reviewed-by: Pohsiang (John) Hsu <[email protected]>
(cherry picked from commit c5b184a02a542067ecdc4566e44d8c0186b2c2d4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
88047cbd by Icenowy Zheng at 2026-05-13T15:39:16+02:00
pvr: increase maxPerStageResources for new maxPerStageDescriptorStorageBuffers

When maxPerStageResources is less than 128, it must be at least the sum
of maxPerStageDescriptorUniformBuffers,
maxPerStageDescriptorStorageBuffers, maxPerStageDescriptorSampledImages,
maxPerStageDescriptorStorageImages,
maxPerStageDescriptorInputAttachments and maxColorAttachments.

As maxPerStageDescriptorStorageBuffers is previously increased, the
value of maxPerStageResources should be increased too.

This fixes regression on two limit validation tests in the Vulkan CTS --
dEQP-VK.info.device_properties and dEQP-VK.api.info.
vulkan1p2_limits_validation.general .

Fixes: 35f57a27396c ("pvr: increase value of maxPerStageDescriptorStorageBuffers")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Luigi Santivetti <[email protected]>
(cherry picked from commit 1027059baa2554afa8fa3ca4aa222861f9863a04)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
70c56547 by Nick Hamilton at 2026-05-13T15:39:16+02:00
pvr: Revert don't csb emit multi-layer clear attachments without rta support

While testing HW without gs_rta_support it was raised that this
change had been made in error. After retesting with the change
reverted the listed tests still pass.

This reverts commit d68344bffe893c1ecaa63ce5f2795c3479517da6.

Backport-to: 26.0
Reported-by: Luigi Santivetti <[email protected]>
Signed-off-by: Nick Hamilton <[email protected]>
Reviewed-by: Luigi Santivetti <[email protected]>
(cherry picked from commit 08c13564d68101519bfecd45d94af7072050b6ed)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
b7a94f8b by Icenowy Zheng at 2026-05-13T15:39:16+02:00
pvr: do not setup deferred RTA clear for active render targets

Deferred RTA clear will happen after the current graphics subcommand is
executed, which may override rendered image in the graphics subcommand.
In addition, the active render targets do not need "emulated" clear --
they can be really cleared by drawing rectangles.

Skip set up deferred RTA clear for active render target layers, and
continue to do immediate clear for these layers.

Fixes a few dynamic rendering random CTS tests, but the issue should
also exist in legacy renderpasses RTA clears.

Fixes: 95820584d06e ("pvr: Add deferred RTA clears for cores without gs_rta_support.")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Luigi Santivetti <[email protected]>
(cherry picked from commit 43b22a477ca41f9731c4ab463cc6b7799efe9372)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
f253c607 by Icenowy Zheng at 2026-05-13T15:39:16+02:00
pvr: properly handle deferred RTA clears for 2D array view of 3D image

For 2D array views of 3D images, the layer of the view corresponds to
the depth (instead of the layer, which should be always 0) of the image.

Fix the code emitting deferred RTA clears to set the depth instead of
the layer of the image to clear.

Fixes the flakiness of `dEQP-VK.renderpasses.renderpass*.
remaining_array_layers.multi_layer_fb.*`.

Fixes: 95820584d06e ("pvr: Add deferred RTA clears for cores without gs_rta_support.")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Luigi Santivetti <[email protected]>
(cherry picked from commit 40e0f0f9338198441518f9769cbdc08488eca37f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
d2241f3f by Icenowy Zheng at 2026-05-13T15:39:16+02:00
pvr: add deferred RTA clear command to list after checking it's not NULL

The code that adds deferred RTA clear transfer commands checks whether
the newly allocated transfer command is NULL. However the list_addtail
call is before the check, which means that the check does not prevent
NULL dereference.

Reorder the code to ensure no NULL transfer commands would ever be added
to the deferred clear list.

In addition, pvr_transfer_cmd_alloc() has already set the command
buffer's error status when it returns NULL, so it's not needed to set it
again.

Fixes: 2eabbbe57d12 ("pvr: use linked list to back deferred clears")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Luigi Santivetti <[email protected]>
(cherry picked from commit ecd4e93456dedaa6a30054fa939f57a3dd7551e2)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
253e48a3 by Icenowy Zheng at 2026-05-13T15:39:16+02:00
pvr: record deferred RTA clears for secondary cmdbuf subcmds

Currently the code handling deferred RTA clears cannot handle them for
secondary command buffers within render passes, because the code
immediately configures the transfer command for the deferred clear
operation, but the specific attachment image view isn't known when
recording secondary command buffers to be executed inside render passes.

Add code to record parameters for deferred RTA clears in secondary
command buffers when the attachment is unknown, and bind the recorded
clears to the attachment's image view when executing the secondary
command buffer inside a render pass.

Fixes many dynamic rendering random tests.

Backport-to: 26.0
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Luigi Santivetti <[email protected]>
(cherry picked from commit 9960637b26ee138addfee9f526cc28f9808aedc6)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
aa683482 by Lionel Landwerlin at 2026-05-13T15:39:16+02:00
anv: fix null pointer access

Reproduces with dEQP-VK.pipeline.no_queues.pipeline_binary.compute

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 595889018a ("anv: implement VK_KHR_maintenance9")
Reviewed-by: José Roberto de Souza <[email protected]>
(cherry picked from commit dad8f65611bf7478a06ec3e979e7788a5d211ee8)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
c01759a7 by Jose Maria Casanova Crespo at 2026-05-13T15:39:16+02:00
broadcom/compiler: move nir_lower_undef_to_zero out of optimization loop

The combination of nir_opt_if and nir_lower_undef_to_zero running inside
the optimization loop could make it to not converge.

This was exercised by ollama running gemma3 compute shaders.

Removing the pass from the optimization loop results in No changes in
shader-db.

Assisted-by: Claude Opus 4.6
Fixes: cbe24a0e9c5 ("broadcom/compiler: use nir_lower_undef_to_zero")
Reviewed-by: Iago Toral Quiroga <[email protected]>
(cherry picked from commit 2cd51a6efcdfde07e219869e3fd663c88da92a04)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
17ff747b by Raviraj Uppal at 2026-05-13T15:39:16+02:00
driconf: disable allow_rgb16_configs for SPECviewperf

Commit f2aaa9ce00f added 16 bpc unorm display formats gated behind the flag
allow_rgb16_configs driconf option, defaulting to true.

This causes SPECviewperf's maya_06 viewset to fail. Disabling
allow_rgb16_configs for SPECviewperf alongside the existing
allow_rgb10_configs workaround.

Fixes: f2aaa9ce00f ("dri,gallium: Add support for RGB[A]16_UNORM display formats.")

Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
(cherry picked from commit 3359de824729de3ca8a0efa6c442e7682313441d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
eda2a46f by David Rosca at 2026-05-13T15:39:16+02:00
frontends/va: Fix setting output color properties from color standard

Fixes: 6e8a8d8ee70 ("frontends/va: Stop using vpp colors standard")
Reviewed-by: Ruijing Dong <[email protected]>
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
(cherry picked from commit 69db546936f5b8fd9be1ef285005489631427b62)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
cb4cbcad by David Rosca at 2026-05-13T15:39:16+02:00
frontends/va: Add missing NULL check for additional output surface

Fixes: efc6d27fd4b ("frontends/va: Add support for decode/encode processing")
Reviewed-by: Ruijing Dong <[email protected]>
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
(cherry picked from commit 3d16845e9a3bcaf9ef460eb15ca8a9c06b6d69e3)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
4b620bb6 by Lorenzo Rossi at 2026-05-13T15:39:16+02:00
panvk/jm: Fix tls_size overwrite in indirect draws

Only caused problems when the VS/FS has more TLS than our internal shaders
that doesn't usually happen but will cause bugs when we start to
compress local memory.

Fixes: 005703e5b5f ("panvk: Move TLS preparation logic to cmd_dispatch_prepare_tls")
Signed-off-by: Lorenzo Rossi <[email protected]>
Reviewed-by: Christoph Pillmayer <[email protected]>
Reviewed-by: Faith Ekstrand <[email protected]>
(cherry picked from commit f0d2ad984026eba7726f5a9a94ba57832e66c226)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
de581c7a by Adrián Larumbe at 2026-05-13T15:39:16+02:00
pan/kmod: Fix minor version number check for USER_MMIO_OFFSET ioctl

It has been available in the Panthor KMD since 1.5

Fixes: 590ad83b980e ("panfrost: Use pan_image_test_modifier_with_format() to do our modifier check")
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Adrián Larumbe <[email protected]>
(cherry picked from commit 9145ce0bb2aa21e6d6b24395814bfbbe2b8ca118)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
055b652c by Adrián Larumbe at 2026-05-13T15:39:16+02:00
pan/kmod: fix double syncop count sum when populating vm_bind syncs

In order to assign bind_ops[i].syncs a slice of the sync_ops array,
op_sync_cnt must record the exact number sync operations for that vm_bind
operation, so that &sync_ops[syncop_ptr - op_sync_cnt] will give us the
right start of its slice.

Fixes: 97f6a62f7ef8 ("pan/kmod: Add a backend for panthor")
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Adrián Larumbe <[email protected]>
(cherry picked from commit 293b264b7dd22451f76342f38451fcb686a4bddf)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
f5f4c818 by Paulo Zanoni at 2026-05-13T15:39:16+02:00
intel/isl: fix assert when surf->size_B is > UINT_MAX

I have some local tests for Sparse Resources that I wrote when I was
working on that for Anv. One of them tries to create a sparse buffer
with size 4294967296 (which doesn't fit in an uint32_t). Without this
patch, the right side of the assertion overflows and we get:

sparse: ../../src/intel/isl/isl.c:3787: isl_surf_from_mem: Assertion `surf->size_B == surf->row_pitch_B * extent.h * extent.a' failed

Fixes: fcdae4d4c09c ("intel: Add and use isl_surf_from_mem()")
Reviewed-by: Dylan Baker <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
(cherry picked from commit c4b6df29bf50aba7046ca42d569729f2cf8de1d7)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
ee751f87 by Paulo Zanoni at 2026-05-13T15:39:17+02:00
intel/isl: warn about excessive num_elements only once

Commit f3c7e14f091a ("isl: don't assert(num_elements > (1ull << 27))")
replaced an assert(num_elements <= (1 << 27)) with a mesa_logw(). At
that time, the only games I knew that printed this message (Marvel's
Spider-Man Remastered and Assassin's Creed: Valhalla) only printed
it a few times during startup.

It turns out that The Last Of Us Part II Remastered constantly prints
this message during gameplay. Downgrade it to mesa_logw_once() so we
don't spam the terminal, don't fill disks with log messages and don't
make things slower in general.

Fixes: f3c7e14f091a ("isl: don't assert(num_elements > (1ull << 27))")
Reviewed-by: Dylan Baker <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
(cherry picked from commit 4167b7d51f22f58dc5d0eccd1fc40e31330b76e4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
08876157 by Emma Anholt at 2026-05-13T15:39:17+02:00
ir3: Fix shared IMAD24 lowering.

Caught by
dEQP-VK.spirv_assembly.instruction.compute.opsdotkhr.all_us_v2i16_out32
and friends in !41178

Fixes: b4874aa5cf5 ("ir3: Use scalar ALU instructions when possible")
(cherry picked from commit d8b525466ca4d51a75d460f84697dd497d7c5a43)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
b5ad25f7 by Calder Young at 2026-05-13T15:39:17+02:00
anv: Fix address bit masking for indirect SBTs

Fixes: ce68824 ("anv: fix invalid masking of 48bit address")
(cherry picked from commit 8f7309d9a9053dfa441eb52f131de096303bca7f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
951c6a91 by Calder Young at 2026-05-13T15:39:17+02:00
anv: Fix support for indirect SBTs on Xe3+

Fixes: 6deb195 ("anv: Update RT dispatch globals to use 64bit data structure")
(cherry picked from commit 6aabe5482e51ec28126d4af5285936c04b247a34)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
2c934e20 by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
llvmpipe: fix min_samples + A2C

running a2c in its usual loop fails to update the mask for the current
sample, which breaks successive operations BUT ONLY WHEN RUNNING PER-SAMPLE

cc: mesa-stable

(cherry picked from commit d998456d21d5d327b63aa9e9d7c16538c1f7fb05)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
ec048c1a by Dave Airlie at 2026-05-13T15:39:17+02:00
gallivm: handle llvm 22 coroutine end change

the coroutine end changed return value.

Cc: mesa-stable
Acked-by: Mike Blumenkrantz <[email protected]>
(cherry picked from commit 469270b91499632507a0a0cbb908a1b97f545b97)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
70546eeb by Dave Airlie at 2026-05-13T15:39:17+02:00
gallivm: handle llvm 22 scatter/gather intrinsic changes.

The intrinsics moved alignment to an attribute on the pointer.

Cc: mesa-stable
Acked-by: Mike Blumenkrantz <[email protected]>
(cherry picked from commit 645de2b433f154203ff27ae30eb7b8db816e5843)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
76500630 by Eric R. Smith at 2026-05-13T15:39:17+02:00
panfrost: make sure INDEX_OFFSET is cleared

Ensure the INDEX_OFFSET CSF register is set to 0 before an ordinary
draw. This is normally the case, but indirect draws can change it.

Cc: mesa-stable
Reviewed-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
(cherry picked from commit 2b10a6c37f5284103aac2e87d7f99f9dba5e6575)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
3a7b05db by Eric R. Smith at 2026-05-13T15:39:17+02:00
panfrost: add helper function for checking for active queries

Add a convenience helper function, and use this for checking
whether queries are active. This fixes a bug where we were
basically always using a software fallback for indirect
rendering rather than the CSF hardware loop.

Cc: mesa-stable
Reviewed-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
(cherry picked from commit 80e6b468f435aea09c085b14efff9e70c32ec4dd)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
3c8d2ae5 by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
lavapipe: fix indirect memory copies

this was using the wrong size for the copy

cc: mesa-stable

(cherry picked from commit 87764963f25c51248406d400c8935228b19d4347)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
0f499aab by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
lavapipe: fix pushconst data updating

in a sequence like:
* CmdPushConstants
* CmdBindPipeline (doesn't use push constants)
* CmdDispatch
* CmdBindPipeline (uses push constants)
* CmdDispatch

the previous code would never update pushconsts and the second dispatch
would have no valid data

cc: mesa-stable

(cherry picked from commit f4461b66b696ec9983544203d2945c9f5c0c7673)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
2a321c87 by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
util/format: support 256-bit formats in util_format_get_tilesize()

Fixes: eb64ce43866 ("util: Add a helper for querying sparse tile sizes")
(cherry picked from commit 43051547b66d0756c5b43f056746f03ecf7cfac3)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
ab5864a6 by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
lavapipe: use the right type for DGC mesh draws

cc: mesa-stable

(cherry picked from commit 965beb520c8274ec1875feb567b9b3526bb7f6d0)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
90a31051 by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
lavapipe: rework immutable samplers

samplers can be destroyed whenever, which makes it problematic to store
the pointers into descriptor layouts for embedded samplers. instead,
directly store the descriptor info into the layout, since this is all
constant data which is unaffected by object lifetimes

cc: mesa-stable

(cherry picked from commit 1da8528bbcbad7b9f1a07d622a5c52c9675d0c5e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
9e1bd0a0 by Mike Blumenkrantz at 2026-05-13T15:39:17+02:00
lavapipe: allow fbfetch with shader objects

required by DRLR

cc: mesa-stable

(cherry picked from commit 547dc7a1319fb174486d4fa2182cfcc1d353ae6d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
63e10b7b by Dave Airlie at 2026-05-13T15:39:17+02:00
lavapipe: treat NULL pColorAttachmentLocations as no handles

this fixes a crash seen in:
dEQP-VK.renderpasses.dynamic_rendering.partial_secondary_cmd_buff.local_read.interaction_with_color_write_enable

Cc: mesa-stable
(cherry picked from commit 9cb688af88a72aef8b40937899736561da44427c)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
953fca35 by Emma Anholt at 2026-05-13T15:39:17+02:00
tu: Add capture/replay for sparse buffers and descriptor buffer.

This matches the behavior of radv for these two.

Fixes:
dEQP-VK.binding_model.descriptor_buffer.traditional_buffer.capture_replay.sparse_buffer_descriptor_data_consistency
dEQP-VK.binding_model.descriptor_buffer.traditional_buffer.capture_replay.sparse_buffer_descriptor_data_consistency_and_usage

Fixes: 8feed47fce26 ("tu: Initial support for sparse binding")
(cherry picked from commit 7372c7c9e20341fa0edf0bea62c1b119076628e2)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
9ceee2ca by Connor Abbott at 2026-05-13T15:39:17+02:00
tu: Fix LRZ+FDM offset+secondaries

As the comment says, we need to have an image view in order to disable
LRZ so that secondaries know it's disabled. Noticed by inspection.

Cc: mesa-stable
(cherry picked from commit f590e46b9d72c32231feaee36ca64ee6866413fe)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
2ccc5ca9 by Connor Abbott at 2026-05-13T15:39:17+02:00
tu: Disable LRZ when resuming if the GPU doesn't support tracking

We rely on tu_lrz_flush_valid_at_suspending_rp_boundary() to make sure
that subsequent resuming renderpasses get the correct LRZ state. However
this doesn't work on early a6xx GPUs without tracking support. Disable
LRZ in this case, similar to secondaries.

Cc: mesa-stable
(cherry picked from commit 638b10c5e0baad900d79ef59843c317e3285659a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
2b7615da by Samuel Pitoiset at 2026-05-13T15:39:17+02:00
radv: fix determining needed dynamic states when rasterization is disabled

The vertex input state can be NULL if rasterization is disabled with
dynamic vertex inputs.

The input assembly state can be NULL if rasterization is disabled
and both states are dynamic (primive topology and primitive restart
enable).

This fixes a segfault with gpu-ratemeter vk_dyn.prim

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 87be392251ce04a7755dc05d2d186c2cbffc295f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
9e2f55e8 by Vinson Lee at 2026-05-13T15:39:18+02:00
st/mesa: fix implicit conversion warning in st_atom_framebuffer

../src/mesa/state_tracker/st_atom_framebuffer.c:203:27: warning: implicit conversion from 'unsigned int' to 'uint8_t' (aka 'unsigned char') changes value from 4294967295 to 255 [-Wconstant-conversion]

Fixes: 2b37f233143275d5d11fc0a5f392b8d99c7bad29 ("gallium: fix pipe_framebuffer_state::view_mask")
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Mike Blumenkrantz <[email protected]>
Reviewed-by: Erik Faye-Lund <[email protected]>
(cherry picked from commit 27c870a28359644363547cdc0b18e36fc230e4ba)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
e33fee1e by Louis Montagne at 2026-05-13T15:39:18+02:00
zink: relax build-id length assertion for Mach-O

`disk_cache_init` asserts `build_id_len == BUILD_ID_EXPECTED_HASH_LENGTH`
(20, the size of a GNU build-id SHA1 on ELF). Mach-O has no GNU
build-id; the closest equivalent is `LC_UUID`, which is 16 bytes.
`build_id_length()` therefore returns a non-20 value on macOS and the
assert fires as soon as `ENABLE_SHADER_CACHE` is on.

Relax the assertion to `<=` so any non-empty build id of acceptable
length is accepted while still catching impossibly long ones. The hash
only needs *some* unique-per-build identifier; the actual byte count
hashed is whatever `build_id_length()` returned.

Cc: mesa-stable
Suggested-by: Mike Blumenkrantz <[email protected]>
Signed-off-by: Louis Montagne <[email protected]>
(cherry picked from commit 14992361a4ef6355443b774e8dd2888e6c365af4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
fbf0ec04 by Mike Blumenkrantz at 2026-05-13T15:39:18+02:00
llvmpipe: always set view_index for linear rasterizer

if this is unset, the view index is garbage and any shader accessing it
will read garbage

this is the source of all lavapipe flakes.

cc: mesa-stable

Reviewed-by: Konstantin Seurer <[email protected]>
(cherry picked from commit 099933f00415707e948cae858d5c0dfcbb336536)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
7368c4e2 by Job Noorman at 2026-05-13T15:39:18+02:00
ir3/cf: fix rewriting uses with different dst types

When an instruction has multiple cov uses that have different dst types,
we cannot simple make them all a mov, as some may still have to perform
an actual conversion. Fix this by setting the use's src type to the dst
type of the conversion we just folded.

Signed-off-by: Job Noorman <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15395
Fixes: 3474ba53b5e ("freedreno/ir3/cf: handle multiple cov's properly")
(cherry picked from commit e60e5fe5efb08cf9eb78b747a0143d148d175e41)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
5b6afc7e by Lionel Landwerlin at 2026-05-13T15:39:18+02:00
anv: fix arc artifacts on Farming simulator 2022

Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <[email protected]>
(cherry picked from commit f111dedab629140e552ee962d7b3e0273be39f0a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
08ab11f1 by Vinson Lee at 2026-05-13T15:39:18+02:00
vulkan/screenshot-layer: initialize info to NULL

Initialize 'info' to NULL to avoid use of potentially uninitialized
value at the cleanup label when an earlier error causes a goto before
png_create_info_struct() is reached.

screenshot.cpp:808:9: warning: variable 'info' is used uninitialized whenever 'if'
condition is true [-Wsometimes-uninitialized]
screenshot.cpp:814:9: warning: variable 'info' is used uninitialized whenever 'if'
condition is true [-Wsometimes-uninitialized]

Fixes: eda55c7c2f69 ("vulkan/screenshot-layer: Add Vulkan screenshot layer")
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Casey Bowman <[email protected]>
(cherry picked from commit 4c46cd8e9dea94a4b6d94fefa0d0f58730c1b16f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
ae0a4652 by Emma Anholt at 2026-05-13T15:39:18+02:00
screenshot-layer: Fix leftover VK queues in the map at DeviceDestroy.

Noticed when the compiler said device_destroy_queues() was unused.

Fixes: 111faf215886 ("vulkan/screenshot-layer: Correct queueFamilyIndex source")
(cherry picked from commit 25723e3a3714e79b0459f6a534c93c0d96e63f62)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
5d875c43 by Job Noorman at 2026-05-13T15:39:18+02:00
ir3/shared_ra: use ir3_cursor instead of instr in reload helpers

Signed-off-by: Job Noorman <[email protected]>
Fixes: fa22b0901af ("ir3/ra: Add specialized shared register RA/spilling")
(cherry picked from commit c50c06d83f5632be2dd8a8e7a1a8743c70357f63)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
a43eed5b by Job Noorman at 2026-05-13T15:39:18+02:00
ir3/shared_ra: insert reloads before tied dst pcopies

The parallel copies use the reloaded values in their srcs so make sure
reloads happen before them.

Fixes a RA validation error in Windrose.

Signed-off-by: Job Noorman <[email protected]>
Fixes: fa22b0901af ("ir3/ra: Add specialized shared register RA/spilling")
(cherry picked from commit c67118a6ebef15657b725d2510e7605c06717403)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
0cf06034 by Ahmed Hesham at 2026-05-13T15:39:18+02:00
pan/bi: Restore b3210 as a valid swizzle

`b3210` was not removed in v11, and is causing a failure in
OpenCL-CTS when running `test_basic
vector_swizzle`. `invalid_instruction` assertion was triggered with
the message:
```
Invalid 8-bit widen:
                r3 = LSHIFT_OR.v4i8.flow2 u1.b3210, u256, u256.b0
```

Restore `b3210` in the ISA XML file, and handle the case for it in
`va_pack_widen`.

Fixes: c36326d3 ("pan/bi: Remove b3210 from valid swizzle")

Signed-off-by: Ahmed Hesham <[email protected]>
Reviewed-by: Lorenzo Rossi <[email protected]>
Reviewed-by: Christoph Pillmayer <[email protected]>
(cherry picked from commit 2b1d9a2afcc74185c1f901a2949c87b0288fad84)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
9be16393 by Jon Turney at 2026-05-13T15:39:18+02:00
ddebug: Fix use of alloca() without #include "c99_alloca.h"

Fixes: 6fe6c18c12ed ("util: add/use new os_mkdir() function")
Signed-off-by: Jon Turney <[email protected]>
(cherry picked from commit 2b9e491b6789f60a7993cc9b74fe5ac7fa60c9c5)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
72b5aad5 by Mike Blumenkrantz at 2026-05-13T15:39:18+02:00
lavapipe: update cbuf count when remapping attachments

handle cases where attachments are remapped to higher indices than
the renderpass was created with

fixes:
dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.local_read.mapping_*_attachments_to_locs_from_*

cc: mesa-stable

(cherry picked from commit 563259eaa943c2804717630b9d42adcaf69d60c9)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
fa31e5e2 by Mike Blumenkrantz at 2026-05-13T15:39:18+02:00
lavapipe: unset attachment remap state if pColorAttachmentLocations==NULL

cc: mesa-stable

(cherry picked from commit abc6f351b1f5e1dfa84bf6320a842886b02b8131)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
97ce3852 by Mike Blumenkrantz at 2026-05-13T15:39:18+02:00
lavapipe: fix setting colormasks when attachments get remapped

this requires blend state updates

cc: mesa-stable

(cherry picked from commit 2e9e8e9a3667c0669bce34df2f9e29e313caf0ac)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
826281a2 by Calder Young at 2026-05-13T15:39:18+02:00
anv: Fix some usage flags not propagated to ISL for explicit layouts

Some vulkancts tests rely on vkGetImageMemoryRequirements to return the same
exact size after exporting and importing an image. This broke when we started
adding padding to sampled surfaces to manage overfetch, because the texture
usage flag does not get applied to the ISL surface when the image is recreated
using an explicit layout.

Fixes: 8d13628f7 ("isl: Add additional alignment/padding requirements to prevent overfetch")
Reviewed-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
(cherry picked from commit efc6a3053d113ee51ccc47e5caec58dc72f9362a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
57945596 by Karol Herbst at 2026-05-13T15:39:18+02:00
nir/lower_cl_images: call nir_progress on every function

llvmpipe supports real function calls, so we need to call nir_progress on
every function, not just the entry point.

Cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Acked-by: Adam Jackson <[email protected]>
(cherry picked from commit 3df48dec239db3d3af2836749b312554fda78411)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
e9b5e353 by Karol Herbst at 2026-05-13T15:39:18+02:00
gallivm/nir/soa: use uint for booleans

Otherwise we'll hit a LLVM assert when handling load_const:
llvm/include/llvm/ADT/APInt.h:121: llvm::APInt::APInt(unsigned int, uint64_t, bool, bool): Assertion `llvm::isIntN(BitWidth, val) && "Value is not an N-bit signed value"' failed.

Cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Acked-by: Adam Jackson <[email protected]>
(cherry picked from commit 4bad47e99190fb60d69d8ee04f9193827b204f9a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
7c78533e by Karol Herbst at 2026-05-13T15:39:18+02:00
llvmpipe: never pass a NULL function name to LLVMAddFunction

LLVM seems to crash otherwise.

Cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Acked-by: Adam Jackson <[email protected]>
(cherry picked from commit 75d9cb0b323cd40d90fe3d6b8fc57fdeb0a18873)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
5ec344df by Icenowy Zheng at 2026-05-13T15:39:18+02:00
pvr: setup viewindex if the shader wants it even when multiview disabled

It's possible to use a shader that has ViewIndex input when multiview
isn't enabled. According to the Vulkan specification, when multiview
isn't enabled in a renderpass, the value of the ViewIndex input should
be 0.

However currently the driver does not emit execution of the PDS code
setting up view index, which leads to stale value to remain in
ViewIndex.

Setup the PDS code for setting view index and emit the command stream
for executing that PDS code when the shader wants ViewIndex, even if
multiview isn't enabled.

Fixes: 9d48088428bf ("pvr: add view index support for vertex shaders")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Nick Hamilton <[email protected]>
(cherry picked from commit 3afc792dc8969abb21dfd3395a19a4478ffca39e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
4086191e by Christoph Pillmayer at 2026-05-13T15:39:18+02:00
pan/kmod: Fix uninitialized timestamp info

The kernel looks at drm_panthor_timestamp_info::flags, so it can't be
uninitialized.

Fixes: 302127fe ("pan/kmod: Add timestamp uapi support")
Reviewed-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
(cherry picked from commit 109af1b077a7ff52b22830848ea7d88fedd28d75)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
5042e8ee by Lionel Landwerlin at 2026-05-13T15:39:18+02:00
anv: fixup null address check

Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <[email protected]>
(cherry picked from commit 7adece7ce0b1d37999887bb6e2f64ddad995c676)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
ee15c432 by Samuel Pitoiset at 2026-05-13T15:39:19+02:00
radv: allow DGC+multiview by default

It's now allowed in Vulkan.

Fixes: e47d584fede ("radv: re-introduce DGC+multiview support and enable it for vkd3d-proton only")
Signed-off-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 470897f94600064f0489a4946ab158462e0ec4f7)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
a9ef72f4 by Samuel Pitoiset at 2026-05-13T15:39:19+02:00
radv: do not fallback to compute for image->buffer copies with emulated formats

This shouldn't be necessary because SDMA can detile the image just fine,
only buffer->image and image->image need to fallback.

It just works on GFX10+ because RADV is using NBC views, and I think
it works on eg. VEGA10 just by luck due to different
swizzles/alignments.

Fixes: 3d803d7a2e0 ("radv: Use compute copy for emulated formats")
Signed-off-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 5a95658fa844a7ee0071bcdd0124226991a4a5ba)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
5be3b1c0 by Jose Maria Casanova Crespo at 2026-05-13T15:39:19+02:00
v3dv: include mem_offset in vkCmdFillBuffer destination

v3dv_CmdFillBuffer was passing only the user-supplied dstOffset to
meta_fill_buffer, ignoring the destination VkBuffer's mem_offset.
When several VkBuffers share one VkDeviceMemory at different offsets
(sub-allocation) the fill landed on whichever VkBuffer was
bound at offset 0 of the memory object instead of the requested one.

Fixes: 5ed78d91fed ("v3dv: implement vkCmdFillBuffer")
Assisted-by: Claude Opus 4.7
Reviewed-by: Iago Toral Quiroga <[email protected]>
(cherry picked from commit 8bd7f1d44bd00362a6a0db7614ef53a8b81b3db8)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
d5a8b1ab by Mike Blumenkrantz at 2026-05-13T15:39:19+02:00
zink: fix mixing of mesh descriptor bindings with gfx bindings

this is illegal, need separate everything

cc: mesa-stable

(cherry picked from commit 131eb491219d9635b6e2a2baf388607aa1d2b991)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
dcb77390 by Job Noorman at 2026-05-13T15:39:19+02:00
ir3: don't cache driver param instructions

We create driver param instructions once we encounter their first use
and cache them for further uses. This creates problems when the first
use occurs in a block that doesn't dominate all further uses. This was
hit in practice with a driver param that was used both in the preamble
and in the main shader.

Fix this by simply not caching driver params. Since they are simply movs
from const regs, ir3_cp or ir3_cse should clean up most cases of
multiple uses.

Signed-off-by: Job Noorman <[email protected]>
Fixes: 8b0b81339b9 ("freedreno/ir3: add NIR compiler")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15418
(cherry picked from commit d8e1409948af46cde76de50347b6d560cd434a89)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
4945cf1b by Samuel Pitoiset at 2026-05-13T15:39:19+02:00
spirv: preserve the explicit stride for untyped pointers with matrices

Make sure to cast with the deref type that contains more information
than the returned type because it's valid in SPIR-V.

This fixes dEQP-VK.binding_model.descriptor_heap.graphics.*_vectors and
also the PositiveGpuAV.HeapWithUntypedPointers VVL test.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 975ae012087a74491c75972583ab6d3197566b80)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
2cb80822 by Erik Faye-Lund at 2026-05-13T15:39:19+02:00
mesa/main: remove stale prototypes

Fixes: 88b6e46ee3c ("mesa: remove unused image debug code")
Reviewed-by: Christian Gmeiner <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Eric R. Smith <[email protected]>
(cherry picked from commit e76ff764750bece193a682016b3864733f9fa168)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
6f582129 by Erik Faye-Lund at 2026-05-13T15:39:19+02:00
mesa/main: remove incorrect debug-output

This message was incorrect from the time it was introduced; the function
can return other error messages. If that happened in reality or not was
a bit more unsure, but that's not a good reason to make a blanket
statement like this. In either case, we do track properly now, and we
have for a long time.

The other, similar message in this function is correct.

Fixes: 916bc4491a2 ("mesa: Implement proper tracking logic for glGetGraphicsResetStatusARB")
Reviewed-by: Christian Gmeiner <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Eric R. Smith <[email protected]>
(cherry picked from commit afe3f2801370fbd8cc9a0eb90baae26488741bd2)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
df3a0e12 by Georg Lehmann at 2026-05-13T15:39:19+02:00
radv: fix amount of sample shading with required sample shaded inputs

The Vulkan spec says:

If a fragment shader entry point statically uses an input variable
decorated with a BuiltIn of SampleId or SamplePosition,
sample shading is enabled and a value of 1.0 is used instead of minSampleShading.
If a fragment shader entry point statically uses an input variable decorated
with Sample, sample shading may be enabled and a value of 1.0 will be
used instead of minSampleShading if it is.

This means we have to overwrite the command buffer state entirely.

Cc: mesa-stable

Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit e7a035df653f1135cfffbbe152f0ae69beeec3b4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
cce6f089 by Erik Faye-Lund at 2026-05-13T15:39:19+02:00
Revert "mesa: check for ARB_ES3_compatibility in format checks"

This reverts commit d5916cb3ca7af90f81639d91922efecf9e713fda.

The GL_ARB_ES3_compatibility spec, says the following:

> Issues
>
>     1) OpenGL-ES 3.0 contains several features that have been deprecated from
>        the latest OpenGL Core specification. These were retained in OpenGL-ES
>        3.0 in order to provide backwards compatibility with OpenGL-ES 2.0. Those
>        features are:
>
> [snip]
>
>         * Legacy pixel formats - all ALPHA, LUMINANCE, LUMINANCE_ALPHA
>
> [snip]
>
>        Should we bring these features back into the OpenGL 4.x Core specification
>        so that it is a complete super-set of OpenGL-ES 3.0?
>
>        RESOLVED: No, these will not be brought back into OpenGL 4.x Core. Apps
>        written for OpenGL-ES 3.0 that want to also be compatible with OpenGL
>        should make sure they don't use these features.

So, it seems pretty clear that we shouldn't have included these formats
here. So let's remove them.

Turns out, this is a CTS bug, see this for more details:
https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/6191

Fixes: d5916cb3ca7 ("mesa: check for ARB_ES3_compatibility in format checks")
(cherry picked from commit b92719f9267280c5cab633c4acbb2455ee73b934)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
287987ff by Erik Faye-Lund at 2026-05-13T15:39:19+02:00
mesa/main: remove unused array

The values here are only ever set to GL_TRUE, and never ever changed, so
let's just rip it out.

Fixes: 37190ad932a ("mesa: drop texformat code this isn't used.")
Reviewed-by: Iago Toral Quiroga <[email protected]>
(cherry picked from commit 4916cee43968cbd86588aa5caa3552df5818d1c1)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
a6e63d01 by llyyr at 2026-05-13T15:39:19+02:00
vulkan/wsi/wayland: use mtx helpers in wait_for_present2

present_ids.lock is a mtx_t object, and the rest of the file already
uses mtx_(un)lock helpers.

Fixes: 3023f31cadc9 ("wsi/wayland: Add support for PresentWait2")
Signed-off-by: llyyr <[email protected]>
(cherry picked from commit b11f0ce609e4b38bc889b9d4d727a6b78e6035a7)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
25f79379 by Karol Herbst at 2026-05-13T15:39:19+02:00
ci: install libstdc++-static on fedora

(cherry picked from commit 5512680581f25cf4b3b3e9e8be6d5e9813ecd4ae)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
eced50db by Karol Herbst at 2026-05-13T15:39:19+02:00
rusticl: link the C++ runtime statically

Apparently some applications don't have their C++ situation under control.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/14090
(cherry picked from commit 528ceeb49b95b0797979c85b959fa543253fa0b3)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
6b27a4a3 by Marek Olšák at 2026-05-13T15:39:19+02:00
radeonsi: fix a typo in si_shader_update_spi_shader_formats

The failure is reproducible with:
    AMD_DEBUG=mono piglit/bin/fbo-drawbuffers-none use_frag_out -auto -fbo

Fixes: 88986dcc9c8 - radeonsi: account for outputs_written when updating spi_shader_col_format

Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
(cherry picked from commit 5e6952307d930642b61d78c71a9ce56e3069a5d6)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
00967135 by Samuel Pitoiset at 2026-05-13T15:39:19+02:00
radv: fix another case of VRS with mipmaps on GFX10.3

When a VRS view is used with a depth/stencil view, the driver is
expected to copy the VRS rates to the HTILE buffer of the depth/stencil
view. Though if the image uses mipmaps and the base level can't support
HTILE there is no way to copy the rates. The workaround is to force VRS
to be 1x1 which is valid in Vulkan.

This fixes old VKCTS failures on RAPHAEL just because it supports
fragmentShadingRateWithShaderDepthStencilWrites compared to other GPUs
in CI (NAVI21/VANGOGH).

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit da0ee50c3b6f2ec7f8706bb9635d2809d377d6bd)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
ca89a694 by Georg Lehmann at 2026-05-13T15:39:19+02:00
ac/nir/lower_tex_coords: fix optimizing cube txd to tex

We need to remove ddx/ddy before doing the cube lowering,
otherwise we insert instructions that break dominance.

Affects Sable.

Fixes: 7d552d71e94 ("ac/nir: optimize txd(coord, ddx/ddy(coord))")
Reviewed-by: Rhys Perry <[email protected]>
(cherry picked from commit d256c1f49e2c1a833e5679f19e4146106625d1a7)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
1d37a56a by Mel Henning at 2026-05-13T15:39:19+02:00
nvk: Add a wfi for blackwell in CmdDispatchIndirect

This fixes CTS flakes in several tests, for example:
dEQP-VK.synchronization.signal_order.shared_binary_semaphore.write_copy_buffer_read_ssbo_compute_indirect.buffer_262144_opaque_fd

Fixes: 1c77a6f049d ("nvk: Don't emit MME FIFO config on Blackwell+")
Reviewed-by: Mary Guillemard <[email protected]>
(cherry picked from commit 1e114e2dce16dc0a3bda0be70448f105f81e4d3f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
dad2ee26 by Mel Henning at 2026-05-13T15:39:20+02:00
nvk: Disable compression on Turing

We've had multiple reports that this is broken on Turing right now.
Disable it until someone figures out what's wrong.

See also: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15358

Fixes: b524bf368e8 ("nvk: Reenable compression support with nouveau 1.4.2")
Reviewed-by: Karol Herbst <[email protected]>
Reviewed-by: Mary Guillemard <[email protected]>
(cherry picked from commit e81a292165add2997276dd30cd65381aa49ca72d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
bb8b01ef by Mike Blumenkrantz at 2026-05-13T15:39:20+02:00
meson: fix renderdoc integration define

this should be an integer

Fixes: 93390d4b73d ("vk/runtime,zink: only integrate renderdoc on supported platforms")
(cherry picked from commit afa9ab41b9f7adf83af648a068b8fe39a4eda5d0)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>

- - - - -
07b6bb21 by Eric Engestrom at 2026-05-14T09:49:34+02:00
docs: add release notes for 26.0.7

- - - - -
27cdb9ff by Eric Engestrom at 2026-05-14T09:49:34+02:00
VERSION: bump for 26.0.7

- - - - -


93 changed files:

- .gitlab-ci/container/fedora/x86_64_build.sh
- .gitlab-ci/image-tags.yml
- .pick_status.json
- VERSION
- docs/relnotes.rst
- docs/relnotes/26.0.6.rst
- + docs/relnotes/26.0.7.rst
- meson.build
- src/amd/ci/radv-raphael-fails.txt
- src/amd/ci/radv-renoir-fails.txt
- src/amd/common/nir/ac_nir_lower_tex.c
- src/amd/vulkan/meta/radv_meta_copy.c
- src/amd/vulkan/radv_cmd_buffer.c
- src/amd/vulkan/radv_instance.c
- src/amd/vulkan/radv_instance.h
- src/amd/vulkan/radv_pipeline_graphics.c
- src/amd/vulkan/radv_sdma.c
- src/amd/vulkan/radv_sdma.h
- src/broadcom/compiler/nir_to_vir.c
- src/broadcom/vulkan/v3dv_meta_copy.c
- src/compiler/nir/nir_lower_cl_images.c
- src/compiler/spirv/vtn_variables.c
- src/freedreno/ci/freedreno-a618-fails.txt
- src/freedreno/ci/freedreno-a660-fails.txt
- src/freedreno/ci/freedreno-a750-fails.txt
- src/freedreno/ir3/ir3_cf.c
- src/freedreno/ir3/ir3_compiler_nir.c
- src/freedreno/ir3/ir3_context.h
- src/freedreno/ir3/ir3_shared_ra.c
- src/freedreno/vulkan/tu_buffer.cc
- src/freedreno/vulkan/tu_cmd_buffer.cc
- src/freedreno/vulkan/tu_device.cc
- src/freedreno/vulkan/tu_lrz.cc
- src/gallium/auxiliary/driver_ddebug/dd_draw.c
- src/gallium/auxiliary/gallivm/lp_bld_coro.c
- src/gallium/auxiliary/gallivm/lp_bld_gather.c
- src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
- src/gallium/drivers/llvmpipe/lp_rast_linear_fallback.c
- src/gallium/drivers/llvmpipe/lp_state_cs.c
- src/gallium/drivers/llvmpipe/lp_state_fs.c
- src/gallium/drivers/panfrost/pan_cmdstream.c
- src/gallium/drivers/panfrost/pan_context.h
- src/gallium/drivers/panfrost/pan_csf.c
- src/gallium/drivers/panfrost/pan_jm.c
- src/gallium/drivers/radeonsi/si_shader_variant_info.c
- src/gallium/drivers/zink/zink_descriptors.c
- src/gallium/drivers/zink/zink_screen.c
- src/gallium/drivers/zink/zink_types.h
- src/gallium/frontends/lavapipe/ci/lvp-asan-fails.txt
- src/gallium/frontends/lavapipe/ci/lvp-fails.txt
- src/gallium/frontends/lavapipe/lvp_descriptor_set.c
- src/gallium/frontends/lavapipe/lvp_execute.c
- src/gallium/frontends/lavapipe/lvp_pipeline.c
- src/gallium/frontends/lavapipe/lvp_private.h
- src/gallium/frontends/mediafoundation/codecapi.cpp
- src/gallium/frontends/mediafoundation/meson.build
- src/gallium/frontends/va/postproc.c
- src/gallium/targets/rusticl/meson.build
- src/imagination/ci/bxs-4-64-fails.txt
- src/imagination/ci/bxs-4-64-flakes.txt
- src/imagination/vulkan/pvr_arch_cmd_buffer.c
- src/imagination/vulkan/pvr_arch_cmd_query.c
- src/imagination/vulkan/pvr_arch_queue.c
- src/imagination/vulkan/pvr_blit.h
- src/imagination/vulkan/pvr_cmd_buffer.h
- src/imagination/vulkan/pvr_physical_device.c
- src/imagination/vulkan/rogue/pvr_blit.c
- src/intel/compiler/brw/brw_compile_cs.cpp
- src/intel/genxml/meson.build
- src/intel/isl/isl.c
- src/intel/isl/isl_surface_state.c
- src/intel/vulkan/anv_image.c
- src/intel/vulkan/genX_cmd_compute.c
- src/intel/vulkan/genX_cmd_draw_helpers.h
- src/intel/vulkan/i915/anv_device.c
- src/mesa/main/context.c
- src/mesa/main/debug.h
- src/mesa/main/glformats.c
- src/mesa/main/mtypes.h
- src/mesa/main/robustness.c
- src/mesa/state_tracker/st_atom_framebuffer.c
- src/nouveau/vulkan/nvk_cmd_dispatch.c
- src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c
- src/panfrost/compiler/bifrost/valhall/ISA.xml
- src/panfrost/compiler/bifrost/valhall/va_pack.c
- src/panfrost/lib/kmod/panthor_kmod.c
- src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c
- src/util/00-mesa-defaults.conf
- src/util/00-radv-defaults.conf
- src/util/driconf.h
- src/util/format/u_format.c
- src/vulkan/screenshot-layer/screenshot.cpp
- src/vulkan/wsi/wsi_common_wayland.c


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/-/compare/0e095aab431e11d5713d819b66bf1d0b11658f40...27cdb9ff9315a904b9827f9e711e68bb5e856e50

-- 
View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/-/compare/0e095aab431e11d5713d819b66bf1d0b11658f40...27cdb9ff9315a904b9827f9e711e68bb5e856e50
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help