Commit graph

214225 commits

Author SHA1 Message Date
Karol Herbst
17faae2e87 clc: fix compile compatability with LLVM-22
See d090311aa7

Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit dc03f94e07)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:01:44 -08:00
Karol Herbst
13b0da02cf nir: fix nir_fixup_is_exported for LLVM-22
Starting with LLVM-22 we won't see the kernel wrapper anymore, and this
is a trivial fix to get around this.

See: 5458eb2511

Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 24d20df3d6)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:01:43 -08:00
Karol Herbst
bb017901f3 clc: enable generic address space and seq_cst and device scope atomic features
This is going to be required with LLVM-22.

See 423bdb2bf2

Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 6eda573a8a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:01:43 -08:00
Karol Herbst
e4a544e0f1 clc: support some atomic and generic address space features
Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 01e1392139)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:01:42 -08:00
Karol Herbst
c353f9e3d1 clc: reorder headers to fix compilation errors due to UNUSED
Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 7f9a7ed553)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:01:42 -08:00
Dylan Baker
bd2685c9a5 .pick_status.json: Update to 693a3e1c50
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-02-02 09:00:43 -08:00
David Rosca
abe3efa433 radv/video: Fix maxActiveReferencePictures for H265 decode
Also change to use H265 constant for maxDpbSlots (both values for H264 and H265
are the same).

Fixes: ee535aa039 ("radv: video: rework maxActiveReferenceSlot/MaxDpbSlots")
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com>
(cherry picked from commit 7607aeefa6)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-30 08:24:32 -08:00
Eric Engestrom
28558d0525 Revert "meson: static link spirv-tools for darwin"
This reverts commit f21d0f2cbe.

This causes issues with other platforms trying to do static builds.

A better option is for everyone to use `meson setup --prefer-static`.

Fixes: f21d0f2cbe ("meson: static link spirv-tools for darwin")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14751
(cherry picked from commit 342a5ba44e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-30 08:24:31 -08:00
Samuel Pitoiset
4f6859a73f radv: zero-initialize image view objects
Mostly to make sure that color/depth descriptors are zero-initialized
in case applications are missing the usage flags. In this case, they
will be considerd as null descriptors.

This hides the issue in
https://gitlab.freedesktop.org/mesa/mesa/-/issues/14637
but the real fix has to be in the Steam Overlay.

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

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-30 08:24:25 -08:00
Hyunjun Ko
29fa4f1c99 anv/video: Compute AV1 tile positions internally
The pMiColStarts/pMiRowStarts arrays from applications may have
incorrect units. Instead of using them directly, compute the tile
start positions in superblock units internally based on the tile
dimensions.

Cc: mesa-stable
Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 8e9fec8e40)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-30 08:24:24 -08:00
Hyunjun Ko
e2af544bae anv/video: fix a typo in Vulkan AV1 decoding.
Cc: mesa-stable
Fixes: e510efed05d("anv: support in-loop super resolution for AV1 decoding")
Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 8004f46466)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-30 08:24:23 -08:00
Dylan Baker
21c1182102 .pick_status.json: Update to 29e7a1fff9
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-30 08:24:19 -08:00
Rhys Perry
ac72225800 radv: fix when incomplete rt pipeline libraries are loaded from cache
It might be that the radv_pipeline_cache_lookup_nir_handle() in
radv_ray_tracing_pipeline_cache_search() fails but we will later need the
NIR. If rt_stages[i].shader was non-NULL, then we would not have created
the NIR.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Backport-to: 25.2
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
(cherry picked from commit 89eefdcadb)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:15:06 -08:00
Olivia Lee
8fec8e88f1 hk: fix hk_passthrough_gs_key size computation
The non-dynamic members of xfb_info are already included in
sizeof(hk_passthrough_gs_key), so adding nir_xfb_info_size counts them
twice. Because of this we were including uninitialized memory in the key
in hk_handle_passthrough_gs, which is undefined behavior.

