Mike Blumenkrantz
2613344c49
ntv: handle nir_intrinsic_load_first_vertex as basevertex
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39883 >
2026-02-13 16:03:40 +00:00
Marek Olšák
9237ca7e46
ac/llvm: remove unused functions
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39638 >
2026-02-13 15:33:19 +00:00
Marek Olšák
d1e6a5c1c8
ac: lower load_num_workgroups in NIR
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39638 >
2026-02-13 15:33:19 +00:00
Marek Olšák
1e11e83d1c
ac/nir: add ac_nir_lower_intrinsics_to_args_options structure
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39638 >
2026-02-13 15:33:19 +00:00
Marek Olšák
a9e47751d2
ac: lower load_subgroup_id for ACO in NIR
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39638 >
2026-02-13 15:33:19 +00:00
Marek Olšák
0a9bdcac79
ac: lower load_workgroup_ids for ACO in NIR
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39638 >
2026-02-13 15:33:19 +00:00
Daniel Schürmann
97f095f6e0
aco/lower_branches: Add try_rotate_latch_block() optimization
...
This optimization looks for unconditional back-edges and aims
to rotate the loop in a way that the final block is emitted
before the loop header, essentially turning
BB1:
if ()
goto BB3;
BB2:
<loop body>
goto BB1;
BB3:
...
into
goto BB1;
BB2:
<loop body>
BB1:
if(!cond)
goto BB2;
BB3:
...
Totals from 4969 (5.89% of 84383) affected shaders: (Navi48)
Instrs: 15253038 -> 15254019 (+0.01%); split: -0.00%, +0.01%
CodeSize: 81225300 -> 81227696 (+0.00%); split: -0.02%, +0.02%
Latency: 320796283 -> 320693480 (-0.03%); split: -0.03%, +0.00%
InvThroughput: 51395922 -> 51376156 (-0.04%); split: -0.04%, +0.00%
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
ade5e300ab
aco/insert_delay_alu: handle loop latch block before loop body
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
102aca9843
aco/assembler: emit block_kind_loop_latch before the loop header
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
da1594f8bb
aco: introduce notion of block_kind_loop_latch
...
A block annotated with block_kind_loop_latch denotes a block
the re-entry point for a loop back-edge. It is emitted after
the loop preheader and (potentially) before the loop header.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
9887ce6709
aco/print_asm: Sort block markers by block offset
...
We are going to emit blocks in a different order.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
800a4957bb
aco/lower_branches: Consider branch target of nested conditional branches
...
Totals from 1470 (1.74% of 84383) affected shaders: (Navi48)
Instrs: 5128451 -> 5126842 (-0.03%)
CodeSize: 29359832 -> 29353656 (-0.02%); split: -0.02%, +0.00%
Latency: 41047203 -> 41040786 (-0.02%)
InvThroughput: 6040459 -> 6039619 (-0.01%); split: -0.01%, +0.00%
Branches: 146219 -> 144648 (-1.07%)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
fbf2083b8f
aco/isel: Don't emit ELSE side of divergent branches which jump
...
Totals from 50 (0.06% of 84383) affected shaders: (Navi48)
Instrs: 402490 -> 402444 (-0.01%); split: -0.01%, +0.00%
CodeSize: 2239024 -> 2238864 (-0.01%); split: -0.01%, +0.00%
SpillSGPRs: 1493 -> 1496 (+0.20%)
Latency: 5836785 -> 5836747 (-0.00%); split: -0.00%, +0.00%
InvThroughput: 1120893 -> 1120909 (+0.00%); split: -0.00%, +0.00%
Copies: 46128 -> 46082 (-0.10%)
VALU: 222708 -> 222715 (+0.00%); split: -0.00%, +0.00%
SALU: 53039 -> 52993 (-0.09%)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
ba32219cf8
aco/isel: Don't emit ELSE side of uniform branches which jump
...
Totals from 4 (0.00% of 84383) affected shaders: (Navi48)
Instrs: 16473 -> 16468 (-0.03%)
CodeSize: 85276 -> 85300 (+0.03%)
SpillSGPRs: 175 -> 176 (+0.57%)
Latency: 267907 -> 267885 (-0.01%)
InvThroughput: 36302 -> 36298 (-0.01%)
Copies: 1353 -> 1345 (-0.59%)
VALU: 9025 -> 9029 (+0.04%)
SALU: 2635 -> 2627 (-0.30%)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
96a639918c
aco: don't emit p_logical_start / p_logical_end after divergent branches
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:44 +00:00
Daniel Schürmann
3743230252
aco/isel: Do IF-simplification if that didn't happen during NIR optimizations
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:43 +00:00
Daniel Schürmann
50b093ec90
aco/builder: Fix v_add_co_u32 carry-out to VCC if post_ra
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39519 >
2026-02-13 14:49:43 +00:00
Eric Engestrom
60d7c3f32f
marge/pipeline_message: print details for any pipeline that hasn't succeeded
...
Not just the ones that have failed.
Again, this now includes "still running past timeout" and "blocked on a manual job".
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39815 >
2026-02-13 14:44:30 +00:00
Eric Engestrom
95eb133c17
marge/pipeline_message: consider any job that hasn't succeded as problematic
...
That includes jobs that are still running past the timeout, and jobs
that are waiting on a manual action.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39815 >
2026-02-13 14:44:30 +00:00
Eric Engestrom
c4afecfb28
marge/pipeline_message: print job status for jobs still running or waiting for manual action
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39815 >
2026-02-13 14:44:30 +00:00
Eric Engestrom
fb1cb00a96
radv/ci: add vulkan fluster job on navi48
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39861 >
2026-02-13 13:48:03 +00:00
Eric Engestrom
8d629b0ac6
ci-tron: add job template for the x86_64 video test image
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39861 >
2026-02-13 13:48:03 +00:00
Daniel Schürmann
88b4221519
nir/clone: Fix cloning indirect call instructions
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Fixes: bb40284f76 ('nir: Add indirect calls')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39844 >
2026-02-13 11:27:59 +00:00
Konstantin Seurer
6dce207497
vulkan/cmd_queue: Use a linear allocator
...
This simplifies memory management a lot and should improve performance.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39859 >
2026-02-13 10:29:42 +00:00
Konstantin Seurer
829adb65f8
util/ralloc: Allow creating a linear context without parent context
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39859 >
2026-02-13 10:29:42 +00:00
Aitor Camacho
bdb970fc5a
kk: Default to max descriptor size if mutable list is empty
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858 >
2026-02-13 09:46:21 +00:00
Aitor Camacho
fc8ab6787b
kk: Fix image access issues
...
Some images would have both non-write and non-read making them readwrite.
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858 >
2026-02-13 09:46:21 +00:00
Aitor Camacho
4de48d7161
kk: Force fragment output matches render targets'
...
Metal is quite pedantic when it comes to fragment output and render target
types, so unless they match, it'll fail to compile.
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858 >
2026-02-13 09:46:21 +00:00
Aitor Camacho
220660038e
kk: Fix push descriptor set layout when rebinding
...
Push descriptors would not update the layout after creation.
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858 >
2026-02-13 09:46:21 +00:00
Aitor Camacho
d775ac85ba
kk: Assign type to load_frag_coord
...
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858 >
2026-02-13 09:46:21 +00:00
Aitor Camacho
05cca7eb36
kk: Fix crash in PositiveShaderImageAccess.UndefImage
...
Clean sample instructions that have an undef texture as a source
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Signed-off-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858 >
2026-02-13 09:46:21 +00:00
Erik Faye-Lund
384ce6d8d3
pvr: add basic volcanic hw-definitions
...
This is most of the HW definitions for the Volcanic GPU that more or
less directly correspond to what we already have for Rogue. This isn't
complete enough to drive the GPU, but gets us a step on the way.
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39526 >
2026-02-13 09:28:56 +00:00
Kenneth Graunke
975034660e
iris: Fix scratch shift after recent bindless changes
...
Commit 2ef29502ed updated the compiler
to expect scratch addresses to be shifted by 6 regardless of platform,
and updated anv, but didn't update iris. Easy fix, copy paste change
from anv.
Fixes: 2ef29502ed ("brw: enable ex_bso for LSC_SS")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39876 >
2026-02-13 00:08:51 -08:00
Samuel Pitoiset
1be4ffdff9
ac,radv,radeonsi: use correct swizzle/pitch for depth-only images with SDMA
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This fixes new VKCTS coverage
dEQP-VK.api.copy_and_blit.core.use_after_copy.*.
is_stencil isn't set for RadeonSI because it doesn't do SDMA copies
with Z/S.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39800 >
2026-02-13 07:52:29 +01:00
Yiwei Zhang
04494efa7c
venus: fix a prime blit assert...again
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
The assert doesn't consider multiple queue family case where the same
blit cmd has to be recorded for each, thus hitting the assert for the
same image and buffer.
The prior fix of the same 054c8e117e was
accidentally missed in the reland of the implicit in-fence handling MR:
- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39401
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14843
Fixes: eb709cba47 ("venus: track prime blit dst buffer memory in the wsi image")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39871 >
2026-02-13 04:39:14 +00:00
Dylan Baker
7f469f1963
vulkan/runtime: Tie vulkan log printing to debug option rather than buildtype
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This allows users of -Dbuildtype=debugoptimized, or who just set
-Ddebug=true, to get error messages. This is especially important for us
in the Intel CI, where we want these messages, but we also need to the
performance benefits of optimization.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39863 >
2026-02-12 23:29:29 +00:00
Eric Engestrom
e67123c915
ci/vkd3d: update tags
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:21 +00:00
Eric Engestrom
83fed5dfb0
ci/vkd3d: only build and install the files we actually want
...
Drops about 75% of the size on disk.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:21 +00:00
Eric Engestrom
a2be9897ef
ci/vkd3d: keep tests/ directory structure
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:21 +00:00
Eric Engestrom
d4aa7ed21b
ci/vkd3d: ensure test-runner.sh has the right mode
...
And just like the other executable above, instead of adding `chmod`
after `mkdir`+`cp`, let's use `install` which does all of the above in
one nice command.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:21 +00:00
Eric Engestrom
0b89e9457a
ci/vkd3d: drop no-longer-needed file
...
Since vkd3d ad8c9a2cd06a82e13635 ("tests: add `--list-tests` to list all
the tests"), this file is no longer read at runtime anymore.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:20 +00:00
Eric Engestrom
d7aee98e9d
ci/vkd3d: drop separate build directory
...
Just build from the source clone and let it be cleaned at the same time.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:20 +00:00
Eric Engestrom
0b03492957
ci/vkd3d: fetch only the desired commit
...
Standardize with the way most repos in CI are cloned.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:19 +00:00
Eric Engestrom
3a923461d0
ci/vkd3d: drop duplicate submodule update
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:19 +00:00
Eric Engestrom
83c022fe5d
ci: close individual build sections by default
...
In the normal case, what we care about is how long the various builds take,
and in the special case when something fails to build we can click to open
the section and see the error.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670 >
2026-02-12 20:53:18 +00:00
Samuel Pitoiset
4ec3840184
radv/meta: move the barrier for depth/stencil compute resolves outside
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This barrier is only needed for rendering resolves (ie. not for
vkCmdResolveImage()). It's similar to color compute resolves now.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39805 >
2026-02-12 20:17:20 +00:00
Samuel Pitoiset
3e41b04de9
radv/meta: optimize a barrier with depth/stencil compute resolves
...
The compute resolve doesn't use HTILE of the destination image, so the
potential HTILE clear can run in parallel.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39805 >
2026-02-12 20:17:20 +00:00
Samuel Pitoiset
85a3f7816d
radv/meta: add HTILE support to radv_fixup_resolve_dst_metadata()
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39805 >
2026-02-12 20:17:20 +00:00
Samuel Pitoiset
6a454dabda
radv/meta: stop fixing up HTILE after a partial resolve using compute
...
The decompression pass already resets HTILE to its uncompressed state,
so this is just redundant.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39805 >
2026-02-12 20:17:19 +00:00
Samuel Pitoiset
c3cc6fd051
radv: cleanup barriers after a depth/stencil expand
...
Synchronize in radv_expand_depth_stencil() is more robust.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39805 >
2026-02-12 20:17:19 +00:00