Commit graph

214279 commits

Author SHA1 Message Date
Iago Toral Quiroga
c90d00f58d nir/opt_vectorize_load_store: allow sizes unaligned with high offset for loads
This was added specifically for vectorized stores, so allow for loads.

Without this, the pass will fail to vectorize 2 consecutive 16-bit loads
into a single 32-bit load.

Fixes: 2ed79f80ba ("nir/load_store_vectorize: Skip new bit-sizes that are unaligned with high_offset")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
(cherry picked from commit f6a2d14008)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 12:23:16 -08:00
Reilly Brogan
6d7677f937 amd,compiler: fix const errors found with C23 glibc support
In glibc 2.43 the strstr function now propagate const to the output, triggering -Wincompatible-pointer-types-discards-qualifiers
under clang/gcc with -Werror.

Fix two of these cases by adding the const qualifier.

cc: mesa-stable

(cherry picked from commit ece5f671b3)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 12:23:16 -08:00
Vinson Lee
67875adcba compiler/clc: Fix const correctness in libclc_add_generic_variants
Fix compiler error:

../src/compiler/clc/nir_load_libclc.c:266:13: error: initializing
'char *' with an expression of type 'const char *' discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  266 |       char *U3AS1 = strstr(func->name, "U3AS1");
      |             ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~

glibc now provides C23-style type-generic string functions. strstr
returns const char * when passed a const char * argument. Update U3AS1
declaration to const since it's only used for offset calculation.

Fixes: 4a08ee7ecf ("spirv/libclc: Add generic versions of arithmetic functions")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
(cherry picked from commit 85fd63068e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 12:23:16 -08:00
Christian Gmeiner
32aa33606e pan/compiler: Fix progress reporting in pan_nir_lower_store_component
lower_store_component() always returns false even though it modifies
NIR instructions (rewrites sources, creates new SSA defs, removes
previous stores). This triggers the "NIR changed but no progress
reported" assertion in nir_shader_intrinsics_pass.

Return true when a store_output or store_per_view_output intrinsic is
processed, since the function always modifies the shader in that case.

Closes: https://gitlab.freedesktop.org/panfrost/mesa/-/issues/274
Cc: mesa-stable
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
(cherry picked from commit 4938ad435e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 12:23:16 -08:00
Yiwei Zhang
c78d272958 venus: remove obsolete asserts for ANB image creation
Those have long been supported by vn_image_deferred_info_init because of
AHB support. For non-aliased ANB image, those are directly passed from
the platform swapchain create info as well. So we just need to drop the
obsolete asserts to make newer Android platform and ANGLE happy.

Cc: mesa-stable
(cherry picked from commit 091c4f43ff)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 12:23:16 -08:00
Dylan Baker
ef44834cb4 .pick_status.json: Update to a1a5dd7e2f
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 12:23:16 -08:00
Karol Herbst
6971c8e2eb vtn/opencl: flush denorms for cbrt()
libclc doesn't so we have to. fixes math_brutefore cbrt on Iris.

This uses an exact fmul 1.0 instead of fcanonlize, because the latter got
added with 26.0.

Co-authored-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
(cherry picked from commit af954427bf)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-10 16:20:48 +01:00
Calder Young
6d1c919fc4 anv: Avoid dumping BVH before command buffer is submitted
Fixes a race condition where a BVH will be dumped before its command buffer is
actually submitted if a different command buffer completes between the time the
BVH dump is recorded and the time the command buffer is actually submitted.

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Fixes: 1b55f101 ("anv/bvh: Dump BVH synchronously upon command buffer completion")
(cherry picked from commit 95e471e558)

Conflicts:
	src/intel/vulkan/genX_acceleration_structure.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 15:08:40 -08:00
Tapani Pälli
b064315d19 iris: set DisableAnyMCTRresponsefix to zero on init
This is to make sure early culling related Wa_16020518922 is enabled
properly.

Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 331238e44e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 15:01:48 -08:00
Samuel Pitoiset
830aef216c radv/meta: fix the key for DCC decompress on compute
This could return the graphics DCC pipeline if it was created before,
and crash or potentially hang the GPU.

Found this while working on in-progress VKCTS coverage.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit ad7151f4bf)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 14:49:14 -08:00
Zan Dobersek
953b02e2d0 tu/kgsl: wait-only submit handling should not ignore sparse bind commands
Commit cf4bd2e412 added a fast path for handling no-command submits to
accommodate a kernel behavior quirk. Sparse support was complete before
that change but landed afterwards, leaving sparse submits that don't have
command buffers but do have sparse bind commands to take that fast path,
leaving the bind commands unhandled. The condition for the fast path is
fixed to address that.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Fixes: 71ef46717c ("tu/kgsl: Add support for sparse binding")
(cherry picked from commit 5b33ee9f0b)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 14:49:14 -08:00
Mel Henning
d578c1cb31 zink: Emit float controls for preserve_denorms too
Fixes: 6afa1b3bad ("zink: handle denorm preserve execution modes")
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
(cherry picked from commit 9189a70598)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 14:49:11 -08:00
Tapani Pälli
79796e0db4 anv: set DisableAnyMCTRresponsefix to zero on init
This is to make sure early culling related Wa_16020518922 is enabled
properly.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14204
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 9aaed82543)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 14:49:09 -08:00
Tapani Pälli
971709661d intel/genxml: add CHICKEN_RASTER_2 with required bit for Xe3
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 61b5e91bba)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 14:49:08 -08:00
Dylan Baker
daf7817e5c .pick_status.json: Update to efb5ab1e4b
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
2026-02-06 14:49:07 -08:00
Dylan Baker
39f24bf409 docs: Add 25.3.5 SHA sums
Some checks failed
macOS-CI / macOS-CI (dri) (push) Has been cancelled
macOS-CI / macOS-CI (xlib) (push) Has been cancelled
2026-02-06 13:49:59 -08:00
Dylan Baker
8418351c7c
VERSION: bump 25.3.5
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
2026-02-06 13:26:41 -08:00
Dylan Baker
bc32acd945 docs: add release notes for 25.3.5 2026-02-06 13:25:44 -08:00
Dylan Baker
eb51342a9a CI: update zink on tu-a750 expectations
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
These tests were marked as fixed on main by a commit not in the staging
branch, and we've decided to mark them as okay to pass and move on.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-06 11:58:19 -08:00
Loïc Molinari
95f5e7021f panfrost: Fix clean_pixel_write_enable forced check for AFBC
Clean tiles must actually be written back for AFBC buffers (color,
z/s) when either one of the effective tile size dimension is smaller
than the superblock dimension. This commit fixes the current check
which compares the effective tile size to the superblock size.

