Commit graph

217581 commits

Author SHA1 Message Date
Caio Oliveira
a5fac4e084 brw: Create a struct to hold parser state
Hold most of the parser data.  Remaining will be moved
in follow-up patches.  The struct itself is still a
global for now.

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39363>
2026-01-23 23:13:31 +00:00
Dylan Baker
97930015d8 docs/release-calendar: Update calendar for 1 week bump
Due to pushing 25.3.4 by one week due to gitlab upgrades.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:31 +00:00
Dylan Baker
98ceed095c docs: update calendar for 25.3.4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:31 +00:00
Dylan Baker
26ecbec8cb docs: Add SHA sums for 25.3.4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:30 +00:00
Dylan Baker
a37947b959 docs: add release notes for 25.3.4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39500>
2026-01-23 23:08:30 +00:00
Jesse Natalie
bd4693ea95 d3d12: Set packed_uniforms cap
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39497>
2026-01-23 22:51:28 +00:00
Jesse Natalie
53370a4ca9 driconf: Add a driconf entry for 文香白板 (Wenxiang whiteboard)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39465>
2026-01-23 22:02:51 +00:00
Jesse Natalie
bac1ceb83f wgl: Add a driconf option to force pixel formats with GDI support
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39465>
2026-01-23 22:02:51 +00:00
Calder Young
895ff7fe92 Revert "anv,brw: Allow multiple ray queries without spilling to a shadow stack"
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This optimization doesn't work when the ray query index isn't uniform across
the subgroup, which is something the spec allows. While there are some smart
ways to fix this and still avoid unnecessary spilling, its not worth investing
the time until we find a realtime raytracing workload that actually needs to
use multiple live ray queries for something.

Fixes: 1f1de7eb ("anv,brw: Allow multiple ray queries without spilling to a shadow stack")
Acked-by: Sagar Ghuge <sagar.ghuge@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39445>
2026-01-23 21:33:55 +00:00
Rob Clark
88ae2365b2 tu: Re-enable LRZ for gen8
Now that the FC/status memory layout size is correct, we no longer get
lrz related iova faults.  So re-enable lrz for gen8.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39375>
2026-01-23 21:07:16 +00:00
Rob Clark
1d715662de freedreno/lrz: Correct lrz fc layout for gen8
Fixes: 14a23e8b3e ("freedreno/lrz: Add gen8 lrz layout support")
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39375>
2026-01-23 21:07:16 +00:00
Rob Clark
ae3d900e37 tu: Drop HIC support for depth images
This becomes more complex for gen8, as the lrz-status is per-slice.
Additionally the lrz-status layout isn't "stable" between GPUs of a
given generation.. the hw can change the layout, as it's not really
considered a sw interface.

Dropping HIC support for depth images removes one of two places in
the driver that reach into the lrz-status memory.  The other is
tu_trace_end_render_pass(), but that is relatively safer.. at the
point that it is reading the status, all slices should be in the
same state.

Since HIC is not required for depth images, lets just delete some
code and not have this problem.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39375>
2026-01-23 21:07:16 +00:00
Eric Engestrom
602c356c58 pvr/ci: document last night's flakes
Some checks are pending
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/39493>
2026-01-23 19:37:20 +00:00
Eric Engestrom
902c7bcc6a pvr/ci: sort expectations
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39493>
2026-01-23 19:37:20 +00:00
Eric Engestrom
d7217f7a19 pvr/ci: document fixed tests
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39493>
2026-01-23 19:37:20 +00:00
Mike Blumenkrantz
e1855dc947 ntv: add basic vulkan support
this enables (some) shaders generated by vtn to successfully pass through
ntv and generate valid spirv

