hal/metal: Expose raw_device() from Metal Adapter (#9518)

This commit is contained in:
AdrianEddy authored and GitHub committed 2026-05-12 17:18:50 -07:00
1 parent 6208d80934
commit ed4d16e56c
1 file changed
+3
+3
View File
@@ -69,6 +69,9 @@ impl super::Adapter {
pub(super) fn new(shared: Arc<super::AdapterShared>) -> Self {
Self { shared }
}
pub fn raw_device(&self) -> &ProtocolObject<dyn MTLDevice> {
&self.shared.device
}
}
impl crate::Adapter for super::Adapter {