hadronized / glsl

GLSL parser for Rust
190 stars 28 forks source link

SPIR-V transpiler #21

Open hadronized opened 6 years ago

hadronized commented 6 years ago

I implemented the first, naive (yet fully working) GLSL writer in less than 12 hours. I think it’s worth it to write a SPIR-V writer as well, and it shouldn’t take too much time.

It’s not my own priority right now (because I don’t use vulkan nor GL4.6 yet) but if someone provides me with a fully working patch, I’ll accept it for sure.

hadronized commented 5 years ago

The branch spir-v contains an untested initial implementation against shaderc.

The idea is to first test with that backend. We will write the semantics analysis later as it will depend on other features before being implementable.