render-graph
render-graph copied to clipboard
Gl Expression auto wrapping
I want to parse the glsl expression and auto wrap type conversions to avoid boilerplate Currently this is minimally done with the glsl crate that allows identifier parsing. However, I really need to generate the actual type of the expression
Naga may be able to do this if I can figure out how to use it for a single expression https://github.com/gfx-rs/naga/blob/48e79388b506535d668df4f6c7be4e681812ab81/src/proc/typifier.rs