[naga] Reorder the WGSL forms of Scalar types.

In the implementation of `TryToWgsl` for `Scalar`, order types within
each representation from smallest to largest. This is just a cleanup;
the change has no effect on behavior.
This commit is contained in:
Jim Blandy authored and Connor Fitzgerald committed 2025-04-02 18:27:19 -04:00
1 parent 6dcccc40a1
commit df5b45a1ab
1 file changed
+2 -2
+2 -2
View File
@@ -268,9 +268,9 @@ impl TryToWgsl for crate::Scalar {
use crate::Scalar;
Some(match self {
Scalar::F64 => "f64",
Scalar::F32 => "f32",
Scalar::F16 => "f16",
Scalar::F32 => "f32",
Scalar::F64 => "f64",
Scalar::I32 => "i32",
Scalar::U32 => "u32",
Scalar::I64 => "i64",