Commit graph

7019 commits

Author SHA1 Message Date
Duncan Brawley
b8889f5eaa pvr: add basic support for shader statistics framework
Mesa now has a statistics framework. This adds support for emitting
additional statistics about PowerVR shaders for the Rogue architecture.

Add support for emitting the following statistics: Code size, scratch
size, spill count, temp count, loop count, number of inst groups, number
of main inst groups, number of bitwise inst groups and number of control
inst groups.
Add support for new PCO_DEBUG_PRINT option "stats" to emit shader stats.

Signed-off-by: Duncan Brawley <duncan.brawley@imgtec.com>
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39523>
2026-01-27 16:58:30 +00:00
Hans-Kristian Arntzen
27c61f3c0c docs: Add VK_EXT_present_timing to new features.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38770>
2026-01-27 11:09:53 +00:00
Emma Anholt
72c12f62ff tu: Implement VK_QCOM_image_processing.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This includes the block matching, box filtering, and weighted sample
features.  Passes all of the dEQP-VK.image_processing.* CTS tests that
were recently landed.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38559>
2026-01-27 02:00:40 +00:00
Christian Gmeiner
9c972a61d5 gallium: Add pipe cap for masked clears and support stencil masking
Add a new PIPE_CAP_CLEAR_MASKED capability that allows drivers to
handle buffer clears with color and stencil masks directly, instead
of falling back to drawing a quad in Mesa.

This patch introduces several changes:

1. Add the new pipe cap PIPE_CAP_CLEAR_MASKED to pipe_defines.h and
   document it in the Gallium screen documentation.

2. Add color_clear_mask and stencil_clear_mask parameters to the
   pipe_context::clear() hook:
   - color_clear_mask (uint32_t): contains 4 color mask bits per draw buffer
     (max 8 buffers = 32 bits)
   - stencil_clear_mask (uint8_t): contains the stencil write mask (8 bits)

3. Update the state tracker to use the masked clear path when the
   driver supports it:
   - Pass ctx->Color.ColorMask for color buffer clears
   - Pass ctx->Stencil.WriteMask for stencil clears
   - Allow both color and stencil clears to avoid the quad path when
     masks are present and the driver advertises support

4. Update all existing driver clear() hooks to accept the new
   color_clear_mask and stencil_clear_mask parameter.

This optimization allows drivers that can efficiently handle masked
clears in hardware to do so, improving performance for applications
that frequently clear buffers with masks enabled.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31512>
2026-01-27 00:57:26 +00:00
Ian Forbes
d03c79d2b0 svga: Implement GL_ARB_derivative_control
This has been supported since SM5 support was added.

Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39541>
2026-01-26 20:51:58 +00:00
David Rosca
62f07b8c63 radeonsi/vcn: Add low latency decode debug option
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Similar to the low latency option for encode, this reduces latency
of decoding at the cost of increased power usage.

Can be enabled with AMD_DEBUG=lowlatencydec

Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39450>
2026-01-26 15:00:06 +00:00
Christian Gmeiner
e9e4bd8e62 asahi/hk: Implement VK_EXT_blend_operation_advanced
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Add support for VK_EXT_blend_operation_advanced to the Honeykrisp
Vulkan driver. Extend agx_blend_rt_key with a tagged mode field
interpreted via pack/unpack helpers for standard and advanced blend
state.

The driver advertises full extension support including all operations,
independent blend, non-premultiplied colors, and correlated overlap.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38929>
2026-01-24 21:44:01 +00:00
Eric Engestrom
ae8d087408 docs/release-calendar: add 26.1 branchpoint and dates
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39509>
2026-01-24 19:12:43 +01:00
Dylan Baker
97930015d8 docs/release-calendar: Update calendar for 1 week bump
Due to pushing 25.3.4 by one week due to gitlab upgrades.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:31 +00:00
Dylan Baker
98ceed095c docs: update calendar for 25.3.4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:31 +00:00
Dylan Baker
26ecbec8cb docs: Add SHA sums for 25.3.4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:30 +00:00
Dylan Baker
a37947b959 docs: add release notes for 25.3.4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:30 +00:00
Georg Lehmann
763b4f1f0a radv/gfx11: add a RADV_PERFTEST flag to expose bfloat16 cmat
This doesn't pass CTS because of precision issues, but might still be useful.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14699
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39456>
2026-01-23 09:41:20 +00:00
Valentine Burley
6d69d7e6bf tu: Implement VK_EXT_device_memory_report
This is a minimal implementation reporting only device memory allocations
and frees.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14687
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39406>
2026-01-22 20:11:24 +00:00
Eric Engestrom
bba73d9c81 docs: update calendar for 26.0.0-rc1
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39439>
2026-01-21 19:27:35 +00:00
Eric Engestrom
8846c0246d docs/releasing: skip ci when creating the branchpoint
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This isn't a new git state to be tested, we're just pushing it to a new location.

The push above doesn't need this because it doesn't run the CI anyway.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39435>
2026-01-21 18:11:43 +00:00
Eric Engestrom
f43bab301f docs/releasing: rephrase sentence about not letting the mr label script run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39435>
2026-01-21 18:11:43 +00:00
Eric Engestrom
3f9f7f864f docs/releasing: s/pull request/merge request/
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39435>
2026-01-21 18:11:43 +00:00
Eric Engestrom
5bfd522c9a docs: reset new_features.txt
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39436>
2026-01-21 17:56:17 +00:00
Dylan Baker
00aa3bdb1d docs/releasing: Use the GitLab CI as the test procedure
The GitLab CI is much more useful than trying to hand test.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39011>
2026-01-21 15:03:47 +00:00
Dylan Baker
a5dce21782 docs/releasing: Add a section to update the website
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39011>
2026-01-21 15:03:47 +00:00
Dylan Baker
79b9c8c5dd docs/releasing: Use a pull request instead of push for relnotes
There's not reason to push them directly to the main branch, just let
marge merge them.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39011>
2026-01-21 15:03:46 +00:00
Dylan Baker
868e0ecae8 docs/releasing: fix which commit is cherry-picked
Because `X.Y~1` should be the version bump commit, while `~2` should be
the generation of the release notes.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39011>
2026-01-21 15:03:46 +00:00
Piotr Masłowski
28cda1732a lvp: promote VK_EXT_robustness2 to VK_KHR_robustness2
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39340>
2026-01-16 22:39:12 +00:00
Piotr Masłowski
559ef7342f tu: promote VK_EXT_robustness2 to VK_KHR_robustness2
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39340>
2026-01-16 22:39:12 +00:00
Piotr Masłowski
9ae075f38f nvk: promote VK_EXT_robustness2 to VK_KHR_robustness2
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39340>
2026-01-16 22:39:11 +00:00
Piotr Masłowski
4ef73da70e hasvk: promote VK_EXT_robustness2 to VK_KHR_robustness2
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39340>
2026-01-16 22:39:10 +00:00
Piotr Masłowski
c446d55b21 hk: promote VK_EXT_robustness2 to VK_KHR_robustness2
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39340>
2026-01-16 22:39:10 +00:00
Erik Faye-Lund
d4d972d626 panvk: promote VK_EXT_robustness2 to VK_KHR_robustness2
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This is a 1:1 promotion.

Reviewed-by: John Anthony <john.anthony@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39325>
2026-01-15 23:01:02 +00:00
Erik Faye-Lund
70889a672e docs/faq: do not recommend basing drivers on i965
We no longer have classic drivers, don't recommend people writing new
ones.

Reviewed-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19106>
2026-01-15 11:16:26 +00:00
Erik Faye-Lund
27e71d71f6 docs: remove ancient stuff from faq
These are very unlikely to be frequently asked questions in 2026.

Reviewed-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19106>
2026-01-15 11:16:26 +00:00
Yogesh Mohan Marimuthu
2547fd0f59 winsys/amdgpu: print userq job info
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39206>
2026-01-15 09:45:09 +00:00
Yogesh Mohan Marimuthu
f050e6ea74 util/log: add MESA_LOG_FILE_AUTO to generate log file
if set, creates a file in /tmp folder with mesa_<process_name>_<pid>_XXXXXX.log
logging all errors, warnings, etc., rather than stderr. The XXXXXX will be replaced
with alpha numeric character so for each run of the app a new log file will be
created guaranteed.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39206>
2026-01-15 09:45:04 +00:00
Natalie Vock
6f076cdfda radv: Use wave32 for RT on gfx11+
ACO got a lot better at forming VOPD instructions, and testing
feedback seems to point in a slightly positive direction for this.

gfx12 will also start requiring wave32 for dynamic VGPR allocation at
some point.

Measurements on navi31:

Cyberpunk 2077:
Difference at 95.0% confidence
        1.12333 +/- 0.42876
        1.88216% +/- 0.718391%
        (Student's t, pooled s = 0.189165)

Black Myth Wukong benchmark:
Difference at 95.0% confidence
        4 +/- 1.30862
        13.9535% +/- 4.56495%
        (Student's t, pooled s = 0.57735)

Portal with RTX:
66.2ms->61.5ms (~7.64% improvement)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39275>
2026-01-14 23:39:24 +00:00
Natalie Vock
902c7e9df8 docs: Document RADV/ACO function calls
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29580>
2026-01-14 14:19:07 +00:00
Erik Faye-Lund
6293137d77 docs: use option-directive
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
These arguments misrenders, and gets rendered using a long hyphen
instead of double dashes. Let's fix this by using the Sphinx
option-directive, which is meant for exactly this purpose instead.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39286>
2026-01-14 09:16:24 +00:00
Erik Faye-Lund
0b76d0a70b docs: upgrade bootstrap to 5.3.8
Nothing super important happened that we need here, but it seems like a
good idea to keep up with the latest and greatest anyway...

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39291>
2026-01-14 09:01:17 +00:00
Eric Engestrom
7bbbd9bee2 docs: delay 26.0 branchpoint by a week
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39295>
2026-01-13 21:15:58 +00:00
Erik Faye-Lund
18582cb6b4 docs/pvr: document the multi-arch approach
It seems like a good idea to type out some details about the multi-arch
approach we've taken.

Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39035>
2026-01-12 19:38:04 +00:00
Eric Engestrom
08cb3429c7 docs: update url to ci-tron docs
We finally moved our docs to our domain, so let's update the link here :)

There's an automatic redirect, but the nightly linkcheck raises it as
"needs updating" since it's a 301, so here we go.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39265>
2026-01-12 12:52:32 +00:00
Maíra Canal
df85401e8e docs/teflon: Update documentation with more recent output
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38942>
2026-01-10 14:05:48 +00:00
Maíra Canal
9bf0ad3b15 docs/envvars: Document Teflon environment variables
Add documentation describing the use of Teflon's environment variables.

Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38942>
2026-01-10 14:05:48 +00:00
Karol Herbst
777f971d68 docs: reorder and add zink to CL subgroup entries
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38015>
2026-01-09 21:53:28 +00:00
Aitor Camacho
d49bf717a4 kk: Add environment variable to force robustness on all shaders
Add 'force_robustness' to 'MESA_DEBUG_KK' to force robustness in all
shaders.

Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38881>
2026-01-07 19:51:44 +00:00
Icenowy Zheng
0837ea14b8 pvr: advertise X11-related WSI instance extensions
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39014>
2026-01-06 18:45:44 +00:00
Icenowy Zheng
c294b061ad pvr: advertise VK_KHR_incremental_present
The implementation of this extension is part of the common Mesa WSI
code, and it's used by Zink without checking for the presence.

Advertise it for PowerVR open source driver.

With Headless WSI advertised, Tests in Vulkan CTS that is
incremental_present related can pass.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39037>
2026-01-06 12:07:29 +00:00
Anna Maniscalco
27c82e79af docs/features: advertise GL_KHR_texture_compression_astc_hdr on zink
Zink can expose this extension on vulkan drivers that support the
formats so add it to the list.

Reviewed-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38859>
2026-01-03 16:51:41 +01:00
Anna Maniscalco
e8c17523de tu: advertise EXT_texture_compression_astc_hdr
Advertise the extension on devices that support astc hdr formats.

Reviewed-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38859>
2026-01-03 16:51:37 +01:00
Anna Maniscalco
dc07473524 freedreno/fdl: add astc hdr formats
Add astc hdr (float) formats, those get treated identically as the ldr
formats as the blocks have enough metadata to be decoded as float.

Reviewed-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38859>
2026-01-03 16:51:10 +01:00
Timur Kristóf
f866bed0db radv: Mitigate GFX6-7 SMEM bug for NULL and mutable descriptors
Implement a mitigation for VM faults caused by SMEM reading
from NULL descriptors.

In order to satisfy VKD3D-Proton's expectations on mutable
descriptors, we must do this in shader code, it is not
sufficient to use the address of a mapped BO when writing
null descriptors. It is not feasible to mitigate this
in VKD3D-Proton.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38769>
2026-01-02 23:42:16 +00:00