Mike Blumenkrantz
efd8e46891
zink: support NV_representative_fragment_test
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37081 >
2025-09-13 11:28:44 +00:00
Mike Blumenkrantz
34641b44c6
mesa: support GL_NV_representative_fragment test
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37081 >
2025-09-13 11:28:44 +00:00
Samuel Pitoiset
ec09ac1501
radv: switch to the full HiZ workaround by default on GFX12
...
The full HiZ workaround is the only one that fixes the issue reliably.
Sadly, the performance results are mixed and sometimes it hurts. To
maintain performance, RADV will opt-in by selecting which workarounds
to apply from drirc.
As we can't know the full list of games that will be affected by a
potential performance regression, users are encouraged to try with
RADV_GFX12_HIZ_WA (see Mesa documentation for more explanations).
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36174 >
2025-09-11 15:21:50 +00:00
Samuel Pitoiset
5f8f4686bf
radv: replace RADV_GFX12_HIZ_WA by a drirc option
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36174 >
2025-09-11 15:21:50 +00:00
Samuel Pitoiset
b69b953973
radv: add RADV_DEBUG=bo_history
...
This dumps the BO history to /tmp/radv_bo_history.log after each BO
operations.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37062 >
2025-09-11 06:03:15 +00:00
David Rosca
4b54277d2e
Remove VDPAU
...
VDPAU only supports X11 and GL interop. There is no Wayland or Vulkan
interop support. The API has limitations that makes it impossible to
correctly decode certain streams.
Application support is also very limited, and VAAPI is always a better
choice over VDPAU.
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
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/36632 >
2025-09-10 12:33:57 +00:00
Faith Ekstrand
14c2afcb06
util/log: Add a MESA_LOG_LEVEL environment variable
...
This lets us control how much logging we want Mesa to do, which is
useful in CI where we don't want to collect lots of log spam that then
has to be saved somewhere.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37203 >
2025-09-08 21:28:10 +00:00
David Rosca
c9b2c00de6
radv: Enable VK_EXT_ycbcr_2plane_444_formats
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9486
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37174 >
2025-09-08 11:59:37 +00:00
Samuel Pitoiset
d98e31eab6
radv: mark RADV_DEBUG=nongg_gs as deprecated
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37145 >
2025-09-05 05:56:15 +00:00
Samuel Pitoiset
7304423b5c
radv: mark RADV_DEBUG=splitfma as deprecated
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37145 >
2025-09-05 05:56:14 +00:00
Samuel Pitoiset
4748ecb238
radv: mark RADV_DEBUG=invariantgeom as deprecated
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37145 >
2025-09-05 05:56:13 +00:00
Samuel Pitoiset
a8a8bfee1f
radv: mark RADV_DEBUG=nodynamicbounds as deprecated
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37145 >
2025-09-05 05:56:13 +00:00
GKraats
3b5b68dbfb
crocus: fix SIGSEGV crash at pbo compressed teximage
...
This affects piglit/bin/ext_texture_array-compressed teximage pbo -auto -fbo
Routine create_surface() at src/gallium/drivers/crocus/crocus_state.c
does not suppport compressed format and returns NULL in that case.
Since MR https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34054
routine st_try_pbo_compressed_texsubimage() at src/mesa/state_tracker/st_cb_texture.c is missing a test via pipe->create_surface() and does
not fallback to _mesa_store_compressed_texsubimage() which causes a SIGSEGV abort.
Regression is solved by introducing the variable surface_no_compress at struct pipe_caps, causing the fallback.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13426
Signed-off-by: GKraats <vd.kraats@hccnet.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37150 >
2025-09-04 21:12:15 +00:00
Thomas H.P. Andersen
93eafbf04f
nvk: implement VK_AMD_buffer_marker
...
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35507 >
2025-09-04 15:03:09 +00:00
Alejandro Piñeiro
388f9ccd97
docs: GL_ARB_compute_shader is not a ES extension
...
Without this commit, GL_ARB_compute_shader appears as both an OpenGL
and an OpenGL ES extension.
But this is not an OpenGL ES extension. One of the main differences is
that the minimum value for WORK_GROUP_INVOCATIONS on
GL_ARB_compute_shader is 1024, while the minimum value required for
the OpenGL ES 3.1 spec is 128. So for example, both v3d and panfrost
doesn't expose ARB_compute_shader, while it supports compute shader on
OpenGL 3.1, so the docs are wrong.
I guess that the reason of re-using ARB_compute_shader is because
there isn't an OES compute shader extension. There was an EXT
extension though, so this is similar to geometry shader, where there
you had ARB_geometry_shader4, but it was superseded by OpenGL
3.2. This commit follows geometry shader approach, and just adds a
"Compute shader" feature on OpenGL ES 3.1
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37131 >
2025-09-04 14:26:21 +02:00
Eric Engestrom
cb1c059138
docs: add sha sum for 25.2.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37160 >
2025-09-03 12:46:21 +00:00
Eric Engestrom
84a4d34666
docs: add release notes for 25.2.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37160 >
2025-09-03 12:46:21 +00:00
Eric Engestrom
97f7aa7725
docs: update calendar for 25.2.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37160 >
2025-09-03 12:46:21 +00:00
Erik Faye-Lund
b8ccbc414a
panvk: enable KHR_maintenance9
...
Seems this just works, so let's enable it.
Unlike maintenance 4 through 8, VK_KHR_maintenance9 doesn't have a hard
dependency on Vulkan 1.1, and can also be supported on Bifrost.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36987 >
2025-09-01 10:08:35 +00:00
Erik Faye-Lund
e78a3854a5
panvk: enable KHR_maintenance8
...
Seems like we already support everyhing in this extension. Let's enable
it.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36987 >
2025-09-01 10:08:35 +00:00
Erik Faye-Lund
6dc24e6443
doc/features: update VK_KHR_maintenance8
...
This is already supported by a bunch of drivers, let's update the
features list.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36987 >
2025-09-01 10:08:34 +00:00
Erik Faye-Lund
e5c54cf33b
panvk: enable KHR_maintenance7
...
In theory, we should be able to support
separateDepthStencilAttachmentAccess, but in practice this occasionally
fails tests. So let's disable it for now, and deal with that feature
down the line.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36987 >
2025-09-01 10:08:33 +00:00
Ashley Smith
b35bb9f5c7
panfrost: Enable shader_atomic_int64 for gallium
...
Vulkan support was added previously, enable gallium support.
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Acked-by: Mary Guillemard <mary.guillemard@collabora.com >
Signed-off-by: Ashley Smith <ashley.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37051 >
2025-09-01 08:22:10 +00:00
Samuel Pitoiset
0c6b39d4fb
radv: add RADV_GFX12_HIZ_WA to select the HiZ wa behavior on GFX12
...
Will be useful for benchmarking.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36839 >
2025-09-01 07:02:24 +00:00
Olivia Lee
564b6fd7f4
vulkan: move internal vulkan pseudo-extensions to a common file
...
This makes it easier to see what all of the assigned values are to check
for collisions, and allows using them in vulkan/util.
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37045 >
2025-09-01 03:50:12 +00:00
Karol Herbst
24c7e247af
rusticl: implement cl_khr_external_semaphore
...
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36007 >
2025-08-31 13:12:17 +00:00
Karol Herbst
daf777df8c
rusticl: implement cl_khr_semaphore
...
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36007 >
2025-08-31 13:12:17 +00:00
Karol Herbst
7154180b67
docs/gallium: Clarify ordering requiremenets on fence_server_signal and fence_server_sync
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36007 >
2025-08-31 13:12:16 +00:00
Mel Henning
fcf136d247
nvk: Expose VK_KHR_maintenance8
...
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36950 >
2025-08-27 21:12:41 -04:00
Eric Engestrom
57484f6202
docs: add sha sum for 25.1.9
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37031 >
2025-08-27 19:23:18 +02:00
Eric Engestrom
8bd9e2a5ea
docs: add release notes for 25.1.9
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37031 >
2025-08-27 19:23:18 +02:00
Eric Engestrom
7525e77c52
docs: update calendar for 25.1.9
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37031 >
2025-08-27 19:23:18 +02:00
Mohamed Ahmed
7692d3c0e1
nvk: Advertise VK_KHR_maintenance9
...
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35804 >
2025-08-27 00:50:27 +00:00
Samuel Pitoiset
b9221c7c89
radv: advertise VK_KHR_shader_untyped_pointers
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36677 >
2025-08-26 13:47:08 +00:00
Brais Solla
ae7f9552be
r300: Added support for GL_ATI_meminfo and GL_NVX_gpu_memory_info
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36859 >
2025-08-26 11:47:18 +00:00
Eric Engestrom
2e33098162
docs/ci: always build the docs
...
It only takes 2 min of runner time, and it's been broken several times
by now, so let's just always run this job.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36893 >
2025-08-26 09:49:56 +00:00
Eric Engestrom
a569a5f9c6
docs/ci: drop unnecessary comment
...
None of the other `rules:` say this, because everyone know this by now.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36893 >
2025-08-26 09:49:56 +00:00
Eric Engestrom
1b7dd64977
docs/ci: drop redundant/dead fork rule
...
`.common-rules` already covers that.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36893 >
2025-08-26 09:49:55 +00:00
Yiwei Zhang
9239160a29
docs/android: default to use -Dandroid-libbacktrace=disabled
...
Since Android 14 (api level 34), libbacktrace has been dropped. The MESA
Android doc has already been updated to use api level 34, so we should
have it disabled accordingly.
Reviewed-by: Antonio Ospite <antonio.ospite@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36961 >
2025-08-25 10:47:19 +00:00
Sid Pranjale
1f79ba9a51
docs: mark VK_KHR_depth_clamp_zero_one as done for NVK
...
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36962 >
2025-08-24 16:10:33 +00:00
Valentine Burley
2595b029fa
tu: Advertise VK_EXT_shader_atomic_float
...
We pass the tests for exchange, load, and store on R32_SFLOAT, including
shared memory (which the proprietary driver does not advertise). The blob
does not support add operations either.
Passes:
dEQP-VK.glsl.atomic_operations.exchange_float*
dEQP-VK.image.atomic_operations.exchange*r32f*
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36907 >
2025-08-23 20:13:44 +00:00
Yiwei Zhang
b76c556c59
panvk: support VK_ANDROID_external_memory_android_hardware_buffer
...
This last piece hooks up:
- GetPhysicalDeviceImageFormatProperties2
- GetPhysicalDeviceExternalBufferProperties
- GetImageMemoryRequirements2
Test:
- dEQP-VK.api.external.memory.android_hardware_buffer.*
- CtsNativeHardwareTestCases via ANGLE
- Android HWUI and SurfaceFlinger via skiavk (entirely AHB based)
Acked-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36603 >
2025-08-22 21:39:12 +00:00
Yiwei Zhang
33ab9d8320
panvk: add shared image support and advertise VK_ANDROID_native_buffer
...
Now we have:
1. baseline ANB (pre ANB spec v8)
- basic vulkan wsi on Android
2. aliased ANB (ANB spec v8+)
- required for swapchain maintenance1 support, and is used by ANGLE
on Android for smooth swapchain recreation.
3. ANB shared image
- required for KHR_shared_presentable_image support.
Test:
- dEQP-VK.wsi.android.*
- dEQP-EGL.* via ANGLE
- CtsGraphicsTestCases via ANGLE
- CtsOpenGLTestCases via ANGLE
- Instagram via ANGLE
Acked-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36603 >
2025-08-22 21:39:12 +00:00
Mel Henning
b5973bed78
zink: Add zink_check_requirements
...
This is a new tool that checks a driver against the vulkan profile and
complains about any missing features.
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36061 >
2025-08-22 16:08:11 -04:00
Autumn Ashton
ae6ea69c85
radv: Implement VK_KHR_video_encode_quantization_map
...
Implement VK_KHR_video_encode_quantization_map on < VCN5.
Passes CTS for `*quantization_map*`.
Signed-off-by: Autumn Ashton <misyl@froggi.es >
Reviewed-by: David Rosca <david.rosca@amd.com >
Closes : #13717
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36797 >
2025-08-22 16:31:59 +00:00
Yonggang Luo
39e20ad563
docs: Update requirement for MSVC
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36767 >
2025-08-22 01:28:23 +00:00
Connor Abbott
10e7f63734
tu: Add documentation for VK_EXT_fragment_density_map
...
This has gotten complicated enough that we need somewhere outside of the
driver itself to give an overall flow of how the feature is implemented.
This includes a few things that are enabled in the subsequent commits,
specifically the LRZ parts.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36475 >
2025-08-21 16:42:18 +00:00
Yonggang Luo
1f44a470b4
util: Always generate u_format_gen.h as docs need it
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36891 >
2025-08-21 03:19:02 +08:00
Yonggang Luo
b589b24209
mesa: Remove unused assyntax.h and update related files
...
Also remove unused .gl-rules::changes in test-source-dep.yml
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36635 >
2025-08-20 16:21:27 +00:00
Eric Engestrom
f78dee44b8
docs: add sha sum for 25.2.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36882 >
2025-08-20 16:08:47 +00:00