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

Typing of expressions #466

Open
laurentlb opened this issue Oct 3, 2024 · 1 comment
Open

Typing of expressions #466

laurentlb opened this issue Oct 3, 2024 · 1 comment

Comments

@laurentlb
Copy link
Owner

We should propagate the type information and be able to know the type of any expression.

Some use-cases:

  • Allow structs with fields like "x", "ra", without having the swizzle-related transformations
  • Optimize expressions like 0. * x (it can be 0 or vec2(0))
@therontarigo
Copy link
Contributor

Issues that this may help close: #242 #290 #315 #376 #383 #395 #429

Another use-case: full function overloading support on the input side

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

2 participants