fix(macos): macOS build fixes and MoltenVK improvements #69

Merged
Zephyron merged 1 commit from sylveondeko-patch into main 2025-12-12 22:49:55 +00:00
Collaborator

Summary

  • Switch to Ryujinx MoltenVK build compiled with older Metal SDK to avoid MSL 3.2 thread_scope_subgroup bugs that cause text rendering issues
  • Exclude Apple from GNU ld.bfd linker option (macOS uses different linker) - merged as default to avoid patching in CI
  • Handle VK_ERROR_FRAGMENTED_POOL in Vulkan descriptor pool allocation

Notes

The CMakeLists changes eliminate the need for this CI patch step:

- name: Patch CMakeLists for macOS Compatibility
  run: |
    sed -i.bak 's/if (NOT MSVC)/if (NOT MSVC AND NOT APPLE)/g' src/dedicated_room/CMakeLists.txt
    sed -i.bak 's/if (NOT MSVC)/if (NOT MSVC AND NOT APPLE)/g' src/citron/CMakeLists.txt
    sed -i.bak 's/if (NOT MSVC)/if (NOT MSVC AND NOT APPLE)/g' src/citron_cmd/CMakeLists.txt
## Summary - Switch to Ryujinx MoltenVK build compiled with older Metal SDK to avoid MSL 3.2 thread_scope_subgroup bugs that cause text rendering issues - Exclude Apple from GNU ld.bfd linker option (macOS uses different linker) - merged as default to avoid patching in CI - Handle VK_ERROR_FRAGMENTED_POOL in Vulkan descriptor pool allocation ## Notes The CMakeLists changes eliminate the need for this CI patch step: ```yaml - name: Patch CMakeLists for macOS Compatibility run: | sed -i.bak 's/if (NOT MSVC)/if (NOT MSVC AND NOT APPLE)/g' src/dedicated_room/CMakeLists.txt sed -i.bak 's/if (NOT MSVC)/if (NOT MSVC AND NOT APPLE)/g' src/citron/CMakeLists.txt sed -i.bak 's/if (NOT MSVC)/if (NOT MSVC AND NOT APPLE)/g' src/citron_cmd/CMakeLists.txt ```
- Switch to Ryujinx MoltenVK build compiled with older Metal SDK to avoid
  MSL 3.2 thread_scope_subgroup bugs that cause text rendering issues
- Exclude Apple from GNU ld.bfd linker option (macOS uses different linker)
- Handle VK_ERROR_FRAGMENTED_POOL in Vulkan descriptor pool allocation
Collecting scheduled this pull request to auto merge when all checks succeed 2025-12-12 16:20:45 +00:00
SylveonDeko scheduled this pull request to auto merge when all checks succeed 2025-12-12 17:59:35 +00:00
Zephyron deleted branch sylveondeko-patch 2025-12-12 22:49:56 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Citron/Emulator!69
No description provided.