mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
d6c4d5c5c3
When the appropriate features are enabled, manually implement `serde::Serialize` and `serde::Deserialize`, such that the serialized form of `NonMaxU32::new(n).unwrap()` is the same as that of `n`. This eliminates the last trace of 1-based indices from Naga's snapshot tests, and aligns `std::fmt::Debug` with the serialized form. |
||
---|---|---|
.. | ||
in | ||
out | ||
example_wgsl.rs | ||
root.rs | ||
snapshots.rs | ||
spirv_capabilities.rs | ||
validation.rs | ||
wgsl_errors.rs |