Hacker News new | ask | show | jobs
by flohofwoe 1564 days ago
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.

1 comments

Naga (a community project) translates GLSL directly into WGSL, unlike other tools.
Ah alright, thanks for the correction :)