Bump metal from 0.24.0 to 0.25.0 (#3793)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
dependabot[bot]andAndreas Reich authored and GitHub committed 2023-06-06 15:45:06 -04:00
1 parent dfa5400a78
commit 27efd50693
5 files changed
+20 -11

No files matched your search

+1 -1
View File
@@ -325,7 +325,7 @@ impl crate::Device<super::Api> for super::Device {
&self,
desc: &crate::TextureDescriptor,
) -> DeviceResult<super::Texture> {
use foreign_types::ForeignTypeRef;
use metal::foreign_types::ForeignType as _;
let mtl_format = self.shared.private_caps.map_format(desc.format);
+6 -1
View File
@@ -13,6 +13,11 @@ end of the VS buffer table.
!*/
// `MTLFeatureSet` is superseded by `MTLGpuFamily`.
// However, `MTLGpuFamily` is only supported starting MacOS 10.15, whereas our minimum target is MacOS 10.13,
// See https://github.com/gpuweb/gpuweb/issues/1069 for minimum spec.
// TODO: Eventually all deprecated features should be abstracted and use new api when available.
#[allow(deprecated)]
mod adapter;
mod command;
mod conv;
@@ -28,7 +33,7 @@ use std::{
};
use arrayvec::ArrayVec;
use foreign_types::ForeignTypeRef as _;
use metal::foreign_types::ForeignTypeRef as _;
use parking_lot::Mutex;
#[derive(Clone)]