Erik Faye-Lund
03fc483813
panvk: expose EXT_4444_formats
...
We already have all the bits wired up to support both
VK_FORMAT_A4R4G4B4_UNORM_PACK16 and VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT
from VK_EXT_4444_formats, and were already setting the feature-flags for
them.
Let's also expose the extension, which should just work.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32083 >
2024-12-09 21:16:04 +00:00
Benjamin Lee
e8d67f1f6a
panvk: advertise multiview support on v10+
...
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31704 >
2024-12-09 20:31:49 +00:00
Benjamin Lee
7a9f14d3c2
panvk: advertise VK_EXT_provoking_vertex
...
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-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/32273 >
2024-12-06 10:40:03 +00:00
Adam Jackson
266dfb15c1
docs/envvars: Combine WGL sections
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32316 >
2024-12-05 19:46:38 +00:00
Adam Jackson
f447e31daa
docs/envvars: Remove mention of IRIS_ENABLE_CLOVER
...
This went away when clover dropped nir driver support.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32316 >
2024-12-05 19:46:38 +00:00
Dylan Baker
43bdc84831
docs: update calendar for 24.3.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32491 >
2024-12-05 00:43:50 +00:00
Dylan Baker
fd0da8eb80
docs: Add SHA sums for 24.3.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32491 >
2024-12-05 00:43:50 +00:00
Dylan Baker
a3715349fd
docs: add release notes for 24.3.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32491 >
2024-12-05 00:43:50 +00:00
Erik Faye-Lund
1f294e808c
panvk: expose KHR_dedicated_allocation
...
Caterina already implemented this in ed64fa034b
("panvk: never prefer or
require dedicated allocation for buffers") and dbdaefb6ed
("panvk: never
require dedicated allocation for images"), so let's flip the switch.
We pass 4505 of the CTS tests, and fail a single one. Let's mark that
one as an expected failure and move on for now.
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32466 >
2024-12-04 21:34:59 +00:00
Marek Olšák
7f4e36ff7d
gallium: replace PIPE_SHADER_CAP_INDIRECT_INPUT/OUTPUT_ADDR with NIR options
...
This is a prerequisite for enabling nir_opt_varyings for all gallium
drivers.
nir_lower_io_passes (called by the GLSL linker) only uses NIR options
to lower indirect IO access before lowering IO and calling
nir_opt_varyings.
Most drivers report full support for indirect IO and lower it themselves,
which prevents compaction of lowered indirectly accessed varyings because
nir_opt_varyings doesn't touch indirect varyings.
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io > (Rb for asahi)
Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com > (for r300)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32423 >
2024-12-03 12:57:36 +00:00
Samuel Pitoiset
00afc4e353
radv: advertise Vulkan 1.4 on GFX8+
...
GFX6-7 can't support Vulkan 1.4 because indexTypeUint8 isn't supported
in hardware, and emulating features for very old hardware isn't the
option I would personally choose.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32432 >
2024-12-03 10:21:55 +00:00
Samuel Pitoiset
1b68a92c59
radv: dump address binding report with RADV_DEBUG=hang
...
This contains much more info than the BO history from the winsys and
it will be helpful for debugging.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32403 >
2024-12-03 08:13:13 +00:00
Caterina Shablia
2cac1389e5
panvk: enable shaderInt8, VK_KHR_8bit_storage and VK_KHR_shader_float16_int8
...
We already could handle int8 load/stores and arithmetic.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32361 >
2024-12-02 20:58:23 +00:00
Simon Perretta
37d4791343
pco: vec coalescing improvement to register allocation
...
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com >
Acked-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258 >
2024-11-29 15:14:12 +00:00
Simon Perretta
a89a9b65f8
pco: re-indexing debug option and additional vector and component tracking
...
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com >
Acked-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258 >
2024-11-29 15:14:12 +00:00
Simon Perretta
f3cc7c128c
pco: add verbose printing debug option
...
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com >
Acked-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258 >
2024-11-29 15:14:12 +00:00
Simon Perretta
3349b5b296
pco: add env debug option parsing
...
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com >
Acked-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258 >
2024-11-29 15:14:10 +00:00
Samuel Pitoiset
851a8a481b
vulkan: add MESA_VK_TRACE_PER_SUBMIT
...
To capture RGP per-submit for compute-only workloads. Other capture
tools like RMV are not covered here.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32370 >
2024-11-28 07:03:20 +00:00
Eric Engestrom
c51378fa6c
docs: add sha sum for 24.2.8
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32384 >
2024-11-28 01:32:32 +01:00
Eric Engestrom
955bdb82c3
docs: add release notes for 24.2.8
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32384 >
2024-11-28 01:32:32 +01:00
Eric Engestrom
4b0c600fa2
docs: update calendar for 24.2.8
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32384 >
2024-11-28 01:32:32 +01:00
Samuel Pitoiset
4308668a25
radv: allow shaders caching with RADV_DEBUG=hang and the trap handler
...
When debugging a game that compiles a ton of shaders at beginning, it
can be very very slow because shaders cache was disabled by default
with RADV_DEBUG=hang.
To make debugging such a game faster, let's cache shaders with
RADV_DEBUG=hang. Note that only the backend IR (ACO or LLVM) and the
disassembly are stored in the cache. To get SPIR-V and NIR, you might
need RADV_DEBUG=hang,nocache.
This also handles the trap handler.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32246 >
2024-11-27 08:04:59 +00:00
Mary Guillemard
dec5523e33
panvk: Advertise VK_EXT_pipeline_robustness
...
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/32331 >
2024-11-25 18:33:40 +00:00
Mary Guillemard
8485b3fcff
panvk: Advertise VK_EXT_image_robustness
...
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/32331 >
2024-11-25 18:33:40 +00:00
Erik Faye-Lund
ad8da772ab
docs: add missing panfrost extensions
...
We've supported GL_ARB_transform_feedback3 since 2019,
GL_ARB_draw_indirect and GL_ARB_texture_cube_map_array since 2021.
...you get the picture. There's more, and they've all been around for a
good while. But it seems we forgot to tell features.txt about them.
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:58 +01:00
Erik Faye-Lund
75fbf492ac
docs: fixup a few mistakes with panfrost
...
Both of GL_OES_sample_shading and GL_OES_shader_multisample_interpolation
are enabled on panfrost when GL_OES_gpu_shader5 is enabled. And that's
the case on Bifrost and later, but not Midgard.
Let's fix up features.txt to match reality here.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:58 +01:00
Erik Faye-Lund
d7342a0179
docs: refer to panfrost by version
...
The different Mali architecture versions are an easier way of reasoning
about what is and what isn't supported, so let's switch to that.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:57 +01:00
Erik Faye-Lund
dc8c6d9978
docs: update GL_ARB_multi_draw_indirect support
...
This is always supported when GL_ARB_draw_indirect is supported, so
let's not needlessly repeat drivers here.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:56 +01:00
Erik Faye-Lund
dcf380d1b6
docs: update GL_OES_shader_image_atomic support
...
This is always supported on GLES 3.1 now, so let's update features.txt
with that.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:56 +01:00
Erik Faye-Lund
a9b662908c
docs: mark GL_ARB_get_program_binary as always supported
...
We always support the extension. Wether we support any formats or not
depends on one of two conditions:
1. If Mesa is built with shader-cache support or not, which is not a
driver decision.
2. If GL_ARB_gl_spirv is supported or not, which is covered elsewhere.
So there's no reason to list individual drivers here, as that doesn't
really change anything.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:55 +01:00
Erik Faye-Lund
71b9848c07
docs: mark GL_ARB_shader_subroutine as always supported
...
This extension is always supported, no need to maintain a list of
drivers that support it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32300 >
2024-11-25 18:19:55 +01:00
Dylan Baker
50e7a8ef25
docs: Add calendar entries for 24.3 release.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Dylan Baker
94d3415dcb
docs/release-calendar: remove 24.3 RC dates
...
Those are done
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Dylan Baker
3b5d135fad
docs/relnotes/24.3.0: Add SHA sums
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Dylan Baker
8661ff683a
docs: add release notes for 24.3.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Danylo Piliaiev
2ab8eff511
tu/a7xx: Implement VK_KHR_fragment_shading_rate
...
- A650+ - should be able to support pipelineFragmentShadingRate
but in some other way than A7XX. Not implemented here.
- A7XX - support pipelineFragmentShadingRate and attachmentFragmentShadingRate
- A740+ - support primitiveFragmentShadingRate
layeredShadingRateAttachments is unsupported at the moment due to tests
failure, but prop driver supports it.
Passes:
dEQP-VK.fragment_shading_rate.*
On A750/A740
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30905 >
2024-11-21 17:59:09 +00:00
John Anthony
653808c209
panvk: Enable VK_KHR_vertex_attribute_divisor
...
Panvk currently enables VK_EXT_vertex_attribute_divisor, but Mali HW
does not support a non-zero firstInstance when a divisor is used.
supportsNonZeroFirstInstance is correctly set to false to advertise
this, however this property was only added when the extension was
promoted. Thus we need to remove support for
VK_EXT_vertex_attribute_divisor and enable
VK_KHR_vertex_attribute_divisor instead.
Also fixes an issue with non-zero divisor for v10.
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32137 >
2024-11-21 06:02:13 +00:00
Mary Guillemard
83c2d82637
panvk: Advertise VK_KHR_map_memory2
...
Already supported.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32248 >
2024-11-20 14:45:14 +00:00
Mary Guillemard
6ffde9294e
panvk: Advertise VK_KHR_index_type_uint8
...
We already support VK_EXT_index_type_uint8 and this is the promoted
version of it.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32248 >
2024-11-20 14:45:14 +00:00
Eric Engestrom
b471f75215
docs: fix invalid expression in teflon docs
...
Fixes: 4d23156127
("teflon/docs: Clarify smoke test instructions")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32247 >
2024-11-20 12:54:28 +00:00
Eric Engestrom
d61dc62c59
docs: fix invalid expression in new pipe cap
...
Fixes: 89dad5618d
("gallium: add PIPE_CAP_CALL_FINALIZE_NIR_IN_LINKER")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32247 >
2024-11-20 12:54:28 +00:00
Lina Versace
4743695e91
anv: Update features.txt
...
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32205 >
2024-11-20 03:53:19 +00:00
Marek Olšák
4da5b11ca9
nir: add nir_io_separate_clip_cull_distance_arrays to replace PIPE_CAP
...
to make the flag available in NIR passes
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32173 >
2024-11-19 23:48:38 +00:00
Timur Kristóf
e6eaf7b950
radv: Slightly reword preoptir debug flag.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32079 >
2024-11-19 16:15:42 +01:00
Timur Kristóf
6d5caabdd7
radv: Separate option to dump backend IR.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32079 >
2024-11-19 16:15:38 +01:00
Timur Kristóf
649da9e744
radv: Separate option to print shader disassembly.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32079 >
2024-11-19 16:15:35 +01:00
Timur Kristóf
3f92c0bbe9
radv: Separate option to dump NIR.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32079 >
2024-11-19 16:15:33 +01:00
Timur Kristóf
ab89fdc3d4
radv: Add ability to dump shaders based on stage.
...
The new debug flags can make the output less overwhelming
and only dump what we want to see.
The old RADV_DEBUG=shaders will still print all stages.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32079 >
2024-11-19 16:15:23 +01:00
Mary Guillemard
957db02fed
panvk: Advertise VK_EXT_host_query_reset
...
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.cim >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31843 >
2024-11-19 13:40:07 +01:00
Mary Guillemard
1fc454673a
panvk: Implement VK_EXT_sampler_filter_minmax for v10
...
This is supported by the hardware since v10.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32215 >
2024-11-19 11:55:05 +01:00