Rust Rewrite Index

Mesa

Mesa Off-screen rendering extension

Rust efforts

Original source check. The packaged source tree includes 111 files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

NAK shader compiler

Mesa’s NVK Vulkan driver for NVIDIA hardware uses the Rust NAK shader compiler. The compiler is one component of the broader graphics stack.

Evidence checked 2026-11-29

Project structure

API frontends translate graphics operations for drivers. Common infrastructure includes shader representations and compiler passes, while hardware backends implement device-specific behavior.

Inside the source tree

Source files by extension in this snapshot · C (3,302), C++ (724), Assembly (332), Python (288), Rust (111)

Selected components packaged from this source in Debian 13.

  • libosmesa6 · Mesa Off-screen rendering extension
  • libegl-mesa0 · free implementation of the EGL API -- Mesa vendor library
  • libglx-mesa0 · free implementation of the OpenGL API -- GLX vendor library
  • mesa-drm-shim · DRM shim libraries
  • libgl1-mesa-dri · free implementation of the OpenGL API -- DRI modules
  • mesa-libgallium · shared infrastructure for Mesa drivers