2 ms·
Intel did. Obviously there is more to it than just setting a different target and hitting compile but it's also not a ridiculous question because of that measur
by zamadatix 3y ago
Intel did. Obviously there is more to it than just setting a different target and hitting compile but it's also not a ridiculous question because of that measure alone. It'd require enabling reduced security mode to load kexts or a custom kernel as well as a good amount of additional code for interfacing it with the macOS kernel interfaces but the majority of the code would be reused. Not trivial by any measure but also not an unreasonable approach in terms of total effort to get a working driver.
I'd be very surprised if anyone was interested in doing all that work given the security limitations and ability to just use Linux.
Edit: I forgot Metal is actually a userspace driver, you don't need to mess with the kernel side... though I can't remember if you still need to lower security to poke the right areas.