mesa/src/nouveau
Christian Gmeiner e201d4fa77
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
compiler/rust: Move VecPair from NAK to shared compiler crate
Move the VecPair<A, B> data structure from NAK's ir.rs to the shared
compiler Rust crate so it can be reused by other backends.

The fields are private, and NAK's ir.rs (now in a different crate)
needs to read and mutate the inner Vecs. Add a_as_slice(..),
a_as_mut_slice(..), b_as_slice(..) and b_as_mut_slice(..), and update
NAK's SrcsAsSlice and DstsAsSlice impls to call them. Returning slices
keeps callers from changing the length of one side without the other,
which is what VecPair is built to prevent.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41435>
2026-05-13 22:32:44 +00:00
..
ci nvk/ci: document recent flakes 2026-03-23 23:38:32 +00:00
compiler compiler/rust: Move VecPair from NAK to shared compiler crate 2026-05-13 22:32:44 +00:00
drm build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
drm-shim nouveau/drm-shim: implement get_zcull_info 2026-03-07 23:21:40 +00:00
headers nil: Add zcull support 2026-02-25 22:42:06 +00:00
mme nouveau/mme: Add unit tests for sharing between compute and 3D scratch registers 2025-10-11 16:58:24 +00:00
nil nil/modifiers: Clarify drm_format_mods_for_format rejecting modifiers for unsupported color formats 2026-04-30 23:32:07 +00:00
rust meson: add rust_global_args for flags for all the rust compilations 2025-12-20 00:13:19 +01:00
vulkan nvk: Disable compression on Turing 2026-05-12 19:19:54 +00:00
winsys nouveau/winsys: Fetch zcull_info on device create 2026-02-25 22:42:06 +00:00
.rustfmt.toml nouveau: Move .rustfmt.toml from NAK to src/nouveau/ 2024-04-08 20:28:43 +00:00
meson.build nouveau: Move codegen back to the src/gallium/drivers/nouveau 2025-05-28 21:01:26 +00:00