Hacker News new | ask | show | jobs
by gmueckl 401 days ago
Long story short: you want to compose shaders at runtime and need a compilation pipeline for that. So what you really need is a C interface to the slang transpiler that is callable from rust.

Rewriting the whole slang pipeline in rust is a fool's errand.