the majority of the plumbing is to handle deref casts, which are currently
assumed to originate solely from loading descriptors

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:10 +00:00
Mike Blumenkrantz
92622f7f44 ntv: handle bare sampler arrays
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:10 +00:00
Mike Blumenkrantz
ab8ba7016a ntv: handle glsl texture types
this is probably the path that KERNEL shaders should be taking for separate
sampled images

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:09 +00:00
Mike Blumenkrantz
e9a9a37228 ntv: add push const variable to ctx->vars hash table
this allows the push const variable to be used with normal deref paths

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:09 +00:00
Mike Blumenkrantz
33e2585d3b ntv: shore up shader_temp var handling
there were some minor cases where this wasn't fully implemented

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:08 +00:00
Mike Blumenkrantz
73213716b6 ntv: handle a couple trivial builtin loads
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:07 +00:00
Mike Blumenkrantz
5ca94eabec ntv: stop explicitly tracking variables for samplers/images
it's technically legal for duplicates to exist so long as they are never
accessed, so this was always wrong

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:07 +00:00
Mike Blumenkrantz
ec39a48901 ntv: emit extra decorations for matrix members of structs
this is awful.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:06 +00:00
Mike Blumenkrantz
e61444e33f zink: break out ntv into separate meson dep
no functional changes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39488>
2026-01-23 18:44:06 +00:00
Gurchetan Singh
9c511a1fa5 gfxstream: fixes related to -Wmissing-prototypes
- the vkSetDebugMetadataAsyncGOOGLE command should
  not have an entry in the function table: it
  leads to missing prototype errors

- Make gfxstream respect cpp_msvc_compat_args, since
  it is a C++ project.  -Wmissing-prototypes will be
  made a cpp error *eventually*.

Reviewed-by: Aaron Ruby <aruby@qnx.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39418>
2026-01-23 18:06:01 +00:00
Gurchetan Singh
0f582b0268 gallium: fix sometimes-uninitialized warning
Otherwise:

gallium/auxiliary/gallivm/lp_bld_nir_soa.c:2394:7:
 error: variable 'opname' is used uninitialized whenever switch default is taken

is observed.

Reviewed-by: @LingMan
Fixes: 12bceb228a ("gallivm: let reduce ops use llvm intrinsics")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39418>
2026-01-23 18:06:01 +00:00
Connor Abbott
09b9205117 tu: Fix FDM texel size calculation
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
It turns out that it was intended to round down when dividing the
framebuffer size by FDM size and all other implementations of
VK_EXT_fragment_density_map did that. We followed the spec, which
doesn't say to round (which is equivalent to rounding up), but the spec
will be updated to reflect the intended behavior.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39434>
2026-01-23 17:19:04 +00:00
Connor Abbott
fbc97b24d1 ir3: Fix branchstack max_waves calculation
There were a few missing things here:

- The max_waves can be odd even when wavesize_granularity = 2, unlike
  with registers, so we should not multiply by wavesize_granularity.
  This means we have to double branchstack_size to compensate.
- The actual limit was half what it should be on a6xx-a7xx, because when
  I originally calculated this computerator was using the wrong
  branchstack units. We need to double branchstack_size again.
- We should limit the branchstack based on max_branchstack and align it
  to 2 on a5xx+, as we do when programming the HW.
- On a8xx the limit is doubled compared to a7xx to compensate for losing
  wave128.

Fix all of these.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39468>
2026-01-23 16:54:32 +00:00
Connor Abbott
f5ea8b9a0b ir3: Split out max_branchstack and branchstack_size
One is the maximum size per wave and the other is the size per uSP (i.e.
"core"). They happened to be the same before, but actually they are
different limits in the HW.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39468>
2026-01-23 16:54:32 +00:00
Connor Abbott
c569fb5669 freedreno, ir3: Fix branchstack register definitions on a5xx+
The branchstack starts one bit lower, and we have to round to the next
even value instead of dividing by 2. This matches the actual HW
definition and will make the next commits simpler.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39468>
2026-01-23 16:54:31 +00:00
Samuel Pitoiset
b30f780c4f vulkan: update spec to 1.4.340
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39476>
2026-01-23 16:07:30 +00:00
Samuel Pitoiset
bb4157ad31 spirv: Update the JSON and headers
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39476>
2026-01-23 16:07:30 +00:00
Erik Faye-Lund
2c7dbf6477 pvr: prepare pvr_winsys_compute_ctx_create_info for multi-arch
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39348>
2026-01-23 12:40:22 +00:00
Erik Faye-Lund
a98e22d0f7 pvr: prepare pvr_winsys_render_ctx_create_info for multi-arch
Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39348>
2026-01-23 12:40:22 +00:00
Erik Faye-Lund
2736dd1220 pvr/srv: define per-arch winsys-ops
This moves the dispatching for each winsys function out to arch-specific
variants of the pvr_winsys_ops structure instead. This gets rid of some
needless complexity, and should make the code easier to maintain in the
long run.

Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39348>
2026-01-23 12:40:21 +00:00
Erik Faye-Lund
65f06dd25b pvr/srv: query full pvr_device_info on winsys init
This will be helpful in the next commit.

Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39348>
2026-01-23 12:40:20 +00:00
Erik Faye-Lund
67950d9021 pvr: avoid needless dispatches in powervr winsys
All uses of PVR_ARCH_DISPATCH in the powervr winsys were due to needing
to reach the kmd_stream.xml definitions. However, this isn't quite
enough to do this multi-arch; we also need to widen the interface to
pass extra context-switching information for future GPUs.

