diff options
| -rw-r--r-- | engine/src/shader.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/src/shader.rs b/engine/src/shader.rs index 7038ab7..1b368fb 100644 --- a/engine/src/shader.rs +++ b/engine/src/shader.rs @@ -549,6 +549,9 @@ pub enum ScalarType Uint16, Intptr, Uintptr, + Bfloat16, + FloatE4m3, + FloatE5m2, } impl ScalarType @@ -572,6 +575,9 @@ impl ScalarType SlangScalarType::Uint16 => Self::Uint16, SlangScalarType::Intptr => Self::Intptr, SlangScalarType::Uintptr => Self::Uintptr, + SlangScalarType::Bfloat16 => Self::Bfloat16, + SlangScalarType::FloatE4m3 => Self::FloatE4m3, + SlangScalarType::FloatE5m2 => Self::FloatE5m2, #[allow(unreachable_patterns)] _ => unimplemented!("conversion from slang scalar type"), } |
