Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Mesa uses NIR as intermediate representation for its drivers. Is that comparable?


Kind of. NIR is more oriented towards lowering and optimizing code for driver backends, as far as I know. SPIR-V is targeted towards the other end of the spectrum.


From my limited understanding of SPIR-V (since AMDGCNSPIRV is in essence SPIR-V), I would say yes.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: