Hacker News new | ask | show | jobs
by genpfault 1310 days ago
Check out Mesa's llvmpipe[1]:

> The Gallium LLVMpipe driver is a software rasterizer that uses LLVM to do runtime code generation. Shaders, point/line/triangle rasterization and vertex processing are implemented with LLVM IR which is translated to x86, x86-64, or ppc64le machine code. Also, the driver is multithreaded to take advantage of multiple CPU cores (up to 32 at this time). It’s the fastest software rasterizer for Mesa.

[1]: https://docs.mesa3d.org/drivers/llvmpipe.html

1 comments

It is c++, then it is a definitive no-no. That's why I wrote my own in plain and simple C.