Ashley Smith
e55e63c5a7
panvk: Enable VK_KHR_shader_atomic_int64 on Valhall
...
Bifrost will require more work
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Signed-off-by: Ashley Smith <ashley.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35789 >
2025-07-11 12:42:30 +00:00
Daniel Stone
355b96413d
egl/wayland: Move bind_wayland_display to legacy build option
...
Similar to how support for X11's DRI2 protocol was deprecated in 24.2,
begin deprecating EGL_WL_bind_wayland_display (including
eglBindWaylandDisplayWL et al) by moving it behind a legacy-wayland
build option.
This extension was originally created in a pre-dmabuf world, where we
didn't have a universally-accepted way of exchanging buffers between
client and compositor, or even really the ability to describe formats
and modifiers universally.
Since then, the world has settled on dmabuf with DRM FourCC and
modifiers. We've had the zwp_linux_dmabuf_v1 protocol for 10 years now:
both clients and compositors implement this protocol to handle buffer
sharing. Compositors either use EGL_EXT_image_dma_buf_import or the
Vulkan dmabuf extensions to import these into GPU world.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36026 >
2025-07-10 14:51:20 +00:00
Daniel Stone
718ef151f2
egl/wayland: Remove support for non-dmabuf wl_drm
...
wl_drm is the legacy protocol which is used to support
EGL_WL_bind_wayland_display to exchange buffers between client and
server. It's supported dmabuf for a very long time, and as a private
protocol for Mesa's use, there is no need to carry around support for
old codepaths, as all relevant drivers support dmabuf.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35885 >
2025-07-09 17:49:58 +00:00
Daniel Stone
20590ca771
egl: Remove EGL_MESA_drm_image
...
This extension was designed in a pre-dmabuf world, to allow us to share
DRM buffers based on global GEM names (generated with flink, as distinct
from context-local GEM handles).
We've had dmabuf since Linux kernel 3.4, so there's no need to carry
around this extension which encourages users to do bad things - namely,
to expose their buffers with a global ID that anyone can access - and
requires us to carry around some irritating support code.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35885 >
2025-07-09 17:49:58 +00:00
Daniel Stone
08c6ba223b
x11: Remove DRI2 support
...
DRI2 was hidden behind a legacy-x11 build option back in the 24.2
release. It's now been a year, so let's get on with removing it so we
can simplify our winsys interactions.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35885 >
2025-07-09 17:49:58 +00:00
John Anthony
aaf29ade1c
panvk: Enable VK_ARM_shader_core_properties
...
The extension allows returning 0 if a given rate is unknown, which
allows us to support this on all GPUs, but since the extension depends
on Vulkan 1.1, we only expose it on v10+ for now.
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35155 >
2025-07-09 08:40:12 +00:00
Lars-Ivar Hesselberg Simonsen
84fd6b67dd
panvk: Advertise VK_KHR_unified_image_layouts
...
We're currently not using image layouts in PanVK so we can advertise
this extension without additional changes.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: John Anthony <john.anthony@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35911 >
2025-07-04 09:26:34 +00:00
Erik Faye-Lund
fcc0585195
panvk: implement VK_EXT_non_seamless_cube_map support
...
This maps trivially to a sampler-bit, so let's just expose it.
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com >
Reviewed-by: John Anthony <john.anthony@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35886 >
2025-07-03 10:54:50 +00:00
Eric Engestrom
834389dbde
docs: add sha sum for 25.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35890 >
2025-07-02 17:17:34 +00:00
Eric Engestrom
40cb317c11
docs: add release notes for 25.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35890 >
2025-07-02 17:17:34 +00:00
Christoph Pillmayer
c7cb7b7dc3
panvk: Advertise VK_KHR_calibrated_timestamps
...
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35510 >
2025-07-01 12:52:41 +00:00
Christoph Pillmayer
7bf7d8c884
panvk: Advertise timestamp support
...
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34932 >
2025-07-01 08:27:48 +00:00
Karol Herbst
9c47461889
rusticl/formats: support cl_ext_image_unorm_int_2_101010
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35469 >
2025-06-30 18:04:59 +00:00
Karol Herbst
54b11069d1
rusticl/formats: support CL_UNORM_INT_101010_2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35469 >
2025-06-30 18:04:59 +00:00
Patrick Lerda
f6df349a1a
r600: update the documentation of the extensions
...
This change updates the documentation of the extensions.
Here are the commits where these extensions were activated:
8348c9c84d "r600: enable ARB_gl_spirv": GL_ARB_gl_spirv GL_ARB_spirv_extensions
8a1ef5bd31 "r600: enable ARB_transform_feedback_overflow_query": GL_ARB_transform_feedback_overflow_query
6fab29d37e "r600: implement EXT_window_rectangles": GL_EXT_window_rectangles
769510f1cc "r600: implement EXT_shader_image_load_store": GL_EXT_shader_image_load_store
Signed-off-by: Patrick Lerda <patrick9876@free.fr >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35547 >
2025-06-23 11:40:52 +00:00
Georg Lehmann
60796c85d1
radv: expose VK_EXT_shader_float8
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35434 >
2025-06-23 07:59:27 +00:00
Karol Herbst
ee7536a1e3
radeonsi: implement SVM interfaces
...
Acked-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35175 >
2025-06-20 15:10:42 +00:00
Karol Herbst
a107041112
radeonsi: implement resource_get_address
...
Acked-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35175 >
2025-06-20 15:10:42 +00:00
Ashley Smith
8160d0b80e
panfrost: Enable GL_EXT_shader_realtime_clock on panfrost v6+
...
Signed-off-by: Ashley Smith <ashley.smith@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35496 >
2025-06-19 11:18:53 +00:00
Ashley Smith
e9c2c32409
panvk: enable VK_KHR_shader_clock
...
CTS passing and manual tests show it's working well
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Signed-off-by: Ashley Smith <ashley.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35488 >
2025-06-19 09:11:51 +00:00
Eric Engestrom
6446433761
docs: add sha sum for 25.1.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35611 >
2025-06-18 20:52:32 +00:00
Eric Engestrom
5e772e00d5
docs: add release notes for 25.1.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35611 >
2025-06-18 20:52:32 +00:00
Karol Herbst
93f24f0bd0
rusticl: support cl_khr_extended_bit_ops
...
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35448 >
2025-06-18 10:13:44 +00:00
Karol Herbst
21ed913198
rusticl/image: enable sRGB support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35535 >
2025-06-18 06:53:19 +00:00
Olivia Lee
8b15d0f31f
panvk: advertise VK_KHR_maintenance6 on v10+
...
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: John Anthony <john.anthony@arm.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35528 >
2025-06-16 10:29:26 -07:00
Autumn Ashton
5b50f229f0
tu: Implement VK_KHR_unified_image_layouts
...
Turnip does not use any image layouts aside from UNDEFINED, therefore, we can expose this extension.
Signed-off-by: Autumn Ashton <misyl@froggi.es >
Reviewed-by: Connor Abbott <cwabbott0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35536 >
2025-06-15 15:42:31 +01:00
Karol Herbst
79656dbcd3
rusticl: implement cl_khr_priority_hints
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35456 >
2025-06-15 13:12:11 +02:00
Olivia Lee
5fe5e3176f
panvk: advertise descriptor indexing on valhall
...
Our existing descriptor implementation already supports
update-after-bind on both bifrost and valhall, but on bifrost the some
of the descriptor limits are lower than the minimum required by the
extension.
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35408 >
2025-06-13 19:02:19 +00:00
Derek Foreman
07881b085e
vulkan: Enable PresentWait2 on many physical devices
...
PresentWait2 should be possible on any physical device, as it adds a
surface capability query that depends on common wsi code.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35414 >
2025-06-13 15:52:02 +00:00
Erik Faye-Lund
8426973ad6
panvk: enable KHR_vulkan_memory_model
...
We have all the pieces lined up now, so let's enable the memory model
extension.
Reviewed-by: Caterina Shablia <caterina.shablia@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35502 >
2025-06-13 12:05:25 +02:00
Samuel Pitoiset
8dd496955d
radv: advertise VK_KHR_unified_image_layouts on GFX11+
...
On GFX12, everything is compressed with DCC and it's completely
transparent to the userspace driver.
On GFX11-GFX11.5, DCC can compress everything with GENERAL and FMASK
has been merged with DCC.
On GFX10-GFX10.3, MSAA through FMASK can't be compressed with GENERAL
and this will hurt performance.
On GFX6-9, DCC can't be supported with GENERAL because no DCC stores,
so this will destroy performance.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35424 >
2025-06-13 08:12:04 +00:00
Samuel Pitoiset
d5da47f831
radv: advertise VK_KHR_maintenance9
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35423 >
2025-06-13 07:33:03 +00:00
Olivia Lee
0034fec71d
panvk: implement VK_EXT_depth_clip_control
...
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35224 >
2025-06-13 02:19:21 +00:00
Olivia Lee
f44a824541
panvk: advertise VK_KHR_depth_clamp_zero_one
...
This matches our existing behavior on both JM and CSF, where when
depthClamp is disabled, we clamp to [0,1].
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35224 >
2025-06-13 02:19:20 +00:00
Karol Herbst
ee1fe1a1e5
rusticl: implement cl_khr_spirv_queries
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35439 >
2025-06-12 12:41:48 +00:00
Erik Faye-Lund
423f3fd485
panfrost: enable 8x and 16x msaa modes when supported
...
8x and 16x MSAA should work now, so we no longer need to deal with those
separately. We have more accurate checks for when it's supported or not
in place already.
2x MSAA isn't supported at all until v12, which we haven't finished
wiring up yet. So let's leave that one for now... We'll need some more
fixes for that anyway.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34455 >
2025-06-10 19:22:48 +00:00
Karol Herbst
13e47cde01
iris: implement SVM interfaces
...
Acked-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35174 >
2025-06-10 12:17:39 +00:00
Karol Herbst
a34a8fc0cd
iris: implement resource_get_address
...
Acked-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35174 >
2025-06-10 12:17:39 +00:00
Eric Engestrom
b937d8be9d
docs: add sha sum for 25.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35401 >
2025-06-07 14:19:55 +00:00
Eric Engestrom
5c25b09002
docs: add release notes for 25.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35401 >
2025-06-07 14:19:55 +00:00
Erik Faye-Lund
ad6e1afe74
panvk: add EXT_texture_compression_astc_hdr support
...
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34828 >
2025-06-06 06:40:59 +00:00
Ashley Smith
95c508d950
panfrost: Fix shader_clock support for v6+
...
This code sets PANFROST_JD_REQ_CYCLE_COUNT when using LD_GCLK to enable
shader_clock
Fixes: c1ce2dcc ("pan/bi: Enable ARB_shader_clock extension support")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Signed-off-by: Ashley Smith <ashley.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35363 >
2025-06-05 14:57:20 +00:00
Karol Herbst
cf3ec8d3b9
rusticl: enable proper fp16 support
...
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34053 >
2025-06-05 13:17:27 +00:00
Christoph Pillmayer
0440d1dd03
panvk: Advertise VK_EXT_inline_uniform_block
...
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35178 >
2025-06-05 11:18:29 +00:00
Eric Engestrom
6eaac7c171
docs: add sha sum for 25.1.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35348 >
2025-06-04 19:01:14 +00:00
Eric Engestrom
aabbd9f0b2
docs: add release notes for 25.1.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35348 >
2025-06-04 19:01:14 +00:00
Georg Lehmann
c27cdaac70
radv: expose scalarBlockLayout on GFX6
...
Scalar block layout doesn't allow anything that our memory load/store vectorizer
couldn't create on its own. So I assume whatever reason there was to only
expose this feature on GFX7+ was incorrect or ended up being fixed.
Passes vkcts in CI on tahiti.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35279 >
2025-06-04 08:49:57 +00:00
Ryan Mckeever
b69dcd8d33
panvk: Enable VK_EXT_load_store_op_none
...
Signed-off-by: Ryan Mckeever <ryan.mckeever@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32915 >
2025-06-02 22:01:11 +00:00
David Rosca
960f63596f
radv/video: Add VCN5 encode support
...
New with VCN5 is separate reference images support.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35261 >
2025-06-02 09:30:30 +00:00
Olivia Lee
97e54511a5
panvk: advertise VK_EXT_shader_subgroup_vote and VK_EXT_shader_subgroup_ballot
...
These are already supported in the compiler.
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35218 >
2025-05-28 23:20:09 +00:00