Karol Herbst
a4d0d1c87b
rusticl/util: fix ptr_to_integer_transmute_in_consts warning
...
We simply remove the const attribute :)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12288
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32723 >
2024-12-20 03:13:34 +00:00
Karol Herbst
de664f05e3
rusticl/platform: silence static_mut_refs warning
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12288
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32723 >
2024-12-20 03:13:34 +00:00
Marek Olšák
a50d069d1c
nir/opt_varyings: clear info->clip/cull_distance_array_size if relocated
...
svga breaks if shader_info declares these, but the shader is missing
the outputs.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32684 >
2024-12-20 02:32:08 +00:00
Marek Olšák
9d129505b5
nir/opt_varyings: set all IO types to float to facilitate full vectorization
...
If types differ between components of a vec4 slot, IO vectorization can't
be done.
This also helps drivers like d3d12 that require matching types between
shaders.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32684 >
2024-12-20 02:32:08 +00:00
Deborah Brouwer
6331de400b
ci: update token retrieval method for gantt charts
...
When the gantt chart service was first implemented, the read_token()
function would attempt to read from the default token file if the token
argument was missing.
Now it's necessary to call a separate function to look in the default
token file, so if the token argument is not provided, expressly call
get_token_from_default_dir().
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
0366eebe3e
ci: add pytests for the gantt chart scripts
...
Add some initial pytests to test new options and to prevent future
regressions.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
fd7423b38e
ci: add --ci-timeout option for gantt scripts
...
The gantt charts have a vertical line indicating the time when marge-bot
stops waiting for CI to finish. Currently the ci-timeout is hard-coded at
60 minutes. But marge-bot's timeout is configurable, so allow this value
to be configured as well.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
55f452530a
ci: gantt chart: include in-progress jobs
...
If a job is still running when the gantt chart is generated, the job's
phases won't be represented as a bar on the chart.
To show these jobs on the gantt chart, introduce a new phase "In-Progress"
to capture the current status of these jobs. Rename the "Running" phase
as "Time spent running" to emphasize that the running phase is complete.
This provides a more complete picture of the pipeline jobs when CI times
out.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
45ef1221a3
ci: post gantt: ignore pipeline_summary message
...
The gantt chart script currently expect the pipeline url to be the last
line of marge-bot's comment on a failed pipeline. The pipeline summary
hook now adds additional information that was preventing the gantt chart
script from finding the pipeline url.
Change the regex for finding the pipeline url to account for pipeline
summary comments.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
4ae2105fcb
ci: post gantt: add pipeline-id to gantt filename
...
Add a pipeline-id to the gantt filename so that the filename is unique.
Reduce the additional info provided in the gantt comments since the tool
is now more familiar to developers.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
127a8aa9c3
ci: post gantt: add --project-id option
...
Currently the gantt chart script will post a comment to any project that
uses the default marge bot user id. Although the gantt chart is flexible
enough to work for any project, restrict it to mesa/mesa by default. Add
the --project-id option to add a custom project or list of projects to
analyze.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
db62fa626b
ci: post gantt: add --marge-user-id option
...
The gantt chart currently hard-codes the marge user id, but since the
script can be used for any marge-bot user, add an option to specify the
marge-bot user id. If no option is specified, the default marge-bot user
id is still used.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
1404fb5481
ci: make the gantt scripts available as modules
...
Instead of running the gantt scripts only from the command line, make
them available as modules also. This allows the scripts to be imported for
testing.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
cb74034517
ci: add some static typing to the gantt scripts
...
Add some static typing where possible so that tools like mypy can be used
to avoid any future code errors.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Deborah Brouwer
9671de71a3
ci: post gantt: use logging instead of print
...
Replace the print statements with logging to take advantage of the
built-in logging formatting and levels.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32637 >
2024-12-19 16:56:30 -08:00
Kenneth Graunke
cb756ae8a2
brw: Don't rely on SIMD splitting in opt_combine_convergent_txfs
...
The SIMD splitting pass does not handle wide force_writemask_all
instructions correctly at the moment. For example, a SIMD32 TXF
on pre-Xe2 would get split to a pair of SIMD16. But it will set
the groups to operate on channels 15:0 and 31:16. That's not what
we want for a NoMask instruction - both should be 15:0, i.e.
bld.group(inst->exec_size, 0).
We could (and perhaps should) fix the SIMD splitting pass to handle
this, but the pass already has subtle complexity in which builders
are used. Or we could alter fs_builder::group(), but that has broader
implications. As a stop-gap, just make opt_combine_covergent_txfs stop
relying on SIMD splitting. It's trivial to do and fixes the issue
without risking other breakage.
Fixes: 6341b3cd87 ("brw: Combine convergent texture buffer fetches into fewer loads")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32714 >
2024-12-19 23:16:12 +00:00
Dylan Baker
9b07cac02e
docs/release-calendar: Move next release to January 2nd
...
January 1st is a holiday for Dylan, and he will not be working that day.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32735 >
2024-12-19 22:58:07 +00:00
Dylan Baker
83875451e2
docs: update calendar for 24.3.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32735 >
2024-12-19 22:58:07 +00:00
Dylan Baker
4817771150
docs: Update checksums for 24.3.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32735 >
2024-12-19 22:58:07 +00:00
Dylan Baker
d1e0572f13
docs: add release notes for 24.3.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32735 >
2024-12-19 22:58:07 +00:00
Chia-I Wu
0204baaa8b
panvk: silence a perfetto init warning
...
Kernel drivers gained timestamp support in 6.13. CI might be on an
older kernel, but on a build with perfetto enabled. Silence the
warning.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32728 >
2024-12-19 19:00:13 +00:00
Job Noorman
419879ee62
ir3,freedreno: remove binning outputs after vs ucp lowering
...
nir_lower_clip_vs relies on VARYING_SLOT_CLIP_VERTEX which gets removed
when removing the outputs that are unused by the binning vs. Fix this by
only removing the outputs after running nir_lower_clip_vs.
Signed-off-by: Job Noorman <jnoorman@igalia.com >
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12328
Fixes: 24b422dc3e ("ir3: remove unused outputs for binning pass in NIR")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32727 >
2024-12-19 17:32:26 +00:00
Jordan Justen
adfd7486c2
iris: Check that mem_fence_bo was created
...
Cc: José Roberto de Souza <jose.souza@intel.com >
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 8e8097245f ("iris: Emit STATE_SYSTEM_MEM_FENCE_ADDRESS")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32716 >
2024-12-19 08:54:00 -08:00
Erik Faye-Lund
4bcb92d35b
nvk: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
dc5ac13959
dozen: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
97dec34a89
hasvk: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
e17abeca44
anv: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
4de0e11b92
lavapipe: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
3df7eda3a8
panvk: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
6877ff7d9b
pvr: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
8628f31f49
turnip: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
57dc5bb31f
asahi: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
3b94bd03c2
radv: use vk_descriptor_type_is_dynamic
...
No need to open-code this one now that we have a generic helper.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
d188856ffd
panvk: use vk_descriptor_type_is_dynamic
...
No need for our own helper now that we have a generic one.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
ea88898b04
dozen: use vk_descriptor_type_is_dynamic
...
No need for our own helper now that we have a generic one.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
65e62a4c96
turnip: use vk_descriptor_type_is_dynamic
...
No need for our own helper now that we have a generic one.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
528ad300e6
v3dv: use vk_descriptor_type_is_dynamic
...
No need for our own helper now that we have a generic one.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
d6047f3c33
vulkan: add vk_descriptor_type_is_dynamic helper
...
There's a few variants of this in the tree already, let's add a reusable
one that we can switch to.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32627 >
2024-12-19 15:12:58 +00:00
Erik Faye-Lund
42b29837c9
panvk: drop fragmentStoresAndAtomics support for now
...
This is failing a bunch of tests on CI. In particular, it seems some
details are wrong WRT robust image access and atomics. There's some
lowering in place for that, but a quick test didn't fix it for me, so
let's walk this back and try again later.
Fixes: 605c173fbd ("panvk: update feature support")
Reviewed-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/32625 >
2024-12-19 14:41:28 +00:00
Benjamin Lee
3f90d8dfd2
panvk/csf: fix alpha-to-coverage
...
The equivalent bit is set correctly on JM, but was missed for CSF. There
shouldn't need to be any shader changes, the alpha-to-coverage flag in
FAU_ATEST_PARAM is set automatically from the bit in DcdFlags0.
Fixes dEQP-VK.pipeline.*.multisample.alpha_to_coverage*
Fixes: 447075eeee ("panfrost: Add support for the CSF job frontend")
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32696 >
2024-12-19 14:14:28 +00:00
Simon Ser
da555982b3
egl/wayland: fallback to implicit modifiers if advertised by compositor
...
The Wayland protocol defines INVALID as a special marker indicating
that implicit modifiers are supported. If the driver doesn't support
explicit modifiers and the compositor advertises support for implicit
modifiers, fallback to these.
This effectively restores logic removed in 4c065158927d, but only
for the specific case of Wayland instead of affecting all APIs.
(Wayland is one of the few APIs defining a special meaning for
INVALID.)
Signed-off-by: Simon Ser <contact@emersion.fr >
Fixes: 4c065158927d ("dri: revert INVALID modifier special-casing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32535 >
2024-12-19 13:09:48 +00:00
Simon Ser
d795b4712c
egl/wayland: only supply LINEAR modifier when supported
...
If we supply modifiers to dri_create_image_with_modifiers() and
the driver doesn't support them, the function will fail. We pass
__DRI_IMAGE_USE_LINEAR anyways so stripping the modifier is fine.
Signed-off-by: Simon Ser <contact@emersion.fr >
Fixes: 4c065158927d ("dri: revert INVALID modifier special-casing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32535 >
2024-12-19 13:09:48 +00:00
Simon Ser
655ac4fff6
dri: don't fetch X11 modifiers if we don't support them
...
If we supply modifiers to dri_create_image_with_modifiers() and
the driver doesn't support them, the function will fail. The X11
server always supports implicit modifiers so we can always fall
back to that.
Signed-off-by: Simon Ser <contact@emersion.fr >
Fixes: 4c065158927d ("dri: revert INVALID modifier special-casing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32535 >
2024-12-19 13:09:48 +00:00
Valentine Burley
d981f66df8
ci/windows: Always include windows-msvc in scheduled pipelines
...
The windows-msvc job currently runs only when Windows-related
files are modified.
To always run it in scheduled runs, we need to inherit
.scheduled_pipeline-rules.
Fixes: 435017700d ("ci/windows: Add a manual full job")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32717 >
2024-12-19 12:29:39 +00:00
David Rosca
3ea6ed8780
radeonsi/vcn: Enable write combine for decode
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32707 >
2024-12-19 11:06:48 +00:00
David Rosca
cdf2106609
radeonsi/uvd: Align bitstream buffer to 128 when resizing
...
Also use the same initial size as VCN.
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32673 >
2024-12-19 10:37:35 +00:00
David Rosca
f1235d13bd
radeonsi/vcn: Align bitstream buffer to 128 when resizing
...
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2824
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32673 >
2024-12-19 10:37:35 +00:00
Samuel Pitoiset
0b3e7ec36f
radv/nir: simplify lowering of query intrinsics
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32702 >
2024-12-19 08:08:53 +00:00
Samuel Pitoiset
a7d32be1dd
radv: rename GDS queries to emulated queries
...
Emulated is more generic than GDS. GDS will be replaced with SSBO
atomics anyways.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32702 >
2024-12-19 08:08:53 +00:00
Samuel Pitoiset
db5d57e95e
radv: fix getting the number of vertices per prim for the last VGT stage
...
This is only valid for VS.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32701 >
2024-12-19 07:46:28 +00:00