Repository navigation
Conversation
Preserve compacted DMASK operands and map logical guest channels to physical texture channels. Add native GPU coverage for full, sparse and packed 16-bit stores.
Introduce Prospero visual identity
GT7 Metal bring-up, launcher and ARM64 build improvements
TxCsOffc
left a comment
There was a problem hiding this comment.
The core image-store fix itself (fbb75b4f) is great — I tested it in isolation on top of TxCsOffc/KyTx:main and verified:
kyty_emulatorcompiles and codesigns cleanly on macOS arm64.tools/test_metal_msl.shpasses, includingStorage image channel mapping: 3 GPU cases passed.
However, I cannot merge this PR in its current state because commit 77f81cb0 (Merge branch 'main' into fix/metal-image-store-components) pulled LuizDusky/Prospero's main into the PR branch. As a result, this PR currently brings in 33 commits across 64 files (+2869 / -345), including Prospero rebranding (README.md, docs/branding/prospero.svg, src/prospero/Prospero.swift) and unrelated GT7 / archive / FEX changes.
Requested changes
Please reset or rebase fix/metal-image-store-components cleanly onto TxCsOffc/KyTx:main so it contains only the scoped image-store change (MslEmitter.cpp, spirvEmitterImage.cpp, ShaderIR.h, tests/metalMslTests.mm). Once cleaned up, this is ready to merge right away!
Native Metal image stores now apply the inverse guest component mapping, with sparse DMASK operands expanded in logical channel order before writing. Packed D16 stores use the same mapping.
On a Mac mini M4, three real GPU cases verified full, sparse, and packed D16 storage writes in the Prospero fork. In Gran Turismo 7 1.71, the corrected 3D color table removed the red overlay over the World Map. The scene still has dark terrain and missing text, which are separate open rendering issues. The change is scoped to image stores and their regression tests.