mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04: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:
committed by
Connor Fitzgerald
parent
6dcccc40a1
commit
df5b45a1ab
@@ -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