@@ -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#
@@ -83,6 +83,7 @@ metal = [
8383 " dep:objc" ,
8484 " dep:parking_lot" ,
8585 " dep:profiling" ,
86+ " dep:raw-window-metal" ,
8687]
8788vulkan = [
8889 " naga/spv-out" ,
@@ -99,6 +100,7 @@ vulkan = [
99100 " dep:ordered-float" ,
100101 " dep:parking_lot" ,
101102 " dep:profiling" ,
103+ " dep:raw-window-metal" ,
102104 " dep:smallvec" ,
103105 " dep:windows" ,
104106 " windows/Win32" ,
@@ -281,6 +283,9 @@ core-graphics-types = { workspace = true, optional = true }
281283metal = { workspace = true , optional = true }
282284objc = { workspace = true , optional = true }
283285
286+ # backend: Metal + Vulkan
287+ raw-window-metal = { workspace = true , optional = true }
288+
284289# ########################
285290# ## Platform: Android ###
286291# ########################
0 commit comments