But, doing this with the per-arch infrastructure isn't a huge gain,
because all of this code runs during context-init. So let's walk things
a bit, and drop the dispatching here.

This does mean we need to stop using kmd_stream.xml definitions; I don't
think this is a huge loss; we're mostly open-coding the firmware
interface here anyway.

Unfortunately, the same is not the case in the pvrsrvkm winsys, because
the kernel driver used there doesn't abstract away the same HW details,
so we'll need to set up a bunch of things based on HW definitions. So
let's take a different approach there.

Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39348>
2026-01-23 12:40:20 +00:00
Erik Faye-Lund
2ebf1dcdc1 pvr: drop needless include
This isn't in use; let's drop it.

Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39348>
2026-01-23 12:40:19 +00:00
Danylo Piliaiev
1d6fe66989 tu: Fix typo in min bounds calculation of FDM scissors
Fixes: fec372dfa5 ("tu: Implement FDM viewport patching")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39461>
2026-01-23 11:44:43 +00:00
Tapani Pälli
6f020a4048 iris: implement steps to disable RHWO for Wa_14024015672
Disable RHWO by default for singlesample draws and for MSAA
draws if a drirc key is set (avoid perf hit if not needed).

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39404>
2026-01-23 11:10:07 +00:00
Tapani Pälli
f66ff97d58 drirc/anv: implement steps to disable RHWO for Wa_14024015672
Disable RHWO by default for singlesample draws and for MSAA
draws if a drirc key is set (avoid perf hit if not needed).

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39404>
2026-01-23 11:10:07 +00:00
Tapani Pälli
055a89cffb intel/genxml: bring some missing fields to gen125.xml
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39404>
2026-01-23 11:10:07 +00:00
Tapani Pälli
840e6e855b anv: add handling for Wa_14026600921
This is the Xe3 version of the earlier workaround.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39404>
2026-01-23 11:10:07 +00:00
Tapani Pälli
c75309c8f1 intel/dev: update mesa_defs.json from workaround database
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39404>
2026-01-23 11:10:07 +00:00
Juan A. Suarez Romero
d7ed5ba0e7 broadcom/ci: remove duplicate entries
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39458>
2026-01-23 10:44:30 +00:00
Juan A. Suarez Romero
d18aa3eee4 broadcom/ci: re-evaluate all the flakes
Review all the flakes and remove those that weren't seen for a long
time, and add also new ones.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39458>
2026-01-23 10:44:30 +00:00
Juan A. Suarez Romero
7c26cbabd2 broadcom/ci: rename rusticl job
Highlight this job will run the full list of piglit OpenCL tests.

It also increases the timeout for rpi4 GPU.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39458>
2026-01-23 10:44:29 +00:00
Juan A. Suarez Romero
b1aa16df81 broadcom/ci: re-adjust fractions
So the non-full jobs are executed under 15 minutes budget.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39458>
2026-01-23 10:44:29 +00:00
Juan A. Suarez Romero
8f5d6d2575 broadcom/ci: re-evaluate timeout tests
Check the tests marked as timeout to see if they aren't timeout anymore,
and add new ones if required.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39458>
2026-01-23 10:44:29 +00:00
Juan A. Suarez Romero
05d444bffc broadcom/ci: remove asan failures from rpi3 and rpi4
ASAN jobs are not executed anymore on these GPUs.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39458>
2026-01-23 10:44:29 +00:00