render-graph icon indicating copy to clipboard operation
render-graph copied to clipboard

Gl Expression auto wrapping

Open edeetee opened this issue 3 years ago • 0 comments

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

edeetee avatar Nov 06 '22 03:11 edeetee