Fixes: 762a0f4133 ("panfrost: Add the concept of render block")
Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
(cherry picked from commit 098b69a05c)

Conflicts:
	src/panfrost/ci/panfrost-g925-fails.txt

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:13:40 -08:00
Valentine Burley
3d098203e3 tu: Fix memory leak of patchpoints_ctx in dynamic rendering
tu_CmdBeginRendering was unconditionally allocating a new
patchpoints_ctx. When resuming a render pass chain, this overwrote the
existing context from the suspended pass, leaking it and all associated
FDM patchpoints.

Fixes: 0dd06c74d6 ("tu: Fix FDM patchpoint memory leak")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
(cherry picked from commit d4ad50752f)

Conflicts:
	src/freedreno/vulkan/tu_cmd_buffer.cc

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:13:22 -08:00
Emma Anholt
6c2a8daf42 ci/tu: Clear stale xfails from the nightlies.
Fixes: 63243bcc3e ("tu: Fix TU_DRAW_STATE_VB size")
(cherry picked from commit c0a4d3ef1e)

Conflicts:
	src/freedreno/ci/freedreno-a660-fails.txt

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:11:52 -08:00
Samuel Pitoiset
fa6fef51eb radv: emit pending flushes after late decompressions with fbfetch
If the rendering state is inherited in the secondary, otherwise nothing
wait for the pending flushes after a decompression pass. One more
argument to stop delaying this.

Fixes
dEQP-VK.renderpasses.dynamic_rendering.partial_secondary_cmd_buff.local_read.*

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 13c9e529bd)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:59 -08:00
Samuel Pitoiset
ab3ed169cf radv: disable unordered submits when SQTT queue events are enabled
Otherwise the QueuePresent event is missing and RGP is confused.

Fixes: 82d06b58ad ("radv: use vk_drm_syncobj_copy_payloads")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 83ca338e37)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:59 -08:00
Hyunjun Ko
47785c775f anv/video: disable encoder on untested platforms
Not enough tested on over Gen12 platforms.
Turns out to be not working on DG2, for example.

Cc: mesa-stable
Closes: #14449

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit d2c24a0d8b)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:58 -08:00
Konstantin Seurer
be49817c04 radv/rra: Fix nullptr dereference
cc: mesa-stable

