You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vector::rotate depends on matrix::rotation and matrix::sum_components depends on vector::sum_components. Some languages allow that (rust, javascript) while others don't (c++, python in some cases, java IIRC). What should we do in WESL?
The text was updated successfully, but these errors were encountered:
However, there is at least one case that is still illegal.
// foo.wesl
import bar::b;
const a = b + 1;
// bar.wesl
import foo::a;
const b = a + 1;
(a depends on b which depends on a)
Basic linker implementations don't need to check for this though. Generating broken code and letting naga/tint complain is fine.
vector::rotate
depends onmatrix::rotation
andmatrix::sum_components
depends onvector::sum_components
. Some languages allow that (rust, javascript) while others don't (c++, python in some cases, java IIRC). What should we do in WESL?The text was updated successfully, but these errors were encountered: