mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
[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:
1 parent
6dcccc40a1
commit
df5b45a1ab
1 file changed
+2
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user