summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/src/shader.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/src/shader.rs b/engine/src/shader.rs
index c4bd709..7038ab7 100644
--- a/engine/src/shader.rs
+++ b/engine/src/shader.rs
@@ -572,6 +572,8 @@ impl ScalarType
SlangScalarType::Uint16 => Self::Uint16,
SlangScalarType::Intptr => Self::Intptr,
SlangScalarType::Uintptr => Self::Uintptr,
+ #[allow(unreachable_patterns)]
+ _ => unimplemented!("conversion from slang scalar type"),
}
}
}