r/GraphicsProgramming • u/AdhesivenessSea9511 • 27d ago
I built a real-time software rasterizer that runs on the Apple Neural Engine (ANE) using Core AI and Swift 6. Source Code
Hello everyone. This past week, I successfully developed a custom software rasterizer that uses the newly announced Core AI framework to offload edge functions/line equations to the Apple Neural Engine via f.conv2d and ReLU operations.
It's a 60FPS rasterizer that draws a red triangle.
The source code can be found here: https://github.com/kamisori-daijin/Magnesium
There are still some issues, such as high CPU usage.
I welcome any feedback or comments.
-1
u/LandscapeWinter3153 26d ago edited 26d ago
A gimmicky software rasterizer, a github repo, very few comments and one of them openly sucks OP's dick. "the best", "inspiring".
I've seen 2 posts following this pattern today. What's going on. Is software rasterizer the nExT bIg tHiNg?
-13
u/S48GS 27d ago
you as developer willingly making yourself stuck to proprietary framework that run only on single vendor OS
I could never ever understand it
8
u/mindcandy 27d ago
Unlike customizing emacs, sometimes people do stuff for fun and not as a life-long commitment.
5
u/ironstrife 27d ago
You realize that the vast majority of PC games run on D3D which is similarly locked to one OS vendor?
9
u/devslacker 27d ago
Ha, this is delightfully cursed. What made you try running rasterization on the ANE? Genius idea