Fix FastMath packed struct

* Added missing legacy field (unused_algebra)
* Made struct correct size (u32 -> u8)
This commit is contained in:
antlilja 2024-01-23 21:48:12 +01:00
parent 7cb8813743
commit ec5a433fdf

View File

@ -7340,7 +7340,8 @@ const MemoryAccessInfo = packed struct(u32) {
_: u13 = undefined,
};
pub const FastMath = packed struct(u32) {
pub const FastMath = packed struct(u8) {
unsafe_algebra: bool = false, // Legacy
nnan: bool = false,
ninf: bool = false,
nsz: bool = false,