Fixes: 5bc8284816 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
(cherry picked from commit d6745b358d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:15:06 -08:00
Zan Dobersek
0e1c32baaa tu: allocate transient attachments used for LRZ
When proceeding with rendering, any transient attachment that will be used
as LRZ buffer should also be allocated. With GMEM rendering, these
attachments otherwise remained unloaded and subsequent LRZ clears produced
GPU faults.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Fixes: 764b3d9161 ("tu: Implement transient attachments and lazily allocated memory")
Fixes: #14604
(cherry picked from commit b6a049ea4b)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:15:05 -08:00
Mike Blumenkrantz
e6867fc009 ntv: emit ViewIndex with flat for fragment stage
cc: mesa-stable

(cherry picked from commit 999aaac12e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:15:05 -08:00
Lionel Landwerlin
d15ff626f3 vulkan/wsi/direct: remove VkDisplay created from GetDrmDisplayEXT on ReleaseDisplayEXT
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Emma Anholt <emma@anholt.net>
(cherry picked from commit 1112c1461d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:15:03 -08:00
Georg Lehmann
275ea941a3 nir/opt_algebraic: use correct syntax to create exact fsat
Fixes: 3b06824e4c ("nir/opt_algebraic: optimize some post peephole select patterns")

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit d8ef28671d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:14:59 -08:00
Tomeu Vizoso
0ef489a580 dril: don't build a rocket_dri.so
As Rocket has no graphics capability.

Fixes: 5b829658f7 ("rocket: Initial commit of a driver for Rockchip's NPU")
(cherry picked from commit a5daecafd3)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:14:58 -08:00
Dylan Baker
0d1a687a08 .pick_status.json: Update to 237e2d7b32
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-29 09:14:55 -08:00
Iván Briano
3fc2b77823 brw: fix local_invocation_index with quad derivaties on mesh/task shaders
For mesh/task shaders, the thread payload provides a local invocation
index, but it's always linear so it doesn't give the correct value when
quad derivatives are in use.
The lowering pass where all of this is done correctly for compute
shaders assumes load_local_invocation_index will be lowered in the
backend for mesh/task, calculates the values for the quads correctly but
then avoid replacing the original intrinsic and we remain with the wrong
results.

Add an intel specific intrinsic and always lower the generic one to that
(or whatever else was calculated) to avoid ambiguities and fix the value
for quad derivatives.

Fixes future CTS tests using mesh/task shaders under:
dEQP-VK.spirv_assembly.instruction.compute.compute_shader_derivatives.*

Fixes: d89bfb1ff7 ("intel/brw: Reorganize lowering of LocalID/Index to handle Mesh/Task")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 5b48805b42)

Conflicts:
	src/compiler/nir/nir_divergence_analysis.c
	src/intel/compiler/brw/brw_compile_mesh.cpp
	src/intel/vulkan/anv_shader_compile.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-28 10:50:48 -08:00
Georg Lehmann
976bd36982 aco: disable DPP for rev integer subs and shifts
It is not documented anywhere, but at least on gfx12 and gfx10.3
DPP is applied to src1 instead of src0.
This might be useful for shifts, but to be safe just disable DPP
completely for now.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14739

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
(cherry picked from commit 140ca3bb50)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-28 08:32:34 -08:00
Georg Lehmann
725dda81c1 aco: add a helper function for non supported DPP opcodes
Cc: mesa-stable

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
(cherry picked from commit 8e99bf5380)

Conflicts:
	src/amd/compiler/aco_ir.cpp

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-28 08:32:32 -08:00
Ella Stanforth
99fc28bf9d pvr/csbgen: fix packing multiple addresses
Cc: mesa-stable
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
(cherry picked from commit 7be87ca82a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-28 08:16:10 -08:00
Dylan Baker
c69c16f290 .pick_status.json: Update to 50a3699552
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-28 08:16:02 -08:00
Faith Ekstrand
c1e43a16c3 nir: panfrost tile loads are always divergent
Each lane refers to a different pixel.

Cc: mesa-stable
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
(cherry picked from commit 4189865347)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:34:03 -08:00
Nanley Chery
2a0904094c anv: Fix the fast clear type for FCV writes
We started allowing non-default clear colors with FCV in commit
cd8e120b97. When rendering to an image with FCV, set the fast-clear
type to ANV_FAST_CLEAR_ANY if the image properties allow such
fast-clears.

Fixes: cd8e120b97 ("anv: Allow more single subresource fast-clears with FCV")
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
(cherry picked from commit ce196c9de5)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:07 -08:00
Nanley Chery
68125e50a3 anv: Update predicated resolve documentation
* Don't mention gfx7-8 due to the hasvk split.
* Account for the array of clear colors.

Fixes: 0e6b132a75 ("anv: Access more colors in fast_clear_memory_range")
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
(cherry picked from commit e7854d06a5)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:07 -08:00
Nanley Chery
5bb79dd1f1 iris: Use the CLEAR state on Xe2+ for MCS
On Xe2+, HSD 14011946253 and the related documents explain that MCS
still only supports a single clear color.

Fixes: df006bba02 ("iris: Update aux state for color fast clears (xe2)")
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
(cherry picked from commit 6c6b2d8f30)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:05 -08:00
Nanley Chery
cad984ba7e iris: Set missing flags on clear color changes
When changing the clear color without a fast clear, use dirty bits to
ensure that surfaces with inline clear colors are updated and that
partial resolves are done as needed.

Remove the flags at the bottom of fast_clear_color() as
blorp_fast_clear() already sets them for us.

Fixes: 64d861b700 ("iris: Skip some fast-clears even on color changes")
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
(cherry picked from commit 3b642f7456)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:04 -08:00
Nanley Chery
b9d7b5e3f8 intel/isl: Fix QPitch of arrayed MCS
From RENDER_SURFACE_STATE::AuxiliarySurfaceQPitch on BDW+,

   This field must be set to an integer multiple of the Surface
   Vertical Alignment

Accomplish this by aligning the height of each MCS layer to main
surface's vertical alignment. Prevents the following test group from
failing on Xe2 when a future commit enables multi-layer fast-clears in
anv:

   dEQP-VK.api.image_clearing.*.
   clear_color_attachment.multiple_layers.
   *_clamp_input_sample_count_*

The main test I used to debug this:

   dEQP-VK.api.image_clearing.core.
   clear_color_attachment.multiple_layers.
   a8b8g8r8_unorm_pack32_64x11_clamp_input_sample_count_2

Backport-to: 25.3
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
(cherry picked from commit eb4a581e44)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:03 -08:00
Georg Lehmann
82e682e3c0 aco: fix demote in header of single iteration loop
The control is not divergent before a divergent break in a single iteration loop,
but we already pushed the loop mask on the stack.

Fixes: 90faadae72 ("aco/insert_exec_mask: don't disable dead quads on demote in divergent CF")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14733
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
(cherry picked from commit 4b1996b1c7)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:02 -08:00
Samuel Pitoiset
1d0d045dca radv: add a workaround for a synchronization bug in Strange Brigade Vulkan
This game has broken synchronization reported by VVL and it indeed
doesn't wait for idle right before present. Workaround this by
injecting a full barrier (easier than rewriting the dep struct).

This only applies to the Vulkan backend.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14705
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 14d3fb5f1b)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:30:00 -08:00
Samuel Pitoiset
67ca870a36 radv: fix applying radv_ssbo_non_uniform=true for Crysis 2/3 remastered
DX11 games that use Vulkan interop for RT with a broken and too generic
app/engin name. This is very specific to these two games.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14718
Fixes: 56813236f4 ("radv: use app names instead of exec name for shader based drirc workarounds")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit d679236e09)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:59 -08:00
Konstantin Seurer
5f065a4294 vulkan: Handle inactive primitives with LBVH builds
cc: mesa-stable

Reviewed-by: Natalie Vock <natalie.vock@gmx.de>
(cherry picked from commit 0817551f00)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:59 -08:00
Nanley Chery
7ab6074db0 blorp: Fix Tile64 clear redescription assertion
Prevent assert failures in a future commit where Tile64 will be selected
more often.

Fixes: 42ef23ecd1 ("intel/blorp: Don't redescribe some Tile64 clears")
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 6fc0e5c0aa)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:58 -08:00
Nanley Chery
bca0d20d57 intel/isl: Fix miptail selection for compressed textures
When determining if an LOD can fit within a miptail, we must minify in
pixel space and then convert to elements.

Prevents the following test case from failing when Yf is force-enabled:

   dEQP-VK.image.texel_view_compatible.graphic.extended.3d_image.texture_read.astc_8x5_srgb_block.r32g32b32a32_uint

Fixes: 46f45d62d1 ("intel/isl: Start using miptails")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit add742fca6)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:58 -08:00
Mel Henning
28e38d3331 nvk: Ignore meta ops in occlusion queries
Fixes: 052bbd65c9 ("nvk: Implement pipeline statistics and occlusion queries")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
(cherry picked from commit e32bfc5efe)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:55 -08:00
Faith Ekstrand
16c564b973 nvk: Enable ZPASS_PIXEL_COUNT in draw_state_init()
Fixes: 052bbd65c9 ("nvk: Implement pipeline statistics and occlusion queries")
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
(cherry picked from commit c081ab864f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:55 -08:00
Patrick Lerda
a808fd5078 r600: update cubearray imagesize calculation
The previous method to calculate imageSize().z was
incorrect for a cubearray view.

This change was tested on palm and cayman. Here is the test fixed:
spec/arb_texture_view/rendering-layers-image/layers rendering of imagecubearray: fail pass

Fixes: 6c1432f0be ("r600/eg: fix cube map array buffer images.")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
(cherry picked from commit 0b8d8f2b17)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:54 -08:00
Benjamin Cheng
a94e3ad608 radv/video: Use a more reliable way of computing tile sizes
Some apps (old FFmpeg, contemporary CTS) send down pMi{Col,Row}Starts in
SB units, not MI units. Instead of dependening on those values which
could be unreliable, derive the tile sizes in SB using other parameters.

Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
(cherry picked from commit c10ebb0fda)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:54 -08:00
Patrick Lerda
b24628f4b7 r600: fix rv770 clamp to max_texel_buffer_elements
This change fixes the clamp to max_texel_buffer_elements
issue related to rv770 and older gpus.

Here are the tests fixed on rv770:
spec/arb_texture_buffer_object/texture-buffer-size-clamp/r8ui_texture_buffer_size_via_sampler: fail pass
spec/arb_texture_buffer_object/texture-buffer-size-clamp/rg8ui_texture_buffer_size_via_sampler: fail pass
spec/arb_texture_buffer_object/texture-buffer-size-clamp/rgba8ui_texture_buffer_size_via_sampler: fail pass

Fixes: 1a441ad5cb ("r600: clamp to max_texel_buffer_elements")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
(cherry picked from commit afcead9158)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:53 -08:00
Patrick Lerda
99501a214a r600: make vertex r10g10b10a2_sscaled conformant on palm and beyond
This is a gl4.3 issue very similar to e8fa3b4950.

The mode r10g10b10a2_sscaled processed as vertex on palm at the
hardware level doesn't follow the current standard. Indeed, the .w
component (2-bits) is not calculated as expected. The table below
describes the situation.

This change fixes this issue by adding two gpu instructions at
the vertex fetch shader stage. An equivalent C representation and
a gpu asm dump of the generated sequence are available below.

.w(2-bits)	expected	palm		cypress
0		 0		0		 0
1		 1		1		 1
2		-2		2		-2
3		-1		3		-1

w_out = w_in - (w_in > 1. ? 4. : 0.);

0002 00000024 A0040000  ALU 2 @72
 0072 801F2C0A 600004C0     1 w:     SETGT*4                __.w,  R10.w, 1.0
 0074 839FCC0A 61400010     2 w:     ADD                    R10.w,  R10.w, -PV.w

Note: cypress returns the expected value, and does not need
this correction.

This change was tested on palm, barts and cayman. Here are the tests fixed:
khr-gl4[3-6]/vertex_attrib_binding/basic-input-case6: fail pass
khr-gles31/core/vertex_attrib_binding/basic-input-case6: fail pass

Cc: mesa-stable
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
(cherry picked from commit 2ed761021f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:53 -08:00
Patrick Lerda
49d7371a18 r600: fix cayman msaa shading behavior
The functionality was working properly at glMinSampleShading(0.)
and glMinSampleShading(1.). The issue was with the intermediary
values. This change makes this function compatible with the
evergreen setup.

Note: this was one of the few functionalities which were working
properly on evergreen but not on cayman.

Here are the tests fixed:
spec/arb_sample_shading/samplemask 4 all/0.500000 partition: fail pass
spec/arb_sample_shading/samplemask 4/0.500000 partition: fail pass
spec/arb_sample_shading/samplemask 6 all/0.250000 partition: fail pass
spec/arb_sample_shading/samplemask 6 all/0.500000 partition: fail pass
spec/arb_sample_shading/samplemask 6/0.250000 partition: fail pass
spec/arb_sample_shading/samplemask 6/0.500000 partition: fail pass
spec/arb_sample_shading/samplemask 8 all/0.250000 partition: fail pass
spec/arb_sample_shading/samplemask 8 all/0.500000 partition: fail pass
spec/arb_sample_shading/samplemask 8/0.250000 partition: fail pass
spec/arb_sample_shading/samplemask 8/0.500000 partition: fail pass
deqp-gles31/functional/shaders/sample_variables/sample_mask_in/bit_count_per_two_samples/multisample_rbo_4: fail pass
deqp-gles31/functional/shaders/sample_variables/sample_mask_in/bit_count_per_two_samples/multisample_rbo_8: fail pass
deqp-gles31/functional/shaders/sample_variables/sample_mask_in/bit_count_per_two_samples/multisample_texture_4: fail pass
deqp-gles31/functional/shaders/sample_variables/sample_mask_in/bit_count_per_two_samples/multisample_texture_8: fail pass

Fixes: f7796a966d ("radeonsi: add basic code for overrasterization")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
(cherry picked from commit d5d844bfc4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:52 -08:00
Dylan Baker
f2a0adc56b .pick_status.json: Update to 4512d81559
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-27 12:29:42 -08:00
Dylan Baker
27428b3f93 .pick_status.json: Mark 2a35d624b2 as backported
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-23 14:26:25 -08:00
Danylo Piliaiev
a43f789e35 tu: Fix typo in min bounds calculation of FDM scissors
Fixes: fec372dfa5 ("tu: Implement FDM viewport patching")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
(cherry picked from commit 1d6fe66989)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-23 14:11:26 -08:00
Silvio Vilerino
01bca083e8 d3d12: Add missing using Microsoft::WRL:ComPtr in d3d12_context_common
Fixes: b06b2fbaba ("d3d12: Remove Agility v717 guards for features now available in v618")
(cherry picked from commit 237313a243)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-23 14:11:22 -08:00
Kitlith
82d63c9282 panvk: Free drm device in can_present_on_device
Fixes: 08da41f2f1 ("panvk: override can_present_on_device")
Signed-off-by: Kitlith <kitlith@kitl.pw>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
(cherry picked from commit 4de41bf27d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-23 14:11:21 -08:00
jaap aarts
5f5a3691ef radv/sqtt: Prevent concurrent submit when sqtt is enabled
cc: mesa-stable

(cherry picked from commit 8f7941f92d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
2026-01-23 14:11:21 -08:00