Commit Graph
3 Commits
Author SHA1 Message Date
Anees Iqbal b4b22c7b2c matrix: the per-commit matrix runner and the user-space instruction counter (WIP) 2026-11-17 06:19:57 -08:00
Anees Iqbal 4c6a29c409 Windows: dma-buf items unix-only; dirty pages, residency and rotation on every host
The runtime's first Windows check stopped at its module tree: dma_buf.rs
takes file descriptors (std::os::fd) unconditionally, while dirty_pages,
host_residency and texture/rotation were unix-only modules that every host's
code names.

- dma_buf.rs: every item that holds or makes a file descriptor (the
  sources, requests and chunks, the imports of dma-bufs and their pages,
  images bound to them, exported pages) is cfg(unix). The DRM-modifier image
  items that hold none (ModifierMemory, the explicit-plane and natural-layout
  checks, the format queries) stay on every host: their extension decides at
  run time.
- dirty_pages and texture/rotation hold no unix code: on every host.
- host_residency: the descriptor limit (RLIMIT_NOFILE), the dma-buf form of
  an import made again and its descriptor counts are unix-only; the pointer
  form and the sweeps stay on every host.
- devtools' scratch lock: the file identity on Windows is the volume serial
  number and file index (GetFileInformationByHandle) in place of dev/ino.

Verified: a step of the Windows check iteration (gnullvm, msi job).
2026-11-15 05:24:38 -08:00
Anees Iqbal 13b279df1b Squash 11203 commits of translator, runtime, and validation work
Rolls up everything since 43c46ac8 into a single commit. Its tree is
identical to the tree of private master at
b3c77f2d2b20a432be10591a2129547c10b1c24b.

- A Cargo workspace of five crates under crates/: metal2vulkan (the
  translator and the metal2vulkan command), metal2vulkan-runtime (the
  Metal API on Vulkan), metal2vulkan-air (the AIR front end),
  metal2vulkan-validation and metal2vulkan-devtools.
- Dual license: GPL-2.0-or-later OR LGPL-3.0-or-later.
- docs/: API, architecture, fast paths, how-to, Metal coverage,
  refusals, runtime porting and validation guides.

Private-Commit: b3c77f2d2b20a432be10591a2129547c10b1c24b
2026-10-11 20:09:13 +03:00