Re:Layers All the Way Down: The Untold Story of Shader Compi...
by gmueckl on Monday May 19, 2025 @05:15AM
(#44027856)
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.
Rewriting the whole slang pipeline in rust is a fool's errand.