@@ -59,7 +59,7 @@ unexpected_cfgs = { level = "warn", check-cfg = [
5959# exclude the Vulkan backend on MacOS unless a separate feature `vulkan-portability` is enabled. In response
6060# to these features, it enables features of platform specific crates. For example, the `vulkan` feature in wgpu-core
6161# enables the `vulkan` feature in `wgpu-core-deps-windows-linux-android` which in turn enables the
62- # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
62+ # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
6363# will enable the `vulkan` feature in `wgpu-core-deps-apple`. The only way to do this is unfortunately to have
6464# a separate crate for each platform category that participates in the feature unification.
6565#
@@ -82,6 +82,7 @@ metal = [
8282 " dep:metal" ,
8383 " dep:objc" ,
8484 " dep:profiling" ,
85+ " dep:raw-window-metal" ,
8586]
8687vulkan = [
8788 " naga/spv-out" ,
@@ -97,6 +98,7 @@ vulkan = [
9798 " dep:log" ,
9899 " dep:ordered-float" ,
99100 " dep:profiling" ,
101+ " dep:raw-window-metal" ,
100102 " dep:smallvec" ,
101103 " dep:windows" ,
102104 " windows/Win32" ,
@@ -274,6 +276,9 @@ core-graphics-types = { workspace = true, optional = true }
274276metal = { workspace = true , optional = true }
275277objc = { workspace = true , optional = true }
276278
279+ # backend: Metal + Vulkan
280+ raw-window-metal = { workspace = true , optional = true }
281+
277282# ########################
278283# ## Platform: Android ###
279284# ########################
0 commit comments