Commit Graph
5 Commits
Author SHA1 Message Date
Kevin Reid c150de0ba7 Add inherent pub const fn default() to various types.
The default functions are generated using a `macro_rules_attribute`
emulated derive macro, just fancy enough to work. It does not support
structs with generics, so `*Descriptor`s are left alone for now.

When Rust const traits stabilize, we can replace this with real const
traits.
2026-08-03 06:34:29 -04:00
Inner Daemons 1c42a95e37 Add naga-types crate (#9434) 2026-06-15 16:11:06 +02:00
Luo Zhihao fff3d25eb1 Docs: Clarify Unorm8x4Bgra and Unorm10_10_10_2 vertex formats (#9241) 2026-03-16 11:50:52 -04:00
Luo Zhihao da5a61be7b Fix typo in doc of VertexFormat::Sint16 (#8988) 2026-02-03 11:39:34 -08:00
Kevin Reid 2ca7ed99ba Break up wgpu-types/src/lib.rs into more files. (#8607) 2025-12-01 14:27:45 -05:00