shader: lower Sonic Origins vertex launch masks on macOS #1427
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1427
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1427/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@yeraldinm on GitHub · 2026-10-11 18:35 UTC · original
yeraldinm:fix/macos-sonic-ngg-launch-mask→main· +193 −2 · 6 files · 1 commits · closed without mergingSonic Origins (
PPSA05324, 02.002.000) fails vertex pipeline creation on Apple M1 when MoltenVK rejects its NGG launch-mask prologue:Subgroup builtins are not available in this type of function.This adds an Apple-only compiler pass that folds the exact validity predicates derived from the compiler's initial vertex-count ballot. Vulkan vertex invocations represent valid input vertices, and the synthetic launch state has no primitive-export invocations. Direct count consumers and different masks remain intact; propagation and dead-code elimination then remove unused subgroup operations.
Validation:
Limits: the available Sonic copy contains APR-EMU modifications. Sonic still hits a later crash; this is a shader compilation fix, not a claim that Sonic is playable or that this PR alone enables macOS gameplay. The pass is not invoked on Windows or Linux; those platforms have not been locally built. No game binaries or captured game shaders are included. Developed with AI assistance.
Pull request closed