Reviewed-by: Natalie Vock <natalie.vock@gmx.de>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
(cherry picked from commit 2f3a9c10f4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:53 -08:00
Lucas Stach
4f62a994ad etnaviv: idle the pipe before flushing texture caches
As seen in the Vivante kernel driver function gckHARDWARE_Flush(),
GPUs without gcvFEATURE_TEX_CACHE_FLUSH_FIX, which translates to
all GPUs before halti5, need a full stall of the GPU pipeline
before flushing the texture caches.

This fixes sporadic GPU hangs observed in use-cases where texture
data updates are intermixed with draws without any state changes
that might necessitate a stall.

Cc: mesa-stable
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
(cherry picked from commit 643ba9a784)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:53 -08:00
Emma Anholt
67980172a6 lima/ci: Remove erroneous skips.
When you get UnexpectedResult(skip), that means take your xfail out
because it's now skipping.  Which is the fix, instead of "take the xfail
out and add it to manual skips".

Fixes: e54440d15e ("Uprev Piglit to a3826de3c26a279599d15b018a9a3e75ca46f4f8")
(cherry picked from commit 42e17a948e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:44 -08:00
Juan A. Suarez Romero
5c3f632104 broadcom/cle: bump up gen version for v3d
The generation version for V3D XML package was marked as 3.3, but
actually we removed all the code supporting this generation, and the
generations we support now are from 4.2 onwards.

So we bump up the generation version.

Fixes: 9c4829473a ("broadcom/cle: remove v33 and v41 from xml definition")
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
(cherry picked from commit 5a85b3d9f4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:43 -08:00
Dylan Baker
2dca70bd9c .pick_status.json: Update to 248b818407
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-04 09:06:27 -08:00
Nanley Chery
8f2b13ee0b anv: Don't set the display flag on WSI blit sources
These images are never used with scanout hardware.

Fixes: 2c00b7d1e6 ("anv: flag WSI images as scanout images for ISL")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
(cherry picked from commit c429d7479e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:29:45 -08:00
Nanley Chery
86002079a0 anv: Treat non-WSI PRESENT_SRC as TRANSFER_SRC
For non-WSI images, explicitly map VK_IMAGE_LAYOUT_PRESENT_SRC_KHR to
VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL in anv_layout_to_aux_state().

Before this patch, the function passed PRESENT_SRC into
vk_image_layout_to_usage_flags() and got a return value of 0 from it
(that function expects that layout to be explicitly handled by the
caller). This caused the logic dependent on the return value to be
unreliable.

Fixes: c5cad407f8 ("anv: handle non-wsi images in anv_layout_to_aux_state")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
(cherry picked from commit f616d4fb2a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:29:45 -08:00
Nanley Chery
2f31061e4c anv: Fix clear state of WSI blit sources during presentation
On gfx12+, this fixes assert failures in hybrid GPU scenarios.

Fixes: 811c413f98 ("anv: Don't return the Xe2+ fast-clear type early")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
(cherry picked from commit 476f461ce7)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:29:43 -08:00
Nanley Chery
876e6b6603 anv: Don't return the Xe2+ fast-clear type early
Don't return early from anv_layout_to_fast_clear_type() for Xe2+. We'll
need to make more use of the function for some MCS changes in later
commits.

Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
(cherry picked from commit 811c413f98)

Conflicts:
	src/intel/vulkan/anv_image.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:29:08 -08:00
Dylan Baker
d4f2439b8a .pick_status.json: Mark 3275be503c as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:22:31 -08:00
Dylan Baker
ce6e370b7a .pick_status.json: Mark 0d7705c206 as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:22:30 -08:00
Dylan Baker
9f679d4b3d .pick_status.json: Mark ad23e02a28 as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:22:30 -08:00
Dylan Baker
73a7eb5117 .pick_status.json: Mark 62254ab0be as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:22:30 -08:00
Dylan Baker
73a6ac075c .pick_status.json: Mark 15328a5ef3 as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 13:22:29 -08:00
Samuel Pitoiset
e9f76947ae radv: fix tracking of pipelines used in secondaries
This is just wrong if the secondary uses ESO because the emitted
pipelines would be NULL in the secondary, but if the app re-binds
the same pipeline in the primary it would consider it as already
emitted. A sequence like this would break:

CmdBindPipeline(compute)
CmdDispatch()
CmdExecuteCommands() --> with ESO compute
CmdBindPipeline(compute)
CmdDispatch()

This tracking is probably useless anyways because it's unlikely that
apps will rebind the same pipeline right after CmdExecuteCommands() but
let's keep it because this is a bugfix.

Fixes
dEQP-VK.api.command_buffers.pipeline_shader_object_mix_with_secondaries.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 9ad02b5724)

Conflicts:
	src/amd/vulkan/radv_cmd_buffer.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 10:42:24 -08:00
Nick Hamilton
1ca310ea0a pco: Fix for atomic operations on an image buffer
Within the driver buffers are treated as 2D as sampling them as 1D
will run into HW restrictions on max size.

The compiler does the same however for atomic image ops the address
is manually calculated and doing this via the 2D path leads to
incorrect offsets.

The fix is to treat buffers as 1D for atomic ops which calculates
the correct offsets for the operations.

Fix deqp:
dEQP-VK.image.atomic_operations.add.buffer.*
dEQP-VK.image.atomic_operations.and.buffer.*
dEQP-VK.image.atomic_operations.compare_exchange.buffer.*
dEQP-VK.image.atomic_operations.dec.buffer.*
dEQP-VK.image.atomic_operations.exchange.buffer.*
dEQP-VK.image.atomic_operations.inc.buffer.*
dEQP-VK.image.atomic_operations.max.buffer.*
dEQP-VK.image.atomic_operations.min.buffer.*
dEQP-VK.image.atomic_operations.or.buffer.*
dEQP-VK.image.atomic_operations.sub.buffer.*
dEQP-VK.image.atomic_operations.xor.buffer.*

Fixes: 6dc5e1e109 ("pco: fully support Vulkan 1.2 image atomics")

Signed-off-by: Nick Hamilton <nick.hamilton@imgtec.com>
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
(cherry picked from commit 079377c767)

Conflicts:
	src/imagination/ci/bxs-4-64-fails.txt

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 10:35:47 -08:00
Dylan Baker
b2e691a718 .pick_status.json: Mark a3ec5ece8b as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 10:35:23 -08:00
Mike Blumenkrantz
88884be0cf ntv: emit demote extension/capability when emitting demote
this is cleaner and more accurate

cc: mesa-stable

(cherry picked from commit a842e641d9)

Conflicts:
	src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 10:28:25 -08:00
Zan Dobersek
06d06f4be4 tu: handle DS_DEPTH_BOUNDS_TEST_BOUNDS state under TU_DYNAMIC_STATE_RB_DEPTH_CNTL
MESA_VK_DYNAMIC_DS_DEPTH_BOUNDS_TEST_BOUNDS state should be emitted as part
of TU_DYNAMIC_STATE_RB_DEPTH_CNTL along with other depth state, and not as
part of dynamic stencil state.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Fixes: 979cf7bac0 ("tu: Merge depth/stencil draw states")
(cherry picked from commit 3cb4776ede)

Conflicts:
	src/freedreno/vulkan/tu_pipeline.cc

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 10:22:03 -08:00
Rob Clark
fd934d56c9 freedreno: Force single wavesize if double threadsize is unsupported
Turns out ir3 isn't enforcing this itself.

Fixes: c323848b0b ("ir3, tu: Plumb through support for per-shader robustness")
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
(cherry picked from commit 455b692e4f)

Conflicts:
	src/gallium/drivers/freedreno/ir3/ir3_gallium.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 10:12:50 -08:00
Sagar Ghuge
82ecfe260c anv/rt: Drop atomic operations on opacity flags
Each node has their own opacity bits, so we don't need to track these
opacity flags at header level.

This commit also fixes the instance flag. Instance flag is 8bit wide,
but we were always using 4 lower bits.

Cc: mesa-stable
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Felix DeGrood <felix.j.degrood@intel.com>
(cherry picked from commit 8e85607130)

Conflicts:
	src/intel/vulkan/bvh/encode.comp

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 09:54:00 -08:00
Samuel Pitoiset
e779c7e5f7 radv/meta: fix layered depth stencil resolves with compute
Fixes a bunch of new VKCTS coverage like
dEQP-VK.pipeline.monolithic.multisample.m10_resolve.resolve_cmd.d32_sfloat.depth.average.full_multilayer.no_flags

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 91a5a0f2b9)

Conflicts:
	src/amd/vulkan/meta/radv_meta_resolve_cs.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 09:47:23 -08:00
Dylan Baker
16dd2415f1 .pick_status.json: Mark 9d027fc870 as denominated
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 09:45:30 -08:00
Dylan Baker
ee01207c3c .pick_status.json: Update to e8fc50ef46
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-03 09:23:13 -08:00
Patrick Lerda
8b70f5537f r600: improve vs_as_ls switch reliability
This change updates the vs_as_ls switch logic to make it
reliable. It resets the dirty flag when the switch is
happening. It uses also evergreen_emit_vs_constant_buffers()
to try to update again some of the states which could be
lost otherwise.

This change fixes some "flakes". These tests needed previously
to be executed twice to set the hardware in the proper state
for the test to pass. It also fixes the main issue of the
texture_view.view_sampling test.

This change was tested on palm and cayman. Here are the tests
which are now utterly fixed:
khr-gl4[3-6]/stencil_texturing/functional: fail pass
khr-gl4[4-6]/texture_cube_map_array/texture_size_tesselation_ev_sh: fail pass
khr-gles31/core/texture_cube_map_array/texture_size_tesselation_ev_sh: fail pass
khr-glesext/texture_cube_map_array/texture_size_tesselation_ev_sh: fail pass

Fixes: 25f96c1120 ("r600: hook up constants/samplers/sampler view for tessellation")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Acked-by: Gert Wollny <gert.wollny@collabora.com>
(cherry picked from commit 9c5e15e6f5)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:03:01 -08:00