Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gl Expression auto wrapping #3

Open
edeetee opened this issue Nov 6, 2022 · 0 comments
Open

Gl Expression auto wrapping #3

edeetee opened this issue Nov 6, 2022 · 0 comments

Comments

@edeetee
Copy link
Owner

edeetee commented Nov 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant