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
Bevy needs to add padding to some structs to support WebGL2. We are currently doing this, but the best way to do it is a bit unclear. Worth investigating!
Relevant discussion: #6643 (comment)
The text was updated successfully, but these errors were encountered:
Rust supports const-time panics. If all buffer bindings that require proper padding must be derived by a proc-macro we control, it should be possible to check the alignment of the struct (with mem::align_of::<T>()) and cause a panic at compile time. For example by defining a dummy const which evaluates to something that can panic.
Bevy needs to add padding to some structs to support WebGL2. We are currently doing this, but the best way to do it is a bit unclear. Worth investigating!
Relevant discussion: #6643 (comment)
The text was updated successfully, but these errors were encountered: