Files
reims-vgpu/docs
Anees Iqbal f98bd174be ✅ Walk the SPI protocols and older releases' members
The register's check walked only the public protocols the bundle's classes
adopt, so it could not see the class of member macOS 13's Maps died on: a
member of Metal's SPI counterpart (MTLLibrarySPI for MTLLibrary), which
Metal's own objects adopt and the guest's frameworks send without asking. It
now walks each protocol's SPI counterpart too, and adds the members only
older guest releases' protocols carry, which the Mac it runs on lacks
(tests/protocol_members_releases.txt: macOS 11.7.11, 12.7.6, 13.7.8 and
26.7.2 against 27.0.1).

The register lists every SPI member: the forwarders as implemented, the
constant answers as Metal's with why, and the rest by what the AMD 5300M's
and the Intel 630's objects answer (measured with respondsToSelector:, macOS
26.7.1), counted by class family: pending where both answer (305, to be
answered as Metal's), absent where neither does (54) or they differ (6),
pending where the oracle's macOS lacks the member (14). A new kind, pending,
is checked as absent. The 31 members only older releases carry are absent:
no app pass on those releases showed a framework sending one, and the 4 of
MTLDeviceSPI are answered there by the device's own IOGPU base.

tools/protocol_dump.m dumps a Metal's protocols for the releases list, and
tools/oracle/oracle_spi_members.m asks a Mac's own objects for the verdicts
and what their getters answer. docs/lessons.md says what the trap was.
2026-11-08 12:13:20 -08:00
..