Connor Abbott
022fb8e4c7
ir3, turnip: Support VK_*_compute_shader_derivatives on a7xx
...
Quad derivative groups are supported since a7xx using the tiling mode
bit. Linear derivative groups may also work on a6xx but I haven't tested
it yet.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31130 >
2024-10-10 00:14:04 +00:00
Christian Gmeiner
2675a2fae7
etnaviv: Enable ARB_draw_buffers_blend for HALTI5+
...
Starting with HALTI5 we have per-buffer blend functions.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com >
Reviewed-by: Lucas Stach <l.stach@pengutronix.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26565 >
2024-10-04 09:48:24 +00:00
Christian Gmeiner
acd3faa463
etnaviv: Enable EXT_draw_buffers2 for HALTI5+
...
Starting with HALTI5 we have per-buffer blend enable and mask.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com >
Reviewed-by: Lucas Stach <l.stach@pengutronix.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26565 >
2024-10-04 09:48:24 +00:00
Faith Ekstrand
7dc6826bc3
nak,nvk: Implement VK_KHR_shader_quad_control
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10687
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31470 >
2024-10-02 21:10:32 +00:00
Erik Faye-Lund
fd0ff1502a
panvk: expose already-implemented KHR_maintenance1
...
Seems this is already implemeted, mostly thanks to common code.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31264 >
2024-10-02 17:59:45 +00:00
Erik Faye-Lund
322c89e9fa
panvk: implement KHR_get_memory_requirements2
...
The rest is already in place, it seems.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31264 >
2024-10-02 17:59:44 +00:00
Jules Blok
1c119b1d95
docs: Update status of VK_EXT_depth_clamp_control support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31411 >
2024-09-30 22:18:27 +00:00
Mohamed Ahmed
d5df263ac9
nvk: Enable VK_EXT_host_image_copy
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30044 >
2024-09-28 02:46:28 +00:00
Faith Ekstrand
83b220f833
nvk: Advertise VK_EXT_device_generated_commands
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31394 >
2024-09-26 17:18:26 +00:00
Job Noorman
71080b0fa1
tu: advertise VK_KHR_shader_subgroup_rotate
...
Signed-off-by: Job Noorman <jnoorman@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31358 >
2024-09-26 16:36:36 +00:00
Dylan Baker
f8273555d3
anv: enable VK_EXT_ycbcr_2plane_444_formats
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31352 >
2024-09-25 22:10:14 +00:00
Connor Abbott
dbc4a2e30b
tu: Initial support for VK_KHR_calibrated_timestamps on a750
...
Starting with a750, the ALWAYS_ON counter is initialized from a loadable
counter in CX power domain, which is never turned off except during a
GPU reset. This means that timestamps should always be monotonic except
if the GPU resets, in which case subsequent submits should return
DEVICE_LOST anyway. Thus it should be good enough to satisfy the Vulkan
requirement that vkCmdWriteTimestamp is monotonic.
kgsl tries to synchronize the CX counter to the CPU counter, and
additionally adds a synchronization ioctl to improve the accuracy. I'm
not sure whether the former is really useful for us, but the latter
should eventually be implemented in drm/msm. However for now we can
expose the extension without any kernel support.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31100 >
2024-09-23 07:17:01 -04:00
Mike Blumenkrantz
ac912b3754
mesa: OVR_multiview_multisampled_render_to_texture
...
this is automatically supported for anyone that supports OVR_multiview
and EXT_multisampled_render_to_texture
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31235 >
2024-09-20 18:54:26 +00:00
Faith Ekstrand
f36e5dbe60
nvk: Advertise VK_KHR_shader_float_controls2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31170 >
2024-09-20 17:09:14 +00:00
Georg Lehmann
bc3b8c3a13
radv: advertise VK_KHR_shader_float_controls2
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31172 >
2024-09-18 20:46:17 +00:00
Mike Blumenkrantz
bb47308264
docs: OVR_multiview features
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31128 >
2024-09-18 13:07:41 +00:00
Rohan Garg
8b272c8d8c
docs: update feature matrix for VK_KHR_shader_relaxed_extended_instruction
...
Signed-off-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30791 >
2024-09-16 15:58:35 +00:00
Daniel Schürmann
a9d64fa1bd
radv: promote VK_NV_compute_shader_derivatives -> VK_KHR_compute_shader_derivatives
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30972 >
2024-09-11 08:37:46 +00:00
Faith Ekstrand
e0e7d8d910
nvk: Advertise VK_NV/KHR_compute_shader_derivatives
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31105 >
2024-09-10 20:13:32 +00:00
Caio Oliveira
eb68e6e84c
anv: Advertise VK_KHR_compute_shader_derivatives
...
This was promoted from VK_NV_compute_shader_derivatives.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30956 >
2024-09-10 18:22:42 +00:00
Samuel Pitoiset
8802612458
radv: advertise VK_KHR_pipeline_binary
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30812 >
2024-09-10 08:19:52 +00:00
Mary Guillemard
51157e7440
docs: Mark timer queries as done on panfrost
...
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30553 >
2024-09-09 09:26:42 +02:00
Faith Ekstrand
4aa1259eb4
nvk: Adverties VK_KHR_dynamic_rendering_local_read
...
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31033 >
2024-09-05 17:55:21 +00:00
Erico Nunes
6f3c003433
v3dv: unconditionally expose VK_EXT_queue_family_foreign
...
Zink currently requires VK_EXT_queue_family_foreign to set
PIPE_CAP_DMABUF, which is one of the requirements to create a
gbm context.
v3dv already conditionally supported this extension for Android.
As it is now required for Zink in Mesa, move it to the driver's
common set.
This allows v3dv to create gbm contexts with Zink again since
this was made a stricter requirement as a side effect of
ab08b79ef7
("gbm: use driver check for dmabuf export").
Tested with Zink on a gbm EGL application as well as sway with
the wlroots Vulkan backend, which also requires this extension.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30938 >
2024-09-05 15:44:01 +00:00
Faith Ekstrand
4442d61b16
nvk: Advertise VK_KHR_maintenance7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30925 >
2024-08-29 23:33:05 +00:00
Qiang Yu
48a49c4e04
radeonsi: enable KHR_shader_subgroup
...
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30610 >
2024-08-26 10:46:21 +08:00
Valentine Burley
aeba937762
nvk: Advertise VK_EXT_legacy_vertex_attributes
...
Signed-off-by: Valentine Burley <valentine.burley@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30817 >
2024-08-24 03:55:37 +00:00
Mary Guillemard
5b129e6eb9
panvk: Expose trivial google extensions
...
Those three extensions are handled in common code.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30754 >
2024-08-21 18:47:03 +00:00
Valentine Burley
10c64ee63a
tu: Expose VK_KHR_workgroup_memory_explicit_layout
...
It's all done for us in NIR.
Signed-off-by: Valentine Burley <valentine.burley@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29346 >
2024-08-20 15:59:30 +00:00
Louis-Francis Ratté-Boulianne
3967b4bf22
panfrost: add support for ASTC decode mode extension
...
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30560 >
2024-08-20 05:36:15 +00:00
Louis-Francis Ratté-Boulianne
a4a51f22b1
gallium: add PIPE_CAP_ASTC_DECODE_MODE and expose extension
...
mesa will expose GL_EXT_texture_compression_astc_decode_mode
extension if the cap is enabled by the driver.
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30560 >
2024-08-20 05:36:15 +00:00
Karmjit Mahil
3c4fb8f7fa
tu: Implement VK_EXT_legacy_dithering
...
Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30536 >
2024-08-16 13:05:56 +00:00
Thomas H.P. Andersen
5f366bf822
docs: update for new extensions in nvk
...
Mark as implemented on nvk:
* VK_EXT_descriptor_buffer
* VK_EXT_post_depth_coverage
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30628 >
2024-08-13 23:37:16 +00:00
Alejandro Piñeiro
28df772935
v3dv: expose Vulkan 1.3
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10896
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29476 >
2024-08-05 15:10:24 +00:00
Valentine Burley
fd1f798292
docs/features: Update features.txt for Turnip
...
These two extensions weren't marked as done on Turnip.
Signed-off-by: Valentine Burley <valentine.burley@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30453 >
2024-08-01 06:14:11 +00:00
Mary Guillemard
6b9db2108d
docs: Add panvk in VK_EXT_private_data to features.txt
...
Was missing from the commit enabling it.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30293 >
2024-07-24 10:46:00 +00:00
Valentine Burley
47de27cde1
tu: Implement VK_EXT_device_address_binding_report
...
This extension should be helpful for debugging.
Passes dEQP-VK.memory.address_binding_report.*
Signed-off-by: Valentine Burley <valentine.burley@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30021 >
2024-07-22 14:23:53 +00:00
Valentine Burley
52cf610975
tu: Enable VK_KHR_shader_subgroup_uniform_control_flow
...
Signed-off-by: Valentine Burley <valentine.burley@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29277 >
2024-07-19 12:54:09 +00:00
Eric Engestrom
e565873911
features.txt: specify that GL_ARB_depth_clamp is only supported on v3d/vc7+
...
Fixes: cbd3927445
("v3d: expose ARB_depth_clamp in V3D 7.x")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30185 >
2024-07-17 11:58:21 +00:00
Eric Engestrom
4e9c16b035
features.txt: specify that VK_EXT_depth_clip_enable is only supported on v3dv/vc7+
...
Fixes: 16f6f50ce4
("v3dv: expose VK_EXT_depth_clip_enable")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30185 >
2024-07-17 11:58:21 +00:00
Eric Engestrom
f5a93fa83b
features.txt: specify that VK_EXT_depth_clamp_zero_one is only supported on v3dv/vc7+
...
Fixes: f8623ea7da
("v3dv: adversise VK_EXT_depth_clamp_zero_one")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30185 >
2024-07-17 11:58:21 +00:00
Juan A. Suarez Romero
cbd3927445
v3d: expose ARB_depth_clamp in V3D 7.x
...
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30155 >
2024-07-15 11:45:37 +02:00
Juan A. Suarez Romero
f8623ea7da
v3dv: adversise VK_EXT_depth_clamp_zero_one
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30148 >
2024-07-15 09:17:40 +00:00
Ryan Neph
a5e4880cbe
venus: enable VK_EXT_external_memory_acquire_unmodified
...
Signed-off-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29777 >
2024-07-10 18:57:27 +00:00
Karol Herbst
7b22bc617b
rusticl/memory: complete rework on how mapping is implemented
...
Previously we tried to map GPU resources directly wherever we could,
however this was always causing random issues and was overall not very
robust.
Now we just allocate a staging buffer on the host to copy into, with some
short-cut for host_ptr allocations.
Fixes the following tests across various drivers:
1Dbuffer tests (radeonsi, zink)
buffers map_read_* (zink)
multiple_device_context context_* (zink)
thread_dimensions quick_* (zink)
math_brute_force (zink)
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30082 >
2024-07-10 13:58:56 +00:00
Eric Engestrom
2bb6ea3a69
docs/features: mark VK_KHR_maintenance7 as implemented on anv and lvp
...
See 9a68be59ca
("anv: enable VK_KHR_maintenance7")
and 3d2d4f76d5
("lavapipe: maint7")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30017 >
2024-07-03 16:29:02 +00:00
Samuel Pitoiset
dc89028bbc
radv: advertise VK_KHR_maintenance7
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29956 >
2024-07-03 12:39:01 +00:00
Zan Dobersek
8a84e77b15
tu: support KHR_8bit_storage
...
Add basic KHR_8bit_storage support for Adreno 750 devices, for now enabling
the storageBuffer8BitAccess feature. A separate descriptor is provided for
8-bit storage access. The descriptor index is adjusted appropriately for
8-bit SSBO loads and stores.
The 8-bit SSBO loads cannot go through isam since that instruction isn't
able to handle those. The ldib and stib instruction encodings are a bit
peculiar but they match the blob's image buffer access through VK_FORMAT_R8
and the dedicated descriptor. These loads and stores do not work in
vectorized form, so they have to be scalarized. Additionally stores of
8-bit values have to clear up higher bits of those values.
8-bit truncation can leave higher bits as undefined. Zero-extension of
8-bit values has to use masking since the corresponding cov instruction
doesn't function as intended. 8-bit sign extension through cov from a
non-shared to a shared register also doesn't work, so an exception is
applied to avoid it.
Conversion of 8-bit values to and from floating-point values also doesn't
work with a straightforward cov instruction, instead the conversion has
to go through a 16-bit value.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9979
Signed-off-by: Zan Dobersek <zdobersek@igalia.com >
Reviewed-by: Connor Abbott <cwabbott0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28254 >
2024-07-03 08:31:39 +00:00
Mary Guillemard
c45d05b1e4
panvk: Advertise VK_KHR_sampler_mirror_clamp_to_edge
...
We already support it under the hood.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29872 >
2024-06-26 16:33:41 +00:00
Matt Coster
536775ee8b
docs: List VK_EXT_debug_utils
...
Signed-off-by: Matt Coster <matt.coster@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24488 >
2024-06-26 15:07:16 +00:00