Mary Guillemard
20970bcd96
panfrost: Add base of OpenCL C infrastructure
...
This allows compiling CL shaders into a single SPIR-V library per arch,
NIR call bindings for each functions and precompilled binaries for each
entrypoints.
We are only going to support Bifrost and Valhall for this.
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/32720 >
2025-02-11 12:33:23 +00:00
Erik Faye-Lund
6652eb0ec3
meson: rename meson_options.txt
...
The proper name for the meson options changed to meson.options in Meson
1.1. Since we don't support older versions of Meson anyway, let's just
rename the options-file to the new name.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33445 >
2025-02-09 08:13:27 +00:00
Rebecca Mckeever
e8c6e22e14
panvk: Enable YCbCr support for v10+
...
Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32563 >
2025-02-08 07:48:41 +00:00
Benjamin Lee
08cd331cc0
panvk: implement VK_EXT_separate_stencil_usage
...
Needed for Vulkan 1.2.
The only real improvement from this is that in some situations we can
skip creating texture descriptors for image views that have a more
restrictive usage for either the depth or stencil aspect.
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33392 >
2025-02-07 12:54:33 -08:00
Benjamin ROBIN
023db569e8
docs: Update MESA_SHADER_CACHE_DIR env variable behavior
...
Update documentation to match implementation of
disk_cache_generate_cache_dir().
Signed-off-by: Benjamin ROBIN <dev@benjarobin.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32886 >
2025-02-06 22:14:11 +00:00
Eric Engestrom
cb53c83a5e
docs: update calendar for 25.0.0-rc2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33408 >
2025-02-05 19:49:46 +00:00
Eric Engestrom
4bbbbb96be
docs/android: drop libglapi.so now that it's gone
...
Fixes: 44bda7c258 ("dri: put shared-glapi into libgallium.*.so")
Reviewed-by: Antonio Ospite <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33388 >
2025-02-05 18:47:32 +00:00
Benjamin Lee
bd32129c1a
panvk: document missed extensions in new_features
...
This should have been included in the commits that introduced the
extensions.
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Fixes: 00fb0f5ec2 ("panvk: enable KHR_separate_depth_stencil_layouts")
Fixes: 935cadbc2e ("panvk: enable VK_KHR_depth_stencil_resolve")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33394 >
2025-02-05 10:46:48 +00:00
Qiang Yu
adc51bea28
doc,src: replace doc and comments for shader and compute cap
...
Use command:
find . -type d \( -path "./.git" -o -path "./docs/relnotes" \) -prune -o -type f -exec sed -i 's/PIPE_SHADER_CAP_\([A-Za-z0-9_]*\)/pipe_shader_caps.\L\1/g' {} +
find . -type d \( -path "./.git" -o -path "./docs/relnotes" \) -prune -o -type f -exec sed -i 's/PIPE_COMPUTE_CAP_\([A-Za-z0-9_]*\)/pipe_compute_caps.\L\1/g' {} +
Also remove value type in pipe_compute_caps doc because they
are explicit in struct now.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33176 >
2025-02-05 11:20:49 +08:00
Qiang Yu
0a5c8853ab
gallium,mesa: remove ir_type param when get_compute_param
...
We are going to convert compute cap query to struct access,
so remove this param.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33176 >
2025-02-05 11:12:44 +08:00
Qiang Yu
8a6eb7041e
gallium,clover: add compute caps used by clover only
...
To remove ir_type param when get_compute_param. These caps depend
on IR type and used by clover only (only clover query with
PIPE_SHADER_IR_NATIVE, others query with PIPE_SHADER_IR_NIR).
Only r600 and radeonsi support PIPE_SHADER_IR_NATIVE.
These caps can be removed when clover is deprecated.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33176 >
2025-02-05 11:12:44 +08:00
Benjamin Lee
00fb0f5ec2
panvk: enable KHR_separate_depth_stencil_layouts
...
Panvk doesn't use image layouts for anything, so we don't need any
changes to support this.
New fails in g52 CI expectations are *_separate_layouts variants of
existing failing tests, that were previously skipped.
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33179 >
2025-02-04 22:51:53 +00:00
Benjamin Lee
935cadbc2e
panvk: enable VK_KHR_depth_stencil_resolve
...
This has been supported since baf8570b28 ,
where depth/stencil resolve was added at the same time as color resolve.
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33179 >
2025-02-04 22:51:53 +00:00
Benjamin Lee
effa913d16
panvk: advertise storagePushConstant16 and storageInputOutput16
...
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33078 >
2025-02-04 01:56:01 +00:00
David Tobolik
457b159383
rusticl/feat: LinkOnce ODR
...
Reviewed-by: Karol Herbst <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33133 >
2025-01-31 13:46:41 +00:00
Eric Engestrom
4c46a93593
docs: update calendar for 25.0.0-rc1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33308 >
2025-01-31 00:03:58 +00:00
Adam Jackson
6f5c227e2c
zink: Enable KHR_shader_subgroup
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31228 >
2025-01-30 20:59:04 +00:00
Eric Engestrom
ea519cc230
docs: reset new_features.txt
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33304 >
2025-01-30 19:02:37 +00:00
Mark Collins
aaf8a8d968
freedreno/docs: Document TU_DEBUG_FILE
...
Signed-off-by: Mark Collins <mark@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32906 >
2025-01-30 17:42:06 +00:00
Tapani Pälli
cb71030387
mesa: enable GL_EXT_conservative_depth extension
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33065 >
2025-01-30 10:50:37 +00:00
Marc Herbert
9102d1775d
docs: move cross c*_args from [properties] to [built-in options]
...
Fixes the following warnings:
DEPRECATION: c_args in the [properties] section of the machine file
is deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section ...
DEPRECATION: cpp_args in the [properties] section ...
DEPRECATION: cpp_link_args in the [properties] section ...
These were moved in meson version 0.56.0:
https://mesonbuild.com/Machine-files.html#meson-builtin-options
https://mesonbuild.com/Release-notes-for-0-56-0.html
Mesa requires meson version 0.60 or above since commit 049086cd58
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945 >
2025-01-30 05:13:29 +00:00
Marc Herbert
75fb91501e
docs: show which pkg-config Fedora uses for cross-compilation
...
Learned the hard way.
Only tested on Fedora but other RPM-based distros are likely to be the
same.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945 >
2025-01-30 05:13:29 +00:00
Marc Herbert
0051807e7e
docs: show how to use ccache when cross-compiling
...
On my desktop system, this gets compilation of (a subset of) 32bits Mesa
from 2.5 minutes down to 15 seconds - and most of what left is linking.
Also show that absolute paths are not required.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945 >
2025-01-30 05:13:29 +00:00
Marc Herbert
eaabf0e5f0
docs: cross-compile: add useful "apt" and "dnf" builddep commands
...
These have been tested only with x86_64->i686 cross-compilation but I
don't see why they couldn't work with other architectures if/when Linux
distributions support them. For at least x86_64->i686 cross-compilation,
these commands save an enormous amount of time.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945 >
2025-01-30 05:13:29 +00:00
Marc Herbert
56081c0b22
docs: add "apt-get build-dep" and "dnf buildep"
...
So much easier and faster than installing every dependency one by one.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945 >
2025-01-30 05:13:28 +00:00
Samuel Pitoiset
b3cff84e06
docs: add a note about GFX12 (RDNA4) on RADV
...
This initial support should be good enough but it's missing two
features (cooperative matrix and video decode/encode) compared to
GFX11 (RDNA3) because lack of time.
DCC is still under active development but it might be possible to
finish it during the RC period.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33281 >
2025-01-29 16:24:44 +00:00
Eric Engestrom
ecc128e330
docs: update url to vulkan features & extensions
...
Fixes the nightly linkcheck.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33159 >
2025-01-28 14:28:58 +00:00
Antonio Ospite
7c6a4b65c7
docs/android: bump suggested platform-sdk-version to 34
...
Suggesting at least Android 14 for new development.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33188 >
2025-01-24 14:15:22 +00:00
Connor Abbott
6d406eeefa
tu: Support VK_EXT_conservative_rasterization on a7xx
...
This supports everything the blob does.
The registers exist on later a6xx gens, but they would be way more
inconvenient to use since they're mixed up with binning/not-binning and
compression state, and I'm not sure if it works.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33152 >
2025-01-23 22:37:11 +00:00
Erik Faye-Lund
e34e474f24
panvk: do not expose EXT_subgroup_size_control on bifrost
...
This exptension requires Vulkan 1.1, which we don't expose there yet.
While we're at it, put panvk into the normal sorted order of the list of
drivers.
Fixes: d46b80249b ("panvk: enable subgroupSizeControl")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33180 >
2025-01-23 12:09:51 +00:00
Eric Engestrom
762cd246ee
docs/release-calendar: push back the 24.3.x releases by one week
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33171 >
2025-01-23 03:09:36 +00:00
Eric Engestrom
835ecc5758
docs: add sha sum for 24.3.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33171 >
2025-01-23 03:09:36 +00:00
Eric Engestrom
e5ca260032
docs: add release notes for 24.3.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33171 >
2025-01-23 03:09:36 +00:00
Eric Engestrom
3d3ac0de25
docs: update calendar for 24.3.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33171 >
2025-01-23 03:09:36 +00:00
Marek Olšák
e7214b9446
glapi: rename exported symbols so as not to conflict with old libglapi
...
libwaffle 1.7.0 has a hack that dlopen's libglapi with RTLD_GLOBAL, which
was meant to preload libglapi, but with this MR it overwrites libgallium's
own symbols, which breaks libgallium.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32789 >
2025-01-23 00:49:05 +00:00
Caterina Shablia
d46b80249b
panvk: enable subgroupSizeControl
...
This is trivial for us, the hardware only ever supports a single
subgroup size.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32710 >
2025-01-22 21:49:52 +00:00
Erik Faye-Lund
1a81bff6aa
panvk: expose vk1.1 on v10 hardware
...
Subgroup ops were the last bit missing
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32710 >
2025-01-22 21:49:52 +00:00
Samuel Pitoiset
d4ff011b12
radv: advertise VK_KHR_maintenance8
...
There is nothing to do for
VK_PIPELINE_CACHE_CREATE_INTERNALLY_SYNCHRONIZED_MERGE_BIT_KHR because
the vulkan/runtime code already locks the dstCache unconditionally.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33091 >
2025-01-21 07:28:14 +00:00
Connor Abbott
967ea4bbbb
tu: Expose VK_KHR_ray_tracing_maintenance1
...
All of the features were already implemented in the initial bringup.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28447 >
2025-01-20 01:22:23 +00:00
Connor Abbott
36e46b4ada
tu: Support VK_KHR_ray_query
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28447 >
2025-01-20 01:22:23 +00:00
Connor Abbott
671e3a65a6
tu: Support VK_KHR_acceleration_structure
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28447 >
2025-01-20 01:22:23 +00:00
Konstantin Seurer
70767b9cd4
docs: Add documentation for NIR unit testing
...
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32644 >
2025-01-18 11:02:25 +00:00
Samuel Pitoiset
2ba91d1deb
radv: promote VK_EXT_depth_clamp_zero_one to KHR
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33090 >
2025-01-17 19:02:02 +00:00
Caleb Callaway
aae9a2c399
docs: clarify ASPM performance tips
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33052 >
2025-01-17 13:21:38 +00:00
Erik Faye-Lund
2f168fe92c
docs/features: mark panfrost as supporting GL_OES_texture_view
...
We've been supporting this for a while, let's make sure it's documented
correctly.
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33057 >
2025-01-17 12:00:14 +00:00
Erik Faye-Lund
1e8a017de3
docs/features: add a few missing extensions
...
Here's a few extensions we've forgotten to report in features.txt
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33057 >
2025-01-17 12:00:14 +00:00
Qiang Yu
6c95232069
gallium,mesa: remove uint surffix from pipe_caps
...
We use explicit type now, no need for these surffix to
indicate the implicit type of the fields.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32955 >
2025-01-17 04:39:47 +00:00
Qiang Yu
e5041ef036
docs,src: replace doc and comments for PIPE_CAP with pipe_caps
...
Use command:
find . -type d \( -path "./.git" -o -path "./docs/relnotes" \) -prune -o -type f -exec sed -i 's/PIPE_CAP_\([A-Za-z0-9_]*\)/pipe_caps.\L\1/g' {} +
find . -type d \( -path "./.git" -o -path "./docs/relnotes" \) -prune -o -type f -exec sed -i 's/PIPE_CAPF_\([A-Za-z0-9_]*\)/pipe_caps.\L\1/g' {} +
With manual adjustment for docs/gallium/screen.rst to merge
pipe_cap and pipe_capf section.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32955 >
2025-01-17 04:39:47 +00:00
Erik Faye-Lund
ebf9dae2e9
docs/features: fixup panvk KHR_shader_draw_parameters-support
...
This was enabled on Bifrost as well.
Fixes: 963e9feb8a ("panvk: enable shaderDrawParameters")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33032 >
2025-01-15 14:00:00 +00:00
Caio Oliveira
5bd9693578
docs: Update syntax on Performance tips page
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33020 >
2025-01-14 15:31:05 -08:00