We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5362 - Mac OS ARM doesn't build Metal/Vulkan back-end/renderers
Summary: Mac OS ARM doesn't build Metal/Vulkan back-end/renderers
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.13
Hardware: ARM macOS 10.15
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-23 06:00 UTC by C.W. Betts
Modified: 2020-11-24 05:04 UTC (History)
0 users

See Also:


Attachments
Add Metal support for Apple Silicon Macs. (497 bytes, patch)
2020-11-23 06:00 UTC, C.W. Betts
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description C.W. Betts 2020-11-23 06:00:18 UTC
Created attachment 4534 [details]
Add Metal support for Apple Silicon Macs.

As it is, SDL2's built-in config on macOS for Metal excludes Apple Silicon. This is due to thinking that the 64-bit Mac platform would always be x86_64. My patch fixes this by using the catch-all of 64-bit platforms.
Comment 1 Sam Lantinga 2020-11-24 05:04:04 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/8dad26448e89