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
Since rust-lang/rust#80652, #repr(simd)] types on nightly Rust are now required to have a power-of-two size. This change breaks glam::core::storage::XYZ and everything that depends on it on SPIR-V targets:
error[E0075]: SIMD vector length must be a power of two
--> .cargo\registry\src\github.com-1ecc6299db9ec823\glam-0.12.0\src\core\storage.rs:12:1
|
12 | / pub struct XYZ<T> {
13 | | pub x: T,
14 | | pub y: T,
15 | | pub z: T,
16 | | }
| |_^
error: monomorphising SIMD type `XYZ<f32>` of non-power-of-two length
Whether or not non-power-of-two support for SIMD types is coming back is still being discussed, so it's possible that someone will re-add non-power-of-two support in the future. For now though, this issue would make it hard for downstream consumers like EmbarkStudios/rust-gpu to move to the latest nightly.
The text was updated successfully, but these errors were encountered:
Since rust-lang/rust#80652,
#repr(simd)]
types on nightly Rust are now required to have a power-of-two size. This change breaksglam::core::storage::XYZ
and everything that depends on it on SPIR-V targets:Whether or not non-power-of-two support for SIMD types is coming back is still being discussed, so it's possible that someone will re-add non-power-of-two support in the future. For now though, this issue would make it hard for downstream consumers like EmbarkStudios/rust-gpu to move to the latest nightly.
The text was updated successfully, but these errors were encountered: