Under the x86 Macs' feature profile, macOS 26's WindowServer asks Metal's private newTiledTextureWithDescriptor:offset:bytesPerRow: for 2D textures of 6 and 7 levels over a buffer (54x54 and 64x60 BGRA8Unorm at 256 bytes a row). The AMD and the Intel GPU make them, level 0 over the buffer's bytes and the other levels in their own memory. The host could make only one level, so the bundle answered nil and the device kept the M3's profile. TEXTURE_FROM_BUFFER already carries the level count in its descriptor. A descriptor of more than one level now goes to the platform's new tiled form (Buffer::new_tiled_texture, sel newTiledTextureWithDescriptor:offset: bytesPerRow:), which the Vulkan platform makes by metal2vulkan's Buffer::new_tiled_texture: one image of every level, level 0 kept in step with the buffer's bytes at command boundaries. One level still goes to the public form, which the tiled form makes alike. Before this, a descriptor of more levels reached the public form, whose refusal ended the host's process. The wire's doc says what such a texture is. Tests: the testkit decoder test holds the routing by levels; three decoder tests on the Vulkan platform hold WindowServer's 54x54 of 6 levels over a 16 KiB Shared buffer: level 0 reads the rows the CPU wrote after the texture was made, a blit's write of level 0 reaches the rows and leaves the 40 bytes of padding a row as they were, and generated mipmaps and a blit into level 3 read back without touching the buffer. The header's text changed, so the option ROM's record is rewritten; the ROM's bytes are the same.
18 lines
1.3 KiB
TOML
18 lines
1.3 KiB
TOML
# prebuilt/ReimsGraphics.rom, the option ROM reims-ctl carries for reims-vgpu's own device,
|
|
# and the sha256 of each file it was built from: make -C firmware prebuilt writes both on a
|
|
# Mac, and make -C firmware prebuilt-check checks them against the tree. Built with:
|
|
# Apple clang version 21.0.0 (clang-2100.4.1.1)
|
|
# Homebrew LLD 23.1.4 (compatible with GNU linkers)
|
|
rom = "749434f87f562895548f60681cd4cd8bf6cc0d0e967ac2fea297674426709161"
|
|
|
|
[sources]
|
|
"crates/reims-vgpu-graphics/include/reims_graphics_wire.h" = "283fedddd66687a0d4de0b3c17ace40a1171f39a4d2a33b15cb1788020ff0179"
|
|
"firmware/Makefile" = "d85b14a3b40cc59b7c07a9e3a3a273c257e81c5674963c70c3c45eb386e653d0"
|
|
"firmware/src/OptionRom.S" = "b910fe61a880580996a81134fba75900d3a9f48ca266e76fe2d6b8eb5a011eb9"
|
|
"firmware/src/ReimsGraphics.c" = "554751ff15edbdf69a038d5b2aefd8315b9c54610c090c0890d9c72b13dacdef"
|
|
"firmware/src/ReimsGraphics.h" = "83e3439b9baf9c06ee75c57537792770efa7a5cb07e22bf1fb47f6ffef7af169"
|
|
"firmware/src/ReimsGraphicsName.c" = "107e7e34240a3942dcd410b701768ab81013f42932783b7fa90fcefc3f815f19"
|
|
"firmware/src/ReimsGraphicsOutput.c" = "c35ed747684d90c2b195d95613d79111a9f7c0777654f5f027ed9951bdd7a112"
|
|
"firmware/src/ReimsGraphicsRom.S" = "7b0482515ec151272c609b8a2c343476c525aa1f916997df0999e5eeaf42474c"
|
|
"firmware/src/Uefi.h" = "d9b349424b645428c114d141b0ca7c4b92ccef573803e16eea501258eb5572ee"
|