@@ -60,7 +60,7 @@ unexpected_cfgs = { level = "warn", check-cfg = [
6060# exclude the Vulkan backend on MacOS unless a separate feature `vulkan-portability` is enabled. In response
6161# to these features, it enables features of platform specific crates. For example, the `vulkan` feature in wgpu-core
6262# enables the `vulkan` feature in `wgpu-core-deps-windows-linux-android` which in turn enables the
63- # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
63+ # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
6464# will enable the `vulkan` feature in `wgpu-core-deps-apple`. The only way to do this is unfortunately to have
6565# a separate crate for each platform category that participates in the feature unification.
6666#
@@ -85,6 +85,7 @@ metal = [
8585 " dep:parking_lot" ,
8686 " dep:profiling" ,
8787 " dep:smallvec" ,
88+ " dep:raw-window-metal" ,
8889]
8990vulkan = [
9091 " naga/spv-out" ,
@@ -101,6 +102,7 @@ vulkan = [
101102 " dep:ordered-float" ,
102103 " dep:parking_lot" ,
103104 " dep:profiling" ,
105+ " dep:raw-window-metal" ,
104106 " dep:smallvec" ,
105107 " dep:windows" ,
106108 " windows/Win32" ,
@@ -276,6 +278,9 @@ core-graphics-types = { workspace = true, optional = true }
276278metal = { workspace = true , optional = true }
277279objc = { workspace = true , optional = true }
278280
281+ # backend: Metal + Vulkan
282+ raw-window-metal = { workspace = true , optional = true }
283+
279284# ########################
280285# ## Platform: Android ###
281286# ########################
0 commit comments