Typing of expressions
Opened this issue · 1 comments
laurentlb commented
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 be0
orvec2(0)
)