Lorenzo Rossi
dac8fc93d9
nak: Add latency_upper_bound to ShaderModel
...
Signed-off-by: Lorenzo Rossi <git@rossilorenzo.dev>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37108 >
2025-10-30 12:49:11 +00:00
Lorenzo Rossi
f1eb6d7d7b
nak/dataflow: Fix typo in comments
...
Signed-off-by: Lorenzo Rossi <git@rossilorenzo.dev>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37108 >
2025-10-30 12:49:11 +00:00
Christian Gmeiner
aa71c8bfed
anv: Convert DEBUG_PIPE_CONTROL logging to use mesa_log_stream
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Replace direct FILE* operations (fputs/fprintf to stdout) with the
mesa_log_stream API for pipe control debug output.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38157 >
2025-10-30 10:26:28 +00:00
Eric Engestrom
0fe0acd4c3
util/meson: don't build libmesa_util_clflush unless needed
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Fixes: efbecd93ba ("util: Build util/cache_ops_x86.c with -msse2")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38146 >
2025-10-30 09:04:15 +00:00
Eric Engestrom
ccf33664e8
util/meson: don't build libmesa_util_clflushopt unless needed
...
Fixes: 555881e574 ("util/cache_ops: Add some cache flush helpers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38146 >
2025-10-30 09:04:15 +00:00
Samuel Pitoiset
b2badb2b24
radv: ignore dual-source blending when blending isn't enabled for MRT0
...
The Vulkan spec says:
"VUID-vkCmdDraw-maxFragmentDualSrcAttachments-09239
If blending is enabled for any attachment where either the source
or destination blend factors for that attachment use the secondary
color input, the maximum value of Location for any output attachment
statically used in the Fragment Execution Model executed by this
command must be less than maxFragmentDualSrcAttachments"
Which means it must be disabled.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14190
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38107 >
2025-10-30 07:59:50 +00:00
Samuel Pitoiset
14667eef53
radv: fix reserving enough space for emitting the SPM setup
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
4096 is an arbitrary but large enough number to emit everything needed.
Fixes: 22d73fc077 ("amd,radv,radeonsi: add ac_emit_spm_setup()")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38087 >
2025-10-30 07:36:27 +00:00
Samuel Pitoiset
0dcb800a07
radv: remove some RADV_DEBUG deprecated options
...
They have been marked as deprecated in 25.3, so one release cycle
before they are removed completely.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38085 >
2025-10-30 07:16:23 +00:00
Daniel Lang
48d6459701
etnaviv: Use FLOAT type for R32G32B32A32_{U,S}INT vertex formats
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
The hardware requires FLOAT type in NFE.GENERIC_ATTRIB.CONFIG0 when
using 4-component 32-bit integer vertex attributes.
Passes dEQP-GLES3.functional.default_vertex_attrib.*
Signed-off-by: Daniel Lang <dalang@gmx.at>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38136 >
2025-10-29 20:55:09 +00:00
Eric Engestrom
fdef10916e
asahi/virtio: fix memleak
...
Fixes: c64a2bbff5 ("asahi: port to stable uAPI")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38149 >
2025-10-29 20:41:29 +00:00
Pohsiang (John) Hsu
240b9159f4
mediafoundation: setup wpp logging in more of the files and add some error handling on dpb manager and reference frame tracker
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:28 +00:00
Pohsiang (John) Hsu
ab2457591b
mediafoundation: periodic clang-format, no code changes
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:28 +00:00
Pohsiang (John) Hsu
d7e2754116
mediafoundation: for low latency, change stats pool size to 2, this is because there is no synchronization btwn returning MF sample and ProcessInput
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:28 +00:00
Silvio Vilerino
4169a7f36a
mediafoundation: Add AVEncVideoReconstructedPictureOutputMode and MFSampleExtension_VideoEncodeReconstructedPicture
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:27 +00:00
Silvio Vilerino
0953924dbe
mediafoundation: Add m_bHWSupportReadableReconstructedPicture
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:26 +00:00
Silvio Vilerino
0aba51691b
d3d12: d3d12_video_buffer - Expose associated data with subresource idx
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:26 +00:00
Silvio Vilerino
db5d42d437
d3d12: video_processor: Use d3d12_video_buffer subresource indices
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:26 +00:00
Silvio Vilerino
4fe1abe3dd
d3d12: Support PIPE_BIND_SHARED resource creation
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:26 +00:00
Silvio Vilerino
80627e3579
d3d12: Optimize d3d12_video_proc heap allocations
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:26 +00:00
Silvio Vilerino
484eeb762e
d3d12: Support d3d12_video_buffer_creation_mode::place_on_resource in d3d12_video_buffer_from_handle
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:25 +00:00
Silvio Vilerino
e55b2b5064
d3d12: Add get_video_enc_last_slice_completion_fence interop
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:25 +00:00
Silvio Vilerino
a22334e632
d3d12: d3d12_video_proc - Use async residency functions
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:24 +00:00
Silvio Vilerino
5009fe8fd0
d3d12: Implement PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144 >
2025-10-29 20:27:24 +00:00
Aitor Camacho
8e47589da8
kk: Add env variables to enable Xcode GPU capture
...
To enable GPU capture set MESA_KK_GPU_CAPTURE to 1
To dump GPU capture to a directory set MESA_KK_GPU_CAPTURE_DIRECTORY
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38068 >
2025-10-29 20:13:53 +00:00
Aitor Camacho
6aff9d0ae8
kk: Fix Xcode GPU capture crash
...
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38068 >
2025-10-29 20:13:53 +00:00
Mel Henning
bf58cfdc48
docs/envvars: Remove references to nine
...
nine is gone, so no need to document its env vars.
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37828 >
2025-10-29 20:08:39 +00:00
Mel Henning
93d51a423a
docs/nvk: Document NVK_DEBUG=trash_memory
...
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37828 >
2025-10-29 20:08:39 +00:00
Mel Henning
edd0cb6d56
docs/nvk: Update hardware support
...
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37828 >
2025-10-29 20:08:39 +00:00
Mel Henning
b92521a019
docs/nvk: Add some developer hardware docs
...
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37828 >
2025-10-29 20:08:38 +00:00
Mel Henning
0afd4bc831
docs/nvk: Add a list of external hardware docs
...
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37828 >
2025-10-29 20:08:38 +00:00
Aitor Camacho
6da54821da
kk: Reorder physical device extensions and features
...
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38137 >
2025-10-29 19:33:35 +00:00
Aitor Camacho
6577d6c9f6
docs: Reorder VK_EXT_image_robustness
...
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38137 >
2025-10-29 19:33:35 +00:00
Aitor Camacho
770486e11d
docs: Add KosmicKrisp to Vulkan
...
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38137 >
2025-10-29 19:33:35 +00:00
Dmitry Osipenko
bd8377bb04
virtio/vdrm: Fix varying offsets of struct vdrm_device members
...
Struct virgl_renderer_capset_drm has a varying size depending on whether
AMDGPU driver is enabled or not. This breaks offset of struct vdrm_device
members for non-AMD drivers when Mesa is built with multiple native context
drivers including the AMD driver. Place varying capsets in the end struct
vdrm_device to mitigate the issue.
Fixes: 5736280730 ("virtio/vdrm: add ENABLE_DRM_AMDGPU for c_args")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38096 >
2025-10-29 19:14:25 +00:00
Juan A. Suarez Romero
e8cf90c837
broadcom/ci: adjust fractions for nightly jobs
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Try to coverage as much as possible in a 15 minutes budget.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38143 >
2025-10-29 18:48:28 +00:00
Eric Engestrom
f91949f67a
docs: add sha sum for 25.2.6
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38142 >
2025-10-29 18:42:59 +00:00
Eric Engestrom
fa92adae55
docs: add release notes for 25.2.6
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38142 >
2025-10-29 18:42:59 +00:00
Eric Engestrom
f55ce8b1ac
docs: update calendar for 25.2.6
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38142 >
2025-10-29 18:42:59 +00:00
Mike Blumenkrantz
e1a4f53680
lavapipe: maintenance10
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38091 >
2025-10-29 18:25:42 +00:00
Georg Lehmann
a17afd5edd
aco/tests: add some simple fp64 modifier tests
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38011 >
2025-10-29 17:57:53 +00:00
Georg Lehmann
a54f95c52f
aco/optimizer: apply fp64 modifiers
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38011 >
2025-10-29 17:57:53 +00:00
Georg Lehmann
62e664f8c8
aco/optimizer: fix applying 64bit neg/abs
...
extract is only valid for <=32bit operands.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38011 >
2025-10-29 17:57:53 +00:00
Georg Lehmann
0c8b885e21
aco/isel: emit v_mul_f64 for fp64 fsat
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38011 >
2025-10-29 17:57:52 +00:00
Georg Lehmann
9ece74ce79
aco/isel: emit v_mul_f64 with modifiers for fneg/fabs
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38011 >
2025-10-29 17:57:52 +00:00
Georg Lehmann
c84f60ef08
aco/optimizer: replace 64bit mul with 1.0/-1.0 with bitwise instruction if possible
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38011 >
2025-10-29 17:57:52 +00:00
Mike Blumenkrantz
272cf1db8e
zink: don't destroy old push layout when enabling fbfetch descriptor
...
this may be in use by programs, and adding tracking/refcounting just to
delete a descriptor layout isn't worth the effort
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38141 >
2025-10-29 17:28:50 +00:00
Yiwei Zhang
c6ff8ce373
panvk: support VK_EXT_device_memory_report
...
This change adds the minimum support for VK_EXT_device_memory_report,
which only reports device memory events at this point. We can make it
more useful later (like what's done in ANV) if desired by some tools.
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37987 >
2025-10-29 17:09:41 +00:00
Gert Wollny
317345cc98
r600/sfn: make sure kill and update_exec don't happen in one group
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
v2: - Correctly test in multi-slot split whether the group has kill if
we want to add a multi-slot op.
- update group_has_predicate if an according vector op was added
Fixes: 359bfc3138 ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38112 >
2025-10-29 16:23:34 +00:00
Gert Wollny
0d065a2421
r600/sfn: Track whether a ALU group has a exec flag update
...
Fixes: 359bfc3138 ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38112 >
2025-10-29 16:23:34 +00:00
Gert Wollny
51e7c477d6
r600/sfn: move some common code into try_readport
...
Fixes: 359bfc3138 ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38112 >
2025-10-29 16:23:34 +00:00