Hacker News new | past | comments | ask | show | jobs | submit login

Minor nitpick: this translation happens in separate libraries/tools which just make use of the SPIRVTools library for some SPIRV processing tasks, but not the actual translation to WGSL.

Tint (Google, implemented in C++): https://dawn.googlesource.com/tint/

Naga (Mozilla(?), implemented mostly in Rust): https://github.com/gfx-rs/naga

Both are a bit similar to SPIRV-Cross, except that they also support WGSL.




Naga (a community project) translates GLSL directly into WGSL, unlike other tools.


Ah alright, thanks for the correction :)




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

Search: