Open dhardy opened 4 years ago
Hello,
Yes, currently, it doesn’t show up because I don’t really know whether the glsl
crate is a good place to put such a transpiler in. glsl -> glsl
is trivial so it’s okay to have it there, but for anything else, I’m quite not sure. What do you think?
I don't know. I was just looking for a GLSL → SPIR-V compiler since the glsl-to-spirv
is deprecated and was wondering if there was a pure-Rust solution — but I see you use shaderc
anyway.
So far, yes. But the goal is to use pure Rust. I haven’t spent the time to write a semantic analysis phase but IIRC @jrmuizel has information about that.
The SPIR-V transpiler doesn't show up in the docs.
You probably want this in your
Cargo.toml
:It would also be nice to see a transpiling example included